Chmod errors
Program generated files create errors due to improper chmod
I am on a hsphere server and I get this kind of error all the time. To bypass this problem with the auto update, I had to delete all the system generated folders then manually create them and chmod to 777.
The problem below is similar. . . to fix this I had to first delete the category dir, then manually create it, chmod 777 - re-upload the image and get the message below, then I had to delete the 8 dir, manually create it, chmod 777, then it worked.
Any ideas?
Thanks,
Tony
Warning: move_uploaded_file(/hsphere/local/home/hairrout/hairroute.com/yacks/images/category/8/news.png): failed to open stream: Permission denied in /hsphere/local/home/hairrout/hairroute.com/yacks/images/edit.php on line 260
Warning: move_uploaded_file(): Unable to move '/hsphere/local/home/hairrout/tmp/phpRRQVIK' to '/hsphere/local/home/hairrout/hairroute.com/yacks/images/category/8/news.png' in /hsphere/local/home/hairrout/hairroute.com/yacks/images/edit.php on line 260
The problem below is similar. . . to fix this I had to first delete the category dir, then manually create it, chmod 777 - re-upload the image and get the message below, then I had to delete the 8 dir, manually create it, chmod 777, then it worked.
Any ideas?
Thanks,
Tony
Warning: move_uploaded_file(/hsphere/local/home/hairrout/hairroute.com/yacks/images/category/8/news.png): failed to open stream: Permission denied in /hsphere/local/home/hairrout/hairroute.com/yacks/images/edit.php on line 260
Warning: move_uploaded_file(): Unable to move '/hsphere/local/home/hairrout/tmp/phpRRQVIK' to '/hsphere/local/home/hairrout/hairroute.com/yacks/images/category/8/news.png' in /hsphere/local/home/hairrout/hairroute.com/yacks/images/edit.php on line 260