Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Image Upload Fails


1 reply to this topic

#1 lambrite

  • Community Member
  • 5 posts
  • Real Name:Sarah Johnston

Posted 08 October 2003, 01:32

When I try to include an image with a product, I get the following error messages:

Warning: move_uploaded_file(/home/cypress/public_html/catalog/images/About to Croak_65.00.jpg): failed to open stream: Permission denied in /home/cypress/public_html/catalog/admin/includes/classes/upload.php on line 94

Warning: move_uploaded_file(): Unable to move '/tmp/phpoZrYjq' to '/home/cypress/public_html/catalog/images/About to Croak_65.00.jpg' in /home/cypress/public_html/catalog/admin/includes/classes/upload.php on line 94


My folder permissions are set to RWRWRW (666). I've also tried images without spaces in the name, and with significantly shorter names. Is there something I need to configure, that I am just missing?

Thanks,
Sarah

#2 iiinetworks

  • Community Member
  • 3,734 posts
  • Real Name:Matt

Posted 08 October 2003, 05:30

What are the permissions on /tmp? Try to upload a file to the images directory with the admin > Tools > File Manager and see if that works. If not, check that you have file_uploads rights in php.ini (admin > Tools > Server Info).

Hth,
Matt