coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: beermatmania on February 25, 2007, 10:43:00 AM

Title: Can't upload all of a sudden
Post by: beermatmania on February 25, 2007, 10:43:00 AM
Hope I got the right section.
All of a sudden I get the following error message when I try to upload images.

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_fbd93a84.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/********/public_html/gallery/upload.php on line 1197

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpTHpO3l' to './albums/edit/mHTTP_temp_fbd93a84.jpg' in /home/********/public_html/gallery/upload.php on line 1197

I have tried uploading a new upload.php and setting permissions correctly but to no avail.

I replaced my server name with ******** above for security.

Can anyone give me any ideas how to solve this?
Thanks in advance
Title: Re: Can't upload all of a sudden
Post by: Nibbler on February 25, 2007, 02:28:59 PM
Make sure the edit directory is writable.
Title: Re: Can't upload all of a sudden
Post by: beermatmania on February 26, 2007, 06:01:22 PM
Thanks, working fine now.
Appreciated.