Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Help!!! Error 404 - File not found


Recommended Posts

Hi all,


I am about to go life and in order to do this I changed the database and site folder names on my local computer. I then went on to change all mention of the old name in catalog/includes/configure and in admin/includes/configure.


I think this is the reason why things have gone wrong.


The site is working fine except that when I try and go to the categories or the manufacturers pages I get this error message:


Error 404 - File not found(http://localhost/smokeandpayless/catalog/product_info.php?products_id=48/OsCatalog


Now as I understand things, the offending bit is OsCommerce, as this is the old site folder name that I used. -


The thing is I just havn't got a clue what or where I should go and change it :(


Can anyone help me?

Link to comment
Share on other sites

Allready checked that out - just cannot see anything wrong in there.


Can you be more specific: what am I looking for?


Is there anywhere else I should be looking?


BTW, the categories seem to have sorted themselves out and are working fine now - could that have been a cache issue?


I've just had a look at cache control in admin, and found the cache for the categories box has been recreated around the time they got sorted.


On the other hand the cache for manufacturers says "file does not exist"


This should be it, no?


Can anyone tell me where I sort this out?

Link to comment
Share on other sites

Hi Jason, thanks for helping out :D


Here's my catalog/includes/configure file


Hope you can spot it!





 osCommerce, Open Source E-Commerce Solutions



 Copyright © 2002 osCommerce


 Released under the GNU General Public License



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

 define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be NULL for productive servers

 define('HTTPS_SERVER', 'https://localhost'); // eg, https://localhost - should not be NULL for productive servers

 define('ENABLE_SSL', false); // secure webserver for checkout procedure? This is the one to disable or enable SSL

 define('DIR_WS_CATALOG', '/smokeandpayless/catalog/'); // absolute path required

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');



 define('DIR_FS_DOCUMENT_ROOT', 'c:/phpdev/www/smokeandpayless');

 define('DIR_FS_CATALOG', 'c:/phpdev/www/smokeandpayless/catalog/');

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');



// define our database connection

 define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers

 define('DB_SERVER_USERNAME', 'xxxxxxxxx');

 define('DB_SERVER_PASSWORD', 'xxxxxx');

 define('DB_DATABASE', 'smokeandpayless_com');

 define('USE_PCONNECT', 'true'); // use persistent connections?

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'


Link to comment
Share on other sites


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

  • Create New...