null7238 Posted August 6, 2006 Share Posted August 6, 2006 So I just did a nice fresh install from Cpanel and for some reason I keep getting Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES. When I go to upload my images for a category/product, it shows the image missing. Here is a copy of my config, don't see anything wrong but please do point out something if you see that it is wrong. Also I'm running version 2.2-MS2. define('HTTP_SERVER', 'http://computechwpg.com/catalog'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://computechwpg.com/catalog'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'computechwpg.com'); define('HTTPS_COOKIE_DOMAIN', 'computechwpg.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); 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/'); Link to comment Share on other sites More sharing options...
Guest Posted August 6, 2006 Share Posted August 6, 2006 you have a line missing. Add: define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG.'images/'); Link to comment Share on other sites More sharing options...
null7238 Posted August 6, 2006 Author Share Posted August 6, 2006 you have a line missing. Add: define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG.'images/'); AWESOME! Thank you for the quick reply, worked perfectly! Link to comment Share on other sites More sharing options...
null7238 Posted August 6, 2006 Author Share Posted August 6, 2006 Edit: Got my problem fixed myself, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.