fjelsten Posted May 5, 2003 Posted May 5, 2003 I ran OSC (28/3 version) on a local IIS 5.1 without any major problem but since I have uploaded the file to my ISP, I get weird problems (errors) that I have a hard time fixing using CHMOD (since it's NT). For instance, I get "config file writeable" and I have a hard time changing that remotely (apart from commenting out the warning in header.php) - how do I do that, still leaving it editable for me? Also I get told "Error: Catalog images directory does not exist: /catalog/images/" although I know it exists on the server. My config.php file: <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.dktechgear.dk'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.dktechgear.dk'); define('HTTPS_CATALOG_SERVER', 'http://www.dktechgear.dk'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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', 'd:wwwdktechgear.dkadmin/backups/'); // define our database connection define('DB_SERVER', 'The IP address'); define('DB_SERVER_USERNAME', 'XXX'); define('DB_SERVER_PASSWORD', 'YYYY'); define('DB_DATABASE', 'ZZZZ'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> What is wrong? I don't need HTTPS as we don't accept credit cards BTW: DIR_FS_BACKUP, I had major problems setting it at document root/admin/backup so I had to put the physical address on my ISP's server (let's hope they never put me on the E: drive).
Ajeh Posted May 5, 2003 Posted May 5, 2003 Usually a chmod of 644 is what you need on the configure.php files.
fjelsten Posted May 5, 2003 Author Posted May 5, 2003 I'm on IIS (as I wrote) which means I cannot set CHMOD!
Ajeh Posted May 5, 2003 Posted May 5, 2003 Habit ... what can I say? 8) I am not a Windows user for osCommerce, but I thought there was a pretty good thread on setting up for Windows running around.
Ajeh Posted May 5, 2003 Posted May 5, 2003 A quick search on: chmod configure windows would reveal several helpful threads ... including one that tells you how to fix this ... :D
fjelsten Posted May 5, 2003 Author Posted May 5, 2003 I did - but I cannot change it via FTP. I'll have to ask my ISP to do it. If configure.php is set to Read-only, one could still read its contents (such as user/pw for the SQL host)? How can that be changed? Do you have any idea for the other stuff? * Error: Catalog images directory does not exist: /catalog/images/? * DIR_FS_BACKUP, I had major problems setting it at document root/admin/backup so I had to put the physical address on my ISP's server (let's hope they never put me on the E: drive). Any idea how to fix this?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.