Advanced search  

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

Pages: [1]   Go Down

Author Topic: Upload.php errors  (Read 3968 times)

0 Members and 1 Guest are viewing this topic.

crashnet

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
Upload.php errors
« 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:

Quote
Warning: 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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Upload.php errors
« Reply #1 on: September 01, 2004, 11:43:51 pm »

Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
Re: Upload.php errors
« Reply #2 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.

crashnet

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 69
Re: Upload.php errors
« Reply #3 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?

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Upload.php errors
« Reply #4 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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload.php errors
« Reply #5 on: September 02, 2004, 06:49:02 am »

The docs say
Quote
CHMOD the folders albums and include to 755 (or 777, depending on your server config)
Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.