knott Posted November 7, 2006 Posted November 7, 2006 Hi Ive trawled these forums and the Dutch, German & French counterparts for a solution but seem to find that others solutions do not work on my install. Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES Is displayed withing the admin > catalogue section and I'm unable to add images Its MS2.2 on linux I've checked the permissions on my images folder and have set them 777 my admin/configure.php reads as follows.... I notice others that are using MS2.2 seem to have a slighty different version? I've tried to define DIR_FS_CATALOG_IMAGES it partially works but by putting the images into the admin/images folder Any help much appreciated <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ 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', 'http://myweb.co.uk/shop'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://myweb.co.uk/shop'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'myweb.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'myweb.co.uk'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_ADMIN', '/admin/'); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // protected since inside docroot instead of outside to facilitate addon installer define('DIR_FS_WORK', '/home/MYSITE/public_html/shop/admin/_work/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'XXXXXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXXXX'); define('DB_DATABASE', 'XXXXXXXXX'); define('DB_TABLE_PREFIX', 'osc1_'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
Jack_mcs Posted November 7, 2006 Posted November 7, 2006 DIR_FS_CATALOG_IMAGES is not defined in your confiugre file. You can add it there or find the code that is calling it and change it to the one defined. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
knott Posted November 8, 2006 Author Posted November 8, 2006 Hi Jack, thanks for the response. I have tried defining DIR_FS_CATALOG_IMAGES but cant get it to place the images in a folder below the admin level of the folder structure. You mention "You can add it there or find the code that is calling it and change it to the one defined." I'm new to osc & php so can you explain in more detail about "change it to the one defined" The other thing I'm confused about is why this line would be missing from my admin/configure.php file in the first place? This was a fresh install but is it possible its got mixed versions? I've looked at other admin/configure.php files and even though ms2.2 they appear different. Also why does the configure.php have a date and version number that doesn't correspond to ms2.2? Sorry to bombard you with so many questions and thankyou for any help you can give.
Jack_mcs Posted November 8, 2006 Posted November 8, 2006 I'm sorry. I missed the admin part. The configure file you displayed isn't from your admin section. At least, it shouldn't be. It is is, then your problem is that you are using the wrong configure file. It if isn't, please post the correct one. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
knott Posted November 8, 2006 Author Posted November 8, 2006 Hi Jack, Many thanks for your help. For some reason that was my admin configure.php file. I have downloaded the ms2.2 zip and copied the admin configure.php from there & all is now working. Now I just need to get the images to look proportionaly correct. thanks again Graeme
knott Posted November 8, 2006 Author Posted November 8, 2006 Ok found out how to get the images looking ok using the setting in the admin pannel of height - 0 width 90. Great. Now I have another problem - Manufactuers logo images... the image uploads ok from the admin pannel... but for some reason its uploading it into the general images folder of my site - eg www.mysite.com/images when I need them to go to www.mysite.com/shop/images any ideas? Many thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.