coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: LiamWeb on December 16, 2005, 10:37:42 PM

Title: No Longer able to Upload Pictures
Post by: LiamWeb on December 16, 2005, 10:37:42 PM
I've been using Coppermine for half a year, but suddenly I'm unable to upload pictures. This is the error I get:

QuoteWarning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/*beep*/public_html/liam/gallery/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/*beep*/public_html/liam/gallery/upload.php on line 440

Warning: unlink(./albums/edit/.): Permission denied in /home/*beep*/public_html/liam/gallery/upload.php on line 453

Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/*beep*/public_html/liam/gallery/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/*beep*/public_html/liam/gallery/upload.php on line 440

Warning: unlink(./albums/edit/..): Permission denied in /home/*beep*/public_html/liam/gallery/upload.php on line 453

I've submitted a help desk ticket to my host as well, in case it's not a Coppermine problem. Is there any way this can be fixed? I'm not very PHP-savvy, so I don't know if it's just a simple problem I'm overlooking or not.  :)
Title: Re: No Longer able to Upload Pictures
Post by: Nibbler on December 16, 2005, 10:43:39 PM
CHMOD albums/edit to 777 or 755 with your FTP client and update your gallery.
Title: Re: No Longer able to Upload Pictures
Post by: LiamWeb on December 16, 2005, 10:53:51 PM
Wow, such fast response time! Thanks for the help.

I tried to CHMOD my albums/edit to both 777 and then 755, but I get this error in the log on my FTP client.

Quote550 Could not change perms on edit: Bad file descriptor 

I use CoreFTP Lite, if that helps any?  ???
Title: Re: No Longer able to Upload Pictures
Post by: Nibbler on December 16, 2005, 11:41:02 PM
Delete or rename the edit directory and make a new one. If that doesn't work then you'll need to ask your host to CHOWN that directory back to you. Whatever you do you need to update your gallery so this cannot happen again.
Title: Re: No Longer able to Upload Pictures
Post by: LiamWeb on December 17, 2005, 12:41:14 AM
It's fixed now. I got my host to CHMOD the file/folder.

Thanks for your help!  :)