Guest Posted December 29, 2004 Share Posted December 29, 2004 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? thanks Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2004 Share Posted December 29, 2004 the images directory needs to have 777 permissions Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2004 Share Posted December 29, 2004 thanks Mibble! that seems to have solved my problem :D Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2004 Share Posted December 29, 2004 no problem. and if you create subdirectories under images then those need to be 777. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.