KCM Posted August 14, 2019 Share Posted August 14, 2019 // 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. config.inc.php Link to comment Share on other sites More sharing options...
KCM Posted August 15, 2019 Author Share Posted August 15, 2019 any can help Link to comment Share on other sites More sharing options...
Larry Posted August 15, 2019 Share Posted August 15, 2019 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 More sharing options...
Recommended Posts