coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: crashnet on September 01, 2004, 09:17:33 PM

Title: Upload.php errors
Post by: crashnet on September 01, 2004, 09:17:33 PM
I recently upgraded to 1.3.2 last night and when testing the uploads, I get these errors and nothing uploads:

QuoteWarning: move_uploaded_file(./albums/edit/mHTTP_temp_950b2bac.jpg): failed to open stream: Permission denied in /home/papered/public_html/wallpapers/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpP6RXia' to './albums/edit/mHTTP_temp_950b2bac.jpg' in /home/papered/public_html/wallpapers/upload.php on line 1197

Could you help me figure out what is going on here?  Thanks! :)
Title: Re: Upload.php errors
Post by: kegobeer on September 01, 2004, 11:43:51 PM
Have you searched the forums yet?

http://forum.coppermine-gallery.net/index.php?topic=9178.0
Title: Re: Upload.php errors
Post by: crashnet on September 02, 2004, 01:39:51 AM
I did try searching the forums, but missed it because it was inside a thread called INSTALL.  I'll check my chmod settings.
Title: Re: Upload.php errors
Post by: crashnet on September 02, 2004, 01:46:32 AM
I did fix the error, but I wanted to make note that the problem was the EDIT file, but it was in fact CHMODed to 755.  I had to CHMOD it to 777 for it to work.  Thats why I didn't understand what was going on because it says in the documentation that 755 is fine.  Any idea why it actually isn't?
Title: Re: Upload.php errors
Post by: kegobeer on September 02, 2004, 02:24:12 AM
Each server has it's own particular settings.  Usually 755 works, but in your case 777 was needed to get everything working.
Title: Re: Upload.php errors
Post by: Joachim Müller on September 02, 2004, 06:49:02 AM
The docs say
QuoteCHMOD the folders albums and include to 755 (or 777, depending on your server config)
Joachim