coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: ibuki on June 08, 2004, 09:57:19 PM

Title: upload error
Post by: ibuki on June 08, 2004, 09:57:19 PM
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
Title: Re: upload error
Post by: Casper on June 09, 2004, 12:06:47 AM
Have you tried SILLY_SAFE_MODE.  See the docs, forsafe mode issues.
Title: Re: upload error
Post by: ibuki on June 09, 2004, 06:13:40 AM
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 ?
Title: Re: upload error
Post by: Joachim Müller on June 09, 2004, 09:38:10 AM
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 (http://coppermine.sourceforge.net/manual.php)").

GauGau
Title: Re: upload error
Post by: Casper on June 09, 2004, 12:45:46 PM
You need to edit your include/config.inc.php file, which is on your server.  See http://coppermine.sourceforge.net/manual.php#safe
Title: Re: upload error
Post by: 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.
Title: Re: upload error
Post by: Joachim Müller on June 10, 2004, 06:12:10 AM
post a link!

GauGau
Title: Re: upload error
Post by: ibuki on June 11, 2004, 09:09:34 PM
http://www.ibukis.de/fotowelt
Title: Re: upload error
Post by: ibuki on June 17, 2004, 06:30:46 AM
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
Title: Re: upload error
Post by: Joachim Müller on June 17, 2004, 09:23:51 AM
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