Guest Posted March 11, 2004 Share Posted March 11, 2004 Hi, I have just downloaded my site from a unix server to my own machine which is running Windows 2000 Professional to test various contributions before putting them 'live', and received the following message on my default page when viewed on the server on my machine: Error! Unable to determine the page link! The problem appears to be that in downloading the entire site the links have gone, and none of the pages within the categories, manufacturers, quick find, specials etc work anymore. If anyone has experienced this problem I would appreciate any help you could give. Thanks, Medaci. Link to comment Share on other sites More sharing options...
241 Posted March 12, 2004 Share Posted March 12, 2004 Did you remember to alter your configure.php files for catalog and admin to reflect the path changes 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. Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2004 Share Posted March 12, 2004 Hi Steve, Yes I've altered both configure. php files, as shown below: catalog/configure.php define('HTTP_SERVER', 'http://127.0.0.1'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://127.0.0.1'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/ActionLawn/catalog/'); // absolute path required 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', 'c:/inetpub/wwwroot/ActionLawn'); define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/ActionLawn/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', '127.0.0.1'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'alann'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> and admin configure.php define('HTTP_SERVER', 'http://127.0.0.1'); // eg, http://localhost or - https://localhost should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://127.0.0.1'); define('HTTPS_CATALOG_SERVER', 'https://127.0.0.1'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'c:/inetpub/wwwroot/ActionLawn'); // where the pages are located on the server define('DIR_WS_ADMIN', '/ActionLawn/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', 'c:/inetpub/wwwroot/ActionLawn/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/ActionLawn/catalog/'); // absolute path required define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/ActionLawn/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', '127.0.0.1'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', 'alann'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Still no joy. Medaci. Link to comment Share on other sites More sharing options...
241 Posted March 12, 2004 Share Posted March 12, 2004 Not sure about your use of 127.0.0.1 for the HTTP_SERVER Catalog catalog/configure.php define('HTTP_SERVER', 'http://127.0.0.1'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://127.0.0.1'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/ActionLawn/catalog/'); // absolute path required 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', 'c:/inetpub/wwwroot/ActionLawn/'); define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/ActionLawn/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', '127.0.0.1'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'alann'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> with no cookie information and a document root in the catalog I would guess that this is an early version of oscommerce prior to 2.2MS2 Admin define('HTTP_SERVER', 'http://127.0.0.1'); // eg, http://localhost or - https://localhost should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://127.0.0.1'); define('HTTPS_CATALOG_SERVER', 'https://127.0.0.1'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'c:/inetpub/wwwroot/ActionLawn/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/ActionLawn/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', 'c:/inetpub/wwwroot/ActionLawn/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/ActionLawn/catalog/'); // absolute path required define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/ActionLawn/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', '127.0.0.1'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'root'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', 'alann'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> if you see a // in admin modules payment then change define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/ActionLawn/catalog/'); // absolute path required to define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/ActionLawn/catalog'); // absolute path required 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. Link to comment Share on other sites More sharing options...
Guest Posted March 14, 2004 Share Posted March 14, 2004 Hi Steve, I tried that and no joy, still the same. If you can think of anything else to try I would be grateful, 'cos I'm tearing my hair out here and I don't look good bald, different but not good! Thanks Medaci Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2004 Share Posted April 2, 2004 try setting Use Search-Engine Safe URLs to False in Administration ... it worked for me Reply if it works blackshirt Link to comment Share on other sites More sharing options...
Guest Posted April 2, 2004 Share Posted April 2, 2004 Hi Blackshirt, The setting- Use Search-Engine Safe URLs is set to false. The error message itself comes from the file catalog/includes/functions/html_output.php, but how to correct it is still beyond me. If anyone has any clues I am still desparately seeking an answer. Thanks. Medaci Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.