msd Posted December 28, 2005 Share Posted December 28, 2005 Hi, I just installed OS commerce on my server. Everything went fine, however, when the installation is done, and I click the button labeled "Administration Tool", I get sent to a link labeled htt p://www.------.com/catalog/install/://www.------.com/catalog/admin/index.php (I removed my domain and replaced it with the -----) When I remove the "://www.------.com/catalog/install/" from the path, it sends me to the OScommerce control panel, however, every single link in the control panel ist just as hijinxed as the first one. SO I cant really get anything done. I have no idea how to correct this. Please help me guys Link to comment Share on other sites More sharing options...
♥Vger Posted December 28, 2005 Share Posted December 28, 2005 A common mistake is to use something like http://www.yourdomain.com for DIR_FS pathway in your configure.php files, when it should be the folder pathway to the root of your website e.g. /var/www/html/ Vger Link to comment Share on other sites More sharing options...
msd Posted December 28, 2005 Author Share Posted December 28, 2005 A common mistake is to use something like http://www.yourdomain.com for DIR_FS pathway in your configure.php files, when it should be the folder pathway to the root of your website e.g. /var/www/html/ Vger And where is this configure.php file? I found a configuration.php file in the catalog/admin folder, but nothing usable in the file Link to comment Share on other sites More sharing options...
msd Posted December 28, 2005 Author Share Posted December 28, 2005 and even when, during installation, I add nothing in the www and root entry fields, it still gives out the following link: htt p://www.----.de/catalog/install/:///admin/index.php Link to comment Share on other sites More sharing options...
kgt Posted December 28, 2005 Share Posted December 28, 2005 Post the contents of the following two files: includes/configure.php admin/includes/configure.php At the bottom of both of these files are lines pertaining to your database information. MAKE SURE you do not post your password and username, etc. Just leave those lines out. Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
msd Posted December 28, 2005 Author Share Posted December 28, 2005 includes/configure.php // 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.domino-design.de'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', 'www.domino-design.de/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', '/u/web/domi34/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', 'localhost'); // eg, localhost - should not be empty for productive servers admin/includes/configure.php 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', '/u/web/domi34/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'www.domino-design.de/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/u/web/domi34/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', 'www.domino-design.de/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/u/web/domi34/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 Link to comment Share on other sites More sharing options...
kgt Posted December 28, 2005 Share Posted December 28, 2005 The lines in bold are corrections. includes/configure.php: define('HTTP_SERVER', '://'); define('HTTP_SERVER', 'http://www.yourdomain.com'); define('DIR_WS_HTTP_CATALOG', 'www.domino-design.de/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); admin/includes/configure.php: define('HTTP_SERVER', '://'); define('HTTP_SERVER', 'http://www.yourdomain.com'); define('HTTP_CATALOG_SERVER', '://'); define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com'); define('DIR_WS_ADMIN', 'www.domino-design.de/catalog/admin/'); define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_WS_CATALOG', 'www.domino-design.de/catalog/'); define('DIR_WS_CATALOG', '/catalog/'); The rest looks okay to me. Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.