Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Help - Can't upload Product Images?


Recommended Posts

Hi, I recently installed osCommerce 2.2 on my server, everything went pretty smoothly, and everything works (so far to my knowledge)


except that i can't seem to upload my product images,


After filling in the product information form and clicking preview

the following errors appear at the top of the screen:


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


Warning: move_uploaded_file(): Unable to move '/tmp/php4IIbLJ' to '/home/pear/public_html/catalog/images/small.jpg' in /home/pear/public_html/catalog/admin/includes/classes/upload.php on line 94


After that when i post the product up there, it gives me the broken image pic.


I checked upload.php line 94... its unmodified and i guess should work...

not sure if its a CHmod problem but yah...


anybody know what is causing the error / a possible fix to this?


Link to comment
Share on other sites


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

  • Create New...