Upload.php errors Upload.php errors
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Upload.php errors

Started by crashnet, September 01, 2004, 09:17:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crashnet

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! :)

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

crashnet

I did try searching the forums, but missed it because it was inside a thread called INSTALL.  I'll check my chmod settings.

crashnet

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?

kegobeer

Each server has it's own particular settings.  Usually 755 works, but in your case 777 was needed to get everything working.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

The docs say
QuoteCHMOD the folders albums and include to 755 (or 777, depending on your server config)
Joachim