Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

graphics directories "not writeable"


jasonv

Recommended Posts

Posted

So, I've moved to a new hosting provider and now I'm having trouble uploading images to the product directory. When I create a new product and try to preview it, it says:

Warning: Unable to create '/home/<USER>/public_html/shop/images/<PRODUCT>.gif': Permission denied in /home/<USER>/public_html/shop/admin/includes/functions/general.php on line 783



Warning: Unable to move '/tmp/phpMDjdvT' to '/home/<USER>/public_html/shop/images/<PRODUCT>.gif' in /home/<USER>/public_html/shop/admin/includes/functions/general.php on line 783

Naturally, I look at the permissions for /home/<USER>/public_html/shop/images:

drwxrwxr-x   13 <USER> <USER>     4096 Sep 18 03:15 .

For that matter, it complains that the "graphs" directory isn't writeable when I look at the banner manager, and I can't view the render times because no matter what I say about the file and directory to write the log to, it gives me the same complaint.

 

Any ideas?

Posted

the images directory should be owend by nobody Not <user>

 

If you have telnet / ssh access...

cd /path/to/catalog/

chown -R nobody.nobody images

 

Even with the chmod and chown for the graphs directory, I still get the error. That isn't a big thing for me, so I haven't taken the time to dig into why.

 

-caz

  • 1 month later...

Archived

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

×
×
  • Create New...