forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: ian ditch on March 08, 2005, 12:38:08 am

Title: Strange things happening...Please Help
Post by: ian ditch on March 08, 2005, 12:38:08 am
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
Title: Re: Strange things happening...Please Help
Post by: donnoman on March 08, 2005, 03:41:35 am
have you made sure the "edit" directory exists; and it's chmod'ed properly as per the docs?
Title: Re: Strange things happening...Please Help
Post by: joelgomez on March 08, 2005, 08:39:33 pm
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!  ::)
Title: Re: Strange things happening...Please Help
Post by: ian ditch on March 09, 2005, 11:33:43 pm
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