Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error: File upload not saved.


pyella

Recommended Posts

Posted

I'm running OSCommerce MS2.2 under Linux and have set all images directories to 777.

Still I get this error message whereas an older OSCommerce implementation on the

same server doesn't have this problem.

If it ain't broke, don't touch it.

Posted

You probably have a misconfiguration in admin/includes/configure.php - I think the filesystem paths may be the culprit.

 

Matti

Posted

I've checked and double-checked but all FS entries in admin/includes/configure.php

seem to be perfect (all absolute paths and correct).

The absolute path is rather long, could it be that it's too long ?

 

Thanks,

 

Perry

If it ain't broke, don't touch it.

Posted

The issue has been resolved.

The configure.php was OK.

After 8 hours I figured out that the owner of the db and the

owner of the catalog/images directory were different.

I've fixed this with the following command in the webroot of the shop:

chown -Rh <user>:<group> *

where <user> is the owner of the shop-db and <group>

is his group.

 

Thanks for your help.

 

Perry

If it ain't broke, don't touch it.

  • 2 weeks later...
Posted

I'm having the same problem. One minute it was working and after about 10 products it just stopped uploading files. I can't figure it out and I can't do commands to the webroot (shared server hosting) either. Images folder is 777 and site is fine and MySQL is fine. What the...?

Archived

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

×
×
  • Create New...