Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help...product pictures don't upload


Drpuppetmaster

Recommended Posts

Posted

Hi everybody,

I know that maybe this will be an easy fix but i'm going nuts trying to fix it...

I installed OsCommerce and everything works great, but i'm experiencing two little problems, here they are:

 

- In the main catalog page i get a warning about the file "configure.php" being writeable, i chmodded it to 444 and the warning still remains.

 

- In the admin area i cannot upload any image for products or categories, i get this warning "Error: Catalog images directory does not exist: /catalog/images/", but obviously it exist, chmod is 777, and the path on configure.php is right, ( even if i've choosen "immagini_prodotto/" as the default directory for catalog images, created it, and chmod to 777 either, anyways this is the only one edit i made from the default folder structure ). Added to this while uploading a new product i get this other warning "Error: Destination does not exist."

 

I don't know very well OsCommerce and its architecture, but it looks like some functions in the admin area are looking for pictures and images directory in a location that is different from the one is defined in the "configure.php" .

 

I really hope some of you can help...thank u in advance!!

Posted
Hi everybody,

I know that maybe this will be an easy fix but i'm going nuts trying to fix it...

I installed OsCommerce and everything works great, but i'm experiencing two little problems, here they are:

 

- In the main catalog page i get a warning about the file "configure.php" being writeable, i chmodded it to 444 and the warning still remains.

 

- In the admin area i cannot upload any image for products or categories, i get this warning "Error: Catalog images directory does not exist: /catalog/images/", but obviously it exist, chmod is 777, and the path on configure.php is right, ( even if i've choosen "immagini_prodotto/" as the default directory for catalog images, created it, and chmod to 777 either, anyways this is the only one edit i made from the default folder structure ). Added to this while uploading a new product i get this other warning "Error: Destination does not exist."

 

I don't know very well OsCommerce and its architecture, but it looks like some functions in the admin area are looking for pictures and images directory in a location that is different from the one is defined in the "configure.php" .

 

I really hope some of you can help...thank u in advance!!

 

Is that problem really so hard to solve?!

Posted

1) Is the full directory path it's trying to use actually /catalog/images/ ? It sounds like you're missing some stuff ahead of that (e.g., /home/ACCOUNT/public_html/store), or else "catalog/" should be a relative path (catalog/images/), not absolute. Where is it set?

 

2) Does your host permit 777 permissions? On some badly set-up servers, you may have to give 'group' or even 'world' write permission to let Apache or PHP write to your directory, but I'd try 755 first. Some servers run security software that will deny access to world-writable directories and files. Try 775 if that doesn't work, before going back to 777.

 

Dunno why you would get a warning that a file is writable when its permissions are 444. Did you go back and confirm that your change to 444 "took"? For example, if you use cPanel > File Manager, you need to tick the boxes on or off, rather than filling in numerical values, or it won't update.

 

Is that problem really so hard to solve?!

 

So, how about being a little more helpful?

Archived

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

×
×
  • Create New...