forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: n2ueg on January 25, 2005, 09:05:48 pm

Title: Unable to upload photos
Post by: n2ueg on January 25, 2005, 09:05:48 pm
When either admin or user attempts to upload a file, the following errors appear:

Code: [Select]
Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/virtual/site221/fst/var/www/html/cpg/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/virtual/site221/fst/var/www/html/cpg/upload.php on line 440

Warning: unlink(./albums/edit/.): Permission denied in /home/virtual/site221/fst/var/www/html/cpg/upload.php on line 453

Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/virtual/site221/fst/var/www/html/cpg/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/virtual/site221/fst/var/www/html/cpg/upload.php on line 440

Warning: unlink(./albums/edit/..): Permission denied in /home/virtual/site221/fst/var/www/html/cpg/upload.php on line 453


If you add files to the file list and click continue, the error "0 uploads were successful. " appears.   Any suggestions?

I appreciate your insight on this problem.

Joe
Title: Re: Unable to upload photos
Post by: kegobeer on January 25, 2005, 10:39:06 pm
Please do an advanced search for ./albums/edit and start reading from the oldest to the newest posts.
Title: Re: Unable to upload photos
Post by: n2ueg on January 26, 2005, 11:26:52 am
thanks, I'll give it a shot...sometimes you just need to know where to look :-)
Title: Re: Unable to upload photos
Post by: Tranz on January 26, 2005, 11:29:57 am
For future reference, the error message itself is a good way to start a search.
Title: Re: Unable to upload photos
Post by: n2ueg on January 26, 2005, 11:41:06 am
You are right...newbies can use the advanced search too  :o  I did find the answer at:

http://forum.coppermine-gallery.net/index.php?topic=9456.0

And after deleting and recreating the edit directory and chmoding it to 777, things seem to be OK again.  I am not sure what caused it though.