ken
-
Posts
3 -
Joined
-
Last visited
Posts posted by ken
-
-
Thanks Larry for that fast answer.
I am working in windows environment. Apache was installed with WAMP. So my setting are as follow:
Root directory: " c:\wamp\www\ecom1".
I set the configuration file like this:
define('BASE_URI', 'C:\wamp\www\ecom1');
define('BASE_URL', 'localhost/ecom1/');
define('PDFS_DIR', BASE_URI . 'includes/pdfs');
define('MYSQL', BASE_URI . 'mysql.inc.php');
I copied all the downloaded files in the root directory (C:\wamp\www\ecom1) and moved the pdf directory and the mysql.inc.php file in the includes directory.
When I launch the application from the browser with the address : http://localhost/ecom1, I got a blank page.
-
I am trying to install the ex1 example on my computer but I have problem setting the working directories in the configuration file. Can somebody help?
Thanks in advance!
Ken
Configuration File
in Effortless E-Commerce with PHP and MySQL (2nd Edition)
Posted
Help me please!
I am trying to execute the "ex1" application on my local server but I only got a blank page.
My settings are as follow (I am working in Windows environment):
My Root directory: "C:\wamp\www\ecom1\"
Configuration file setting:
define('BASE_URI', 'c:\wamp\www\ecom1');
define('BASE_URL', 'localhost/ecom1');
define('PDFS, 'BASE_URI . 'includes/pdfs/');
define('MYSQL', 'BASE_URI . mysql,inc.php;);
when I type the address http://localhost/ecom1/, I obtain a blank page. Can somebody tell me where I made a mistake?
I would appreciate your help a lot.
Thank you!
Ken