Jump to content
Larry Ullman's Book Forums
Sign in to follow this  

Test file for the selected source file was not found.

Recommended Posts

// Are we live?
if (!defined('LIVE')) DEFINE('LIVE', false);

// Errors are emailed here:
DEFINE('CONTACT_EMAIL', 'you@example.com');

// ************ SETTINGS ************ //
// ********************************** //

// ********************************** //
// ************ CONSTANTS *********** //

// Determine location of files and the URL of the site:
define ('BASE_URI', 'C:\xampp\htdocs\ecommerce1\ex1\.');
define ('BASE_URL', 'http://localhost/ecommerce1/ex1/');
define ('PDFS_DIR', BASE_URI . 'pdfs/'); // Added in Chapter 5.
define ('MYSQL', BASE_URI . 'mysql.inc.php');

my file location C:\xampp\htdocs\ecommerce1\ex1

when run test file nothing show , error msg :Test file for the selected source file was not found.





Share this post

Link to post
Share on other sites

Hello! First, just so you know, these forums aren't that active. I check them three days a week myself. So going forward you should assume it'll take at least a couple of days to get a reply. As for your specific issue, I've been working with PHP for 20 years now and I've never heard of that error before. What is the exact URL you're loading when you see that error and what is the exact error? 

Finally, do keep in mind that this book assumes solid comfort with PHP and MySQL and builds upon that knowledge to create a couple of advanced e-commerce applications. If you're not truly comfortable with both technologies, you may want to start with a different book first. 

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...