Guest Posted January 19, 2005 Posted January 19, 2005 After installing Os Commerce successfuly, when I click a button of the control panel I get a page not found notice, but I noticed it writes the domain name again. Example. http://www.mydomain.com/catalog/admin and any link from the control panel set the following address: http://www.mydomain.com/catalog/admin/://w...0b8770847ee9916 If I delete the duplicated domain it works but then it happens again on next click Where could I change this link configuration? Also my server password for the admin folder doesn't work althou it was activated throgh the serveres control panel. Any suggestions. Thanks in advance
ozcsys Posted January 19, 2005 Posted January 19, 2005 After installing Os Commerce successfuly, when I click a button of the control panel I get a page not found notice, but I noticed it writes the domain name again. Example. http://www.mydomain.com/catalog/admin and any link from the control panel set the following address: http://www.mydomain.com/catalog/admin/://w...0b8770847ee9916 If I delete the duplicated domain it works but then it happens again on next click Where could I change this link configuration? Also my server password for the admin folder doesn't work althou it was activated throgh the serveres control panel. Any suggestions. Thanks in advance <{POST_SNAPBACK}> Your paths are controlled in your admin/includes/configure.php file The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
241 Posted January 19, 2005 Posted January 19, 2005 This is a path issue in your configure.php files Check the paths in your catalog/includes/configure.php file and in your admin/includes/configure.php file 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.
Guest Posted January 19, 2005 Posted January 19, 2005 This is a path issue in your configure.php files Check the paths in your catalog/includes/configure.php file and in your admin/includes/configure.php file <{POST_SNAPBACK}> How do I re configure these configure.php files?
Guest Posted January 19, 2005 Posted January 19, 2005 post them here without the database connection info and we can help you.
Guest Posted January 19, 2005 Posted January 19, 2005 post them here without the database connection info and we can help you. <{POST_SNAPBACK}> This is the catalog/includes/configure.php <?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', '://'); // 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', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', 'www.mydomain.com/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', '/nfs/cust/9/36/41/514639/web/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection and this is the .../catalog/admin/includes/configure.php <?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', '://'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', '://'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/nfs/cust/9/36/41/514639/web/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'www.mydomain.com/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/nfs/cust/9/36/41/514639/web/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', 'www.mydomain.com/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/nfs/cust/9/36/41/514639/web/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 I have swapped the domain name in this message. Thank you
Guest Posted January 20, 2005 Posted January 20, 2005 This is the catalog/includes/configure.php <?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', '://'); // 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', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', 'www.mydomain.com/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', '/nfs/cust/9/36/41/514639/web/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection and this is the .../catalog/admin/includes/configure.php <?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', '://'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', '://'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/nfs/cust/9/36/41/514639/web/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'www.mydomain.com/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/nfs/cust/9/36/41/514639/web/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', 'www.mydomain.com/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/nfs/cust/9/36/41/514639/web/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 I have swapped the domain name in this message. Thank you <{POST_SNAPBACK}> The problem was fixed adding "http" which was missing to this line: define('HTTP_SERVER', 'http://'); // eg, http://localhost - should not be empty for productive servers the admin/ includes/configure.php had two lines to be fixed: define('HTTP_SERVER', 'http://'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.