Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error: Catalog images directory does not exist: /catalog/images/


ali_300000

Recommended Posts

hi all...

First off i want to start by thanking everyone online that help poor helpless souls like my self when it comes to programing and what not.. i am very new to all this OScommerece and can really use help.

 

i have been doing well so far, in terms of customizing the beginings of my "online store" by search through the forum, yet i cant seem to find a answer for this "Error"

 

Error: Catalog images directory does not exist: /catalog/images/

 

all i seem to have found is clues for Linux based servers...( my server is running on Windows NT APP505 5.0 build 2195)

and tips regarding the configure.php file my DOC roots seem to be in order .....

 

but its still no help i still get the same error and cant view any images for my products

the folder is there and i can see on the admin side ... the "header.gif is in the same folder and it shows up but none of the pics for the products will..

 

i dont know what to do i have been surfing the net looking for an answer for three days with no luck...

Link to comment
Share on other sites

Double-check your permissions (refer to your docs) for your folders and make sure they're set correctly.

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Link to comment
Share on other sites

Double-check your permissions (refer to your docs) for your folders and make sure they're set correctly.

 

Kevin

hi thanks for responding....parden me but can you please be a little more descriptive, as i mentioned i am very new to OsCommerece ...

Link to comment
Share on other sites

It will be best if you 1st re-read your documentation that came with the osc. If you remember setting up your store, the documents explain what folders you need to set the permissions to. You need to double-check them.

 

I think I had a problem like that, if I remember correctly. The way I think I fixed my problem when the images wasn't showing up, I reread the part where it told me how to set the permissions on the directories, I did so,, and I think I still had the problem. But then I just deleted my images folder and re-uploaded it again.

 

Try the above and post back the results. I hope I can help, but I'm not an NT user and I'm not familar with it.

 

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Link to comment
Share on other sites

It will be best if you 1st re-read your documentation that came with the osc. If you remember setting up your store, the documents explain what folders you need to set the permissions to. You need to double-check them.

 

I think I had a problem like that, if I remember correctly. The way I think I fixed my problem when the images wasn't showing up, I reread the part where it told me how to set the permissions on the directories, I did so,, and I think I still had the problem. But then I just deleted my images folder and re-uploaded it again.

 

Try the above and post back the results. I hope I can help, but I'm not an NT user and I'm not familar with it.

Kevin

 

ok well i set the "image required" to "true" and now i get empty boxs where the pics need to be...

i then tried to delete the "images" folder and reinstalled it ..

but still no luck in admin i still get the "Error: Catalog images directory does not exist: /catalog/images/" message...and when i try and upload the pics it says " Error: Destination does not exist." in addition to the error above..

 

:wacko:

Link to comment
Share on other sites

ok.. try this...

 

go to

admin/includes/classes/upload.php around line 31 and change:

 

$this = null;

 

to:

 

unset ( $this );

 

then test it... if you still have the error... leave the file as it is, and this time, delete the /catalog/image/ folder... then reupload it.... in binary format... not ascii.

 

If that doesn't work.... post again. I setup quite a few osc's and I had this problem just one time... but I do remember this problem. It ticked me off for about 10 minutes or so until I figured out what the problem was. Now I need to remember what I figured out from before. Right now I'm saying to myself "I figured Nothing".. mannnn, it got me.. it was just 3 days ago too. oh well

 

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Link to comment
Share on other sites

I am having the same problem. Windows running IIS, so permissions are not the problem. I manually updated the products_image with a filename located in /catalog/images/ and it shows up correctly. This seems to be a problem with how the admin/includes/configuation.php is read or how the uploader works.

Link to comment
Share on other sites

I am having the same problem. Windows running IIS, so permissions are not the problem. I manually updated the products_image with a filename located in /catalog/images/ and it shows up correctly. This seems to be a problem with how the admin/includes/configuation.php is read or how the uploader works.

 

Problem solved. In admin/includes/configure.php....

 

// 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)

 

The above is the default. This was the problem.

Changed it to the absolute path, which happens to be a samba shared directory on another machine FOR ME.

You have to double slash because \ is an escape character normally. Shared drives require \\ which turns into \\\\

 

define('DIR_FS_DOCUMENT_ROOT', "\\\\10.0.0.5\data\\1 PROJECTS\MyDomain\\website\\");

 

You can verify that this problem is your problem by going to catalog/admin/

Tools->Define Languages

 

Where it will list a PHP error. Fixing your configuration also fixes this problem.

 

Cheers.

Link to comment
Share on other sites

I have the same problem , when i upload a picture to new product it uploads and shows on the preview then when i hit insert the image disappear and i get image doesnt exist, so frustrating specially that when i check my image folder in catalog, i find that the image has uploaded fine.

 

so problem isnt any of whats mentioned on here, i wonder if anyone has the same problem and how they resolved it,

whats more frustrating is that i have another site, and both sites were working fine, both had same mods and contributions added, but one is working fine and the other developed this problem when i add new product,, worth mentioning that when i add new category the categry and the image is fine, its only when i add new product,

 

i compared files on both working and probblem sites using beyond compare and cant locate any difference that can be casuing one to work and the other to give error. grateful for any suggestions,

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...