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
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
Also, have you tried creating a /tmp folder in your website root?
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
take a look at http://forum.coppermine-gallery.net/index.php?topic=1209 - maybe this helps...
GauGau
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? )
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 (http://httpd.apache.org/docs/).
GauGau