Help - Search - Members - Calendar
Full Version: Can't upload after upgrading
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
Butterfly Blues
After I followed the upgrade steps all the way up to ver 14, I try to upload an image in the add/edit product page and I get this error:

CODE
Warning: move_uploaded_file(/home/*username*/public_html/cart/images/uploads/mdcat03pl.jpg): failed to open stream: Permission denied in /home/*username*/public_html/cart/admin/filemanager/upload.php on line 104

Warning: move_uploaded_file(): Unable to move '/tmp/phpVYyShn' to '/home/*username*/public_html/cart/images/uploads/mdcat03pl.jpg' in /home/*username*/public_html/cart/admin/filemanager/upload.php on line 104


I have looked at line 104 and it just shows:
CODE
if (move_uploaded_file($_FILES['FCKeditor_File']['tmp_name'], $savefile)) {@chmod($savefile, 0644);


That file is where its supposed to be. Any suggestions?

Thanks!
Brivtech
It seems like a permissions problem that you have there.

There was another topic that discussed this before: http://www.cubecart.com/site/forums/index....oad+permissions
Butterfly Blues
Awesome! Reading that thread helped. When I was uploading the new files, I just forgot to set the images file permissions back to 777. Thanks for all your help!

~*~ Butterfly Blues ~*~
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.