Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Catalog images directory does not exist?


ossos

Recommended Posts

Posted

Hello all. I have been using Oscommerce for awhile now and we have a deadline coming up to finish up our online store. The store still needs alot of work however I did manage to run into an error that I am unable to find a resolution for.

 

Upon logging into oscommerce admin area- I am presented with this error after clicking on 'Catalog':

 

Error: Catalog images directory does not exist: /home/sunshine/public_html/catalog/images/

 

Now I have not modified any files that would of caused this I recall. I have verified the files that I thought may be causing this issue

 

catalog/includes/configure.php -> verified all locations are correct, the images were showing up fine before I just uploaded a product 3 days ago and the image uploaded fine and everything showed up great. However upon uploading one day the properties on the object image is

 

its mcafee antivirus suite the product, image is mcafeesuite2005.jpg or something which is in the images directory and the image is as well-

 

 

<<right click> image properties>> http://www.sunshinepc.net/catalog/images/

 

but the product that was uploaded a couple days ago is showing fine with <<right click> image properties http://www.sunshinepc.net/catalog/images/norton2005.jpg

 

 

 

so to me after searching for numerous resolutions on the www and consulting a bunch of friends. I am still stumped and would appreciate any help or guidance in finding a resolution for this problem. Below are my configure.php's which I read about on other sites could be causing a problem.... I have looked these over as well

 

 

 

**** /CATALOG/INCLUDES/CONFIGURE.PHP

 

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

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/sunshine/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxx');

define('DB_DATABASE', 'xxxxxxxxxxxxx');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

 

 

The image uploads and the dir is there and that the item is added to the cart but the file name is not added to the url for the image for that item

 

 

 

 

 

**** /ADMIN/INCLUDES/CONFIGURE.PHP

 

 

define('HTTP_CATALOG_SERVER', 'http://www.sunshinepc.net');

define('HTTPS_CATALOG_SERVER', 'https://www.sunshinepc.net');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'xxxxxxxxxxxxx'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/sunshine/public_html/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/sunshine/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/');

 

 

 

 

 

 

Thank you for your time!

Posted

Usually this error means that your 'images' folder is not writeable - so it doesn't appear to exist. Make sure that permissions are set to full for the images folder (777)

 

Vger

Posted

check your source. open the page and view the line of code for the image. in IE use view->view source

 

it only has your images directory. no file. cant tell you why but it has no file, only a path

"Chooca ma blah blah"

Posted
Usually this error means that your 'images' folder is not writeable - so it doesn't appear to exist.? Make sure that permissions are set to full for the images folder (777)

 

Vger - I am having the same problem.

I have checked with my hosts and the images folder is definitely set to 777.

 

The server has PHP 5 on it...would this make a difference?

Posted

Create new 'catalog' folder on your website oh and stick a new 'images' folder inside it

 

Job done bobs your uncle

Hey Hey im a monkey

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...