Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Cant upload anything, says impossible to move  (Read 3679 times)

0 Members and 1 Guest are viewing this topic.

zoggy

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Cant upload anything, says impossible to move
« on: July 21, 2004, 06:45:38 am »

File Name/URL Error Message
1. yum.jpg Impossible to move.

1.3.1, vb3 intergration.

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_5423ed1d.jpg): failed to open stream: Permission denied in /home/public_html/community/gallery/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpqWZwqb' to './albums/edit/mHTTP_temp_5423ed1d.jpg' in /home/public_html/community/gallery/upload.php on line 1197

in debug mode:
Notice: Undefined variable: forbidden in /home/public_html/community/gallery/bridge/vbulletin30.inc.php on line 305
- line 305 >     if (mysql_num_rows($result)) {
« Last Edit: July 21, 2004, 06:52:50 am by zoggy »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cant upload anything, says impossible to move
« Reply #1 on: July 21, 2004, 01:01:04 pm »

make sure you have a sub-folder named "edit" within the albums dir, make sure you have CHMODed both the albums dir and the "edit" sub-dir as suggested in the documentation that comes with coppermine (755 or 777, depending on your server config).

GauGau
Logged

alainp

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
"failed to open stream" even with all folders chmoded to 777...
« Reply #2 on: August 05, 2004, 06:43:46 pm »

I have a similar error :

Warning: copy(albums/officiel/A4244554_025.jpg): failed to open stream: Permission denied in /home/cpgreive/public_html/album/picEditor.php on line 159


And my folders are all 777 (the program manages to write temp_....jpg in "edit" folder).

Anyone has a recommendation
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cant upload anything, says impossible to move
« Reply #3 on: August 05, 2004, 06:55:50 pm »

did you read all the sticky threads (the ones with a pin icon) on this sub-board?

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Cant upload anything, says impossible to move
« Reply #4 on: August 05, 2004, 08:50:15 pm »

This sounds like a safe mode issue.  Read up on 'SILLY_SAFE_MODE' in the docs.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

alainp

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Cant upload anything, says impossible to move
« Reply #5 on: August 11, 2004, 08:50:51 am »

Thank you for your indications.

I have re-read the sticky threads, but I could not find the answer to my problem. ???

The solutions I found do not seem to apply : my directories CHMOD are to set 777 and SafeMode and safe_mode_gid are set to OFF in PHP.

Could you point out the appropriate post for me ?

Thanks in advance.
Logged

alainp

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Additionnal info : error while rotating image
« Reply #6 on: August 11, 2004, 10:07:05 am »

The error I mentionned above occurs when I try to rotate a picture. However, I just noticed that, in spite of what the error message states, the rotated picture is correctly saved !

If anyone knows a way to remove the error message, that would be nice...
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.