Jump to content
Larry Ullman's Book Forums

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.

1.png

2.png

3.png

config.inc.php

Link to comment
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. 

Link to comment
Share on other sites

 Share

×
×
  • Create New...