Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't configure OSC to work locally with easyPHP


videobus

Recommended Posts

I got it to partially work, but I can't figure out what to put in the configure.php to completely have it work.

MySQL is OK, displays correct items. Displays index.php text both in catalog and admin, but does not display the correct colors, images and icons. I can't click on anything without getting the "page not found" errors.

I have configured it as: HTTP_SERVER 'http://localhost'

 

Any help would be appreciated. Need to work off-line during development.

Link to comment
Share on other sites

The configure.php is the standard one unaltered except for:

 

define('HTTP_SERVER', 'http://localhost)

|

|

|

|

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'root);

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'mydatabase);

 

 

After much experimentation I discovered that the catalog must be in:

 

c:\program files\easyphp\www\mywebsitename\catalog\

 

At least I can now display index.php with the problems I described earlier, but when I click on anything, I get the '404 page not found' error.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...