tasa5 Posted February 12, 2007 Posted February 12, 2007 I have problems with installing my osCommerce. I managed to complete the installation succesfully BUT, when I click either Catalog or Admin tools button I am redirected to doubled address, like this: http://www.la-ram.co.yu/catalog/://www.la-...opping_cart.php :'( you can check it out on: www.la-ram.co.yu/catalog any address is doubled, and catalog is useless with links like this. Many thanks, Vojkan Tasic
Guest Posted February 12, 2007 Posted February 12, 2007 I have problems with installing my osCommerce. I managed to complete the installation succesfully BUT, when I click either Catalog or Admin tools button I am redirected to doubled address, like this: http://www.la-ram.co.yu/catalog/://www.la-...opping_cart.php :'( you can check it out on: www.la-ram.co.yu/catalog any address is doubled, and catalog is useless with links like this. Many thanks, Vojkan Tasic you have path errors in two files : /includes/configure.php admin/includes/configure.php Corrie
tasa5 Posted February 12, 2007 Author Posted February 12, 2007 you have path errors in two files :/includes/configure.php admin/includes/configure.php Corrie Yes, I know but how to fix them. The content of those configuration files is: This is /includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] 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, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', 'www.la-ram.co.yu/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', '/home/earam/web/www/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', 'mydb.la-ram.co.yu'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'earam'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'earam'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> And this is admin/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] 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, [url="http://localhost"]http://localhost[/url] - 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', '/home/earam/web/www/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'www.la-ram.co.yu/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/earam/web/www/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', 'www.la-ram.co.yu/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/earam/web/www/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', 'mydb.la-ram.co.yu'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'earam'); define('DB_SERVER_PASSWORD', '******'); define('DB_DATABASE', 'earam'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> What should I change?
Guest Posted February 12, 2007 Posted February 12, 2007 Yes, I know but how to fix them. http://www.oscommerce.com/forums/index.php?showtopic=193738
tasa5 Posted February 12, 2007 Author Posted February 12, 2007 http://www.oscommerce.com/forums/index.php?showtopic=193738 Thanx a lot!!!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.