pauline Posted July 28, 2004 Posted July 28, 2004 I installed with no problems. When I go to the admin index the links to "Configuration", "Catalog" etc. are wrong. Was this an install problem and would anyone know which area I need to fix? http://www.pauline.freesites.ws/catalog/admin/index.php For example the "Configuration" link goes to http://www.pauline.freesites.wsdir_ws_http...p/?selected_box =configuration&gID=1 and I get a "The page cannot be displayed" error. It looks like this part of the url may be wrong ... freesites.wsdir_ws_http_catalogconfiguration.php there definately needs to be a / after http://www.pauline.freesites.ws Any ideas, suggestions?
241 Posted July 28, 2004 Posted July 28, 2004 your configure.php file is wrong post the file admin/includes/configure.php and xxx out the database info from the bottom of the file. Your install has not gone to well as catalog gives the access denied for user message for the database connection. Warning: mysql_connect(): Access denied for user: '****@*****' (Using password: *****) in *:\******\www\*****\******\includes\functions\database.php on line 19 Unable to connect to database server! This indicates the wrong username DB_SERVER_USERNAME or password DB_SERVER_PASSWORD information in the configure.php files No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
pauline Posted July 28, 2004 Author Posted July 28, 2004 <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 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://www.pauline.freesites.ws'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.pauline.freesites.ws'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/pauline/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/pauline/public_html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/pauline/public_html/catalog/'); // absolute path required 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'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'xxx'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
pauline Posted July 28, 2004 Author Posted July 28, 2004 your configure.php file is wrong post the file admin/includes/configure.php and xxx out the database info from the bottom of the file. Your install has not gone to well as catalog gives the access denied for user message for the database connection. Warning: mysql_connect(): Access denied for user: '****@*****' (Using password: *****) in *:\******\www\*****\******\includes\functions\database.php on line 19 Unable to connect to database server! This indicates the wrong username DB_SERVER_USERNAME or password DB_SERVER_PASSWORD information in the configure.php files ::sigh:: O.K., I will start over. Thanks anyway ;)
241 Posted July 28, 2004 Posted July 28, 2004 define('DIR_FS_DOCUMENT_ROOT', '/home/pauline/public_html/catalog/'); change to define('DIR_FS_DOCUMENT_ROOT', '/home/pauline/public_html/catalog'); that is all that I see in that file. As you can access the admin copy the information contained here // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'xxx'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' to your catalog/includes/configure.php can you post your catalog/includes/configure.php No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
pauline Posted July 28, 2004 Author Posted July 28, 2004 Steve - I truly appreciate your help here as I see others don't get their questions answered at all. I am re-installing it on a different host. If all goes well I will let you know. If all goes as the other one did I will go back to the other one and post the info you requested. Thanks again, it really is appreciated!!!
241 Posted July 28, 2004 Posted July 28, 2004 Steve - I truly appreciate your help here as I see others don't get their questions answered at all. I am re-installing it on a different host. If all goes well I will let you know. If all goes as the other one did I will go back to the other one and post the info you requested. Thanks again, it really is appreciated!!! I dont think that you are far from being installed just some path issues and settings in the configure.php file for catalog. a lot of links in admin pull from catalog. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
pauline Posted July 28, 2004 Author Posted July 28, 2004 I got it set up on my other host. I should have used my good host to begin with. I always have problems installing things with freesites.ws. Anyway ... I'm off and running. Thanks again for your help Steve!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.