This is a discussion on configure.php questions within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I need to know if I've set up my configure files correctly. It works ok on my local machine, ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I need to know if I've set up my configure files correctly. It works ok on my local machine, however when I upload to my host, I get a few errors. The shipping, payment and order total modules don't look like they are pointed to the right path. I've set up my shop to be available at MyStore.com so I uploaded the files to the root of my site instead of having a catalog folder. I understand I need to change the config files but I don't see where I've screwed up. I am also getting 'catalog images directory does not exist' and I don't know how to fix it. admin/includes/configure.php is defined below define('HTTP_SERVER', 'http://www.mystore.com'); // eg, cPanelŽ - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'www.mystore.com'); define('HTTPS_CATALOG_SERVER', '/'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'www.mystore.com/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/'); // absolute path required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', 'www.mystore.com/'); // 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/'); includes/configure.php define('HTTP_SERVER', 'http://www.mystore.com'); // eg, cPanelŽ - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'www.mystore.com'); define('HTTPS_CATALOG_SERVER', '/'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'www.mystore.com/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/'); // absolute path required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', 'www.mystore.com/'); // 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/'); I'd really appreciate any help. Thanks in advance. |
|
#2
| ||||
| ||||
| This is incorrect: define('HTTP_CATALOG_SERVER', 'www.mystore.com'); Should be define('HTTP_CATALOG_SERVER', '/');
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Configure.php??? | ltldoc | osCommerce 2.2 Installation Help | 1 | 03-20-2006 09:58 PM |
| Help configure SSL | paulchow2k | osCommerce 2.2 Modification Help | 2 | 10-18-2004 07:06 PM |
| Configure.php problems | h4ppy_girl | osCommerce 2.2 Installation Help | 1 | 10-14-2004 03:48 AM |
| How to configure SSL? | brucek | osCommerce 2.2 Installation Help | 3 | 03-31-2004 02:30 PM |
| Configure.php and SSL | judoka | osCommerce 2.2 Modification Help | 1 | 05-29-2003 09:14 PM |