upload error upload error
 

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 error

Started by ibuki, June 08, 2004, 09:57:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ibuki

hi, at first: sorry abot my bad english :-)
the first 3 pictures uploads work,  but now every time i get this message:

Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 20168 is not allowed to access /srv/www/htdocs/web58/html/fotowelt/albums/userpics/10001 owned by uid 30 in /srv/www/htdocs/web58/html/fotowelt/db_input.php on line 258


If i try to make a batch upload i get this

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 20168 is not allowed to access albums/userpics/10001/ owned by uid 30 in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 203

Warning: opendir(albums/userpics/10001/): failed to open dir: Success in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 203

Warning: readdir(): supplied argument is not a valid Directory resource in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 204

Warning: closedir(): supplied argument is not a valid Directory resource in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 225


Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 20168 is not allowed to access albums/userpics/10002/ owned by uid 30 in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 203

Warning: opendir(albums/userpics/10002/): failed to open dir: Success in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 203

Warning: readdir(): supplied argument is not a valid Directory resource in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 204

Warning: closedir(): supplied argument is not a valid Directory resource in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 225


Please help me

Casper

Have you tried SILLY_SAFE_MODE.  See the docs, forsafe mode issues.
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

ibuki

Hi, the doc say:
SAFE MODE Restriction in effect. The script whose uid is 531 is not allowed to access... - The safe mode is switched on. Some functions in the upload systems can't be used. Usually your webhost has put safe mode in place (often not correctly configured). Try switching silly_safe_mode on.

How can i switch silly_safe_mode on ?

Joachim Müller

that's not what the doc says! The "doc" doesn't mean "doctor" nor does it mean "screen ouput", but it means "documentation" and comes with your coppermine package in the (surprise, surprise) docs folder. It can also be browsed online (at the very top of this screen, click "documentation").

GauGau

Casper

You need to edit your include/config.inc.php file, which is on your server.  See http://coppermine.sourceforge.net/manual.php#safe
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

ibuki

hmm, every time i edit the file and copy "define('SILLY_SAFE_MODE', 1);" in the config.inc.php nothing happens. next time i open the file my changes are not their.

Joachim Müller



ibuki

ok, it works, but not in BatchMode

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 20168 is not allowed to access albums/userpics/10001/ owned by uid 30 in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 203

Warning: opendir(albums/userpics/10001/): failed to open dir: Success in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 203

Warning: readdir(): supplied argument is not a valid Directory resource in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 204

Warning: closedir(): supplied argument is not a valid Directory resource in /srv/www/htdocs/web58/html/fotowelt/searchnew.php on line 225

Joachim Müller

Quote from: ibuki on June 09, 2004, 07:28:31 PM
hmm, every time i edit the file and copy "define('SILLY_SAFE_MODE', 1);" in the config.inc.php nothing happens. next time i open the file my changes are not their.
Try to find out why your changes aren't being saved. Download include/config.inc.php from your webserver to your client, apply the changes to the local copy, rename the version on the webserver to config.inc.old.php and upload the version on your client back to the webserver.

GauGau