Guest Posted May 27, 2006 Posted May 27, 2006 Error: Catalog images directory does not exist: /catalog/images/ I have made sure the images folders in both the catalog and the admin have been set to 777. The previews show OK on the products that are there, and the product_info pages show the products OK. I can't upload though and wonder where this message is coming from. Here is my admin configure.php file: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.god-inspired.org'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.god-inspired.org/catalog'); define('HTTPS_CATALOG_SERVER', 'http://www.god-inspired.org/catalog'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/public_html/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/');
cujimmy Posted May 27, 2006 Posted May 27, 2006 Sounds curious but where are you seeing the error? Is it in an FTP programme?
Guest Posted May 30, 2006 Posted May 30, 2006 I am seeing this right on top of the admin section when I am in the add a product area. It appears in red. When I bring up one of the test products, the pictures show fine - so I know the image folder is there.
cujimmy Posted May 31, 2006 Posted May 31, 2006 Sorry I took so long to reply. Is it a Fantastico installation, by any chance? (I love cPanel but it's always safer to install osC manually). I think I'd start out by following the instructions on the comments that we all ignore! Where it says, "absolute path required," why not stick in the full path and see if that fixes it? In particular, the DIR_FS_ADMIN, probably needs to be be more completely defined. It should (I hope)! be something like: define('DIR_FS_ADMIN', '/home/public_html/catalog/admin/'); // absolute path required Check also that this is as it should be (i.e. without the "catalog"): define('HTTP_CATALOG_SERVER', 'http://www.god-inspired.org'); Here's a copy of one of my own admin/configure.php files (non ssl - shared server, hence "user_name" bits): define('HTTP_SERVER', 'http://www.domain_name.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.domain_name.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/user_name/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/user_name/public_html/catalog/admin/'); // absolute path required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/user_name/public_html/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/');
sag15 Posted October 27, 2008 Posted October 27, 2008 Hi, I am having the same problem. I get the following error message: "Error Error: Catalog images directory does not exist: /home/html/osc/images/" Here is my configure.php file (which is located at /home/html/osc/includes/) : define('HTTP_SERVER', 'http://saboryhogar.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTPS_SERVER', 'https://saboryhogar.com'); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'saboryhogar.com'); define('HTTPS_COOKIE_DOMAIN', 'saboryhogar.com'); define('HTTP_COOKIE_PATH', '/osc/'); define('HTTPS_COOKIE_PATH', '/osc/'); define('DIR_WS_HTTP_CATALOG', '/osc/'); define('DIR_WS_HTTPS_CATALOG', '/osc/'); 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/html/osc/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); I still can't figure out what is causing this error to still happen.
morgainebrigid Posted November 18, 2008 Posted November 18, 2008 I have been wrestling with this dilemna for a long time. Finally I just uninstalled/ reinstalled OSCommerce and it works fine. I had installed it before my domain name attached itself to the site; all the file paths changed after that, and I think that confused it.
webcre Posted December 17, 2008 Posted December 17, 2008 :) SOLVED :) i got exact problem when uploading osc from local machine to webserver, the admin page displayed 'error: catalog\images directory does not exist' when i did go for Catalog section. i suggest u all guys whosoever suffering from this problem to have a look the below standardized code for catalog/admin/includes/configure.php file and do make change accordingly: <?php define('HTTP_SERVER', 'http://www.******.***'); // your domain name define('HTTP_CATALOG_SERVER', 'http://www.******.***'); // your domain name define('HTTPS_CATALOG_SERVER', 'https://www.******.***'); // your domain name define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '******'); // your local path. (eg, /usr/local/apache/htdocs) - where your catalog folder is located on the server - very important: path shouldnt end with / 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', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_CACHE', 'tmp/'); // its better to create if not exist define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '******'); // your database username define('DB_SERVER_PASSWORD', '******'); // your database password define('DB_DATABASE', '******'); // your database name define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> i recommend you to copy and replace with the above configure file to one of yours, and just make changes on '******' to your settings. :) do enjoy!!!
nabler Posted April 1, 2010 Posted April 1, 2010 :) SOLVED :) i got exact problem when uploading osc from local machine to webserver, the admin page displayed 'error: catalog\images directory does not exist' when i did go for Catalog section. i suggest u all guys whosoever suffering from this problem to have a look the below standardized code for catalog/admin/includes/configure.php file and do make change accordingly: <?php define('HTTP_SERVER', 'http://www.******.***'); // your domain name define('HTTP_CATALOG_SERVER', 'http://www.******.***'); // your domain name define('HTTPS_CATALOG_SERVER', 'https://www.******.***'); // your domain name define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '******'); // your local path. (eg, /usr/local/apache/htdocs) - where your catalog folder is located on the server - very important: path shouldnt end with / 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', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_CACHE', 'tmp/'); // its better to create if not exist define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '******'); // your database username define('DB_SERVER_PASSWORD', '******'); // your database password define('DB_DATABASE', '******'); // your database name define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> i recommend you to copy and replace with the above configure file to one of yours, and just make changes on '******' to your settings. :) do enjoy!!! didn't work boss.....please give me other way.....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.