Strange thins have started to happen on my site, When i create a new album and then try to upload pictures i get the following at the top of the screen
Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 440
Warning: unlink(./albums/edit/.): Permission denied in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 453
Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 440
Warning: unlink(./albums/edit/..): Permission denied in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 453
And then if i continue to try to upload a picture it will fail with the following message..
Warning: move_uploaded_file(./albums/edit/mHTTP_temp_481b998c.jpg): failed to open stream: Permission denied in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 1197
Warning: move_uploaded_file(): Unable to move '/tmp/phpSKejuz' to './albums/edit/mHTTP_temp_481b998c.jpg' in /home/fhlinux199/b/british-babes.co.uk/user/htdocs/upload.php on line 1197
This has always worked in the past and i have not recently changed anything, the only thing that has changed is that a site visitor has uploaded their picture after creating their own category, but i do not know if this is related
Please help
have you made sure the "edit" directory exists; and it's chmod'ed properly as per the docs?
I had the same problem a few weeks ago, after a recent upgrade to Coppermine latest version. The way I solved it was simple, I verified the CHMOD of "ALBUMS" and "EDIT" folders. Both should be 777 or 755.
Good luck! ::)
Cheers for your pointers, Foe some reason the Index.html file disappeared from the edit file, Have uploaded this file back to this folder and all is now working fine