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: Impossible to move uploaded file  (Read 4562 times)

0 Members and 1 Guest are viewing this topic.

Apocalymon

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Impossible to move uploaded file
« on: February 14, 2004, 12:28:40 am »

I have a problem with uploading Files....

here's the error message:

Impossible to move bwg.jpg to albums/userpics/ !

File: /home/www/htdocs/flamon.de/gallery/db_input.php - Line: 259



Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpQpP8Ha) is not within the allowed path(s): (/home/www/htdocs/flamon.de/.) in /home/www/htdocs/flamon.de/gallery/db_input.php on line 258

Warning: move_uploaded_file(/tmp/phpQpP8Ha) [function.move-uploaded-file]: failed to create stream: Operation not permitted in /home/www/htdocs/flamon.de/gallery/db_input.php on line 258

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpQpP8Ha' to 'albums/userpics/bwg.jpg' in /home/www/htdocs/flamon.de/gallery/db_input.php on line 258
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Impossible to move uploaded file
« Reply #1 on: February 14, 2004, 08:56:30 am »

Make sure you have CHMODed your albums dir as stated in the readme that comes with coppermine. If your server is running in safe_mode, try enabling SILLY_SAFE_MODE.
Further reading: http://coppermine.sourceforge.net/demo/docs/index.htm#safe

GauGau
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Impossible to move uploaded file
« Reply #2 on: February 14, 2004, 09:28:49 am »

Also, have you tried creating a /tmp folder in your website root?
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Apocalymon

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Impossible to move uploaded file
« Reply #3 on: February 14, 2004, 01:42:45 pm »

I have chmod the folders... but same error...
Silly_safe mode enable... same error...
tmp folder in webroot created... same error


:/

It's weird, because on this server, other user run a gallery with php upload and there it works
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Impossible to move uploaded file
« Reply #4 on: February 14, 2004, 03:01:34 pm »

take a look at http://forum.coppermine-gallery.net/index.php?topic=1209 - maybe this helps...

GauGau
Logged

Apocalymon

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Impossible to move uploaded file
« Reply #5 on: February 15, 2004, 02:44:02 am »

hmm.. so I can't do anything about this on the server I am now...

hmm is there a possibility to change the tmp path ( in the CPG script or on providers site? )
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Impossible to move uploaded file
« Reply #6 on: February 15, 2004, 08:47:16 am »

the webhost/server admin surely can, but as your webhost has limited your abilities/permissions on your server it's doubtfull you're allowed to do that. Maybe you can modify it with a .htaccess file - please do some search on the apache manual.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.