Fred_treptow Posted January 8, 2005 Posted January 8, 2005 Hello, I just got osCommerce loaded this morning, thanks from help to members here. Everything seems to look okay when it loads now, but when I select a product, from the site it comes back product not found, and when I try to set up a user account it does not put me into the database??? I am using mysql and with no special permissions in it. should the user name be root??? I am very confused. any help is greatly appreciated. Thanks Fred
Xorcist Posted January 11, 2005 Posted January 11, 2005 I have exactly the same problem: - Main catalog page looks good, but: - Clicking on a product picture results in "Product not found". - Registering doesn't work: Clicking on "continue" at form always fails but without an error. - Clicking on a product review picture DOES work. - Admin page is always completely blank. Please help. Thanks. Hello, I just got osCommerce loaded this morning, thanks from help to members here. Everything seems to look okay when it loads now, but when I select a product, from the site it comes back product not found, and when I try to set up a user account it does not put me into the database??? I am using mysql and with no special permissions in it. should the user name be root??? I am very confused. any help is greatly appreciated. Thanks Fred <{POST_SNAPBACK}>
boxtel Posted January 11, 2005 Posted January 11, 2005 I have exactly the same problem:- Main catalog page looks good, but: - Clicking on a product picture results in "Product not found". - Registering doesn't work: Clicking on "continue" at form always fails but without an error. - Clicking on a product review picture DOES work. - Admin page is always completely blank. Please help. Thanks. <{POST_SNAPBACK}> suggest you both put your configure.php files up here without the userid's and passwords Treasurer MFC
Xorcist Posted January 11, 2005 Posted January 11, 2005 suggest you both put your configure.php files up here without the userid's and passwords <{POST_SNAPBACK}> Okay, here it is... catalog configure.php : // 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 empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://localhost'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/oscommerce-2.2ms2/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/oscommerce-2.2ms2/catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); 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_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' admin configure.php : // define our webserver variables// FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://localhost/oscommerce-2.2ms2/catalog'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'C:/Program Files/Apache Group/Apache2/htdocs'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/oscommerce-2.2ms2/catalog/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/oscommerce-2.2ms2/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); 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_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); So the URL to the catalog should be: http://localhost/oscommerce-2.2ms2/catalog...ate_account.php And the URL to the admin should be: http://localhost/oscommerce-2.2ms2/catalog/admin/index.php
Xorcist Posted January 11, 2005 Posted January 11, 2005 So I fixed the problem with the admin page... it was due to using php5. The problem showed up in Apache2's error.log. I fixed it by commenting out line 31 in upload.php. Now admin works. However I still have no idea why I can't: - register - view products - switch languages or currencies Any help very gratefully appreciated.
Xorcist Posted January 11, 2005 Posted January 11, 2005 So I fixed the remaining problems like this: - Delete PHP5 - Install latest PHP4 - Fiddle with PHP4 until is supports old_passwords Then everything works like magic...! The moral of this story ... the osCommerce download page should warn people not to try and use PHP5...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.