basedir restrictions basedir restrictions
 

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

basedir restrictions

Started by Goodnight, November 16, 2003, 01:34:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Goodnight

Hello I get the following error.

I read through this board and find many hints to solve this problem, but this did not work.

The first quote shows you the error message i receive.
The second quote phpinfo()

And the last the first part of my config file. I try to add this line

define('SILLY_SAFE_MODE', 1);

in a lot of ways, because the helping guide is not very precisely.

Now the question where the fault? Or is just the webspace misconfigured?

thankz




QuoteWarning: opendir() [function.opendir]: SAFE MODE Restriction in effect. The script whose uid is 1029 is not allowed to access albums/userpics/pics/pictures/.thumbs/ owned by uid 30 in /home/www/web293/html/bilder/searchnew.php on line 203

Warning: opendir(albums/userpics/pics/pictures/.thumbs/) [function.opendir]: failed to open dir: Success in /home/www/web293/html/bilder/searchnew.php on line 203

Warning: readdir(): supplied argument is not a valid Directory resource in /home/www/web293/html/bilder/searchnew.php on line 204

Warning: closedir(): supplied argument is not a valid Directory resource in /home/www/web293/html/bilder/searchnew.php on line 225



Quotesafe_mode On Off
safe_mode_exec_dir /home/www/empty no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
safe_mode_exec_dir /home/www/empty no value
sql.safe_mode Off Off
disable_functions no value no value
file_uploads On On
include_path .:/usr/share/php .:/usr/share/php
open_basedir /home/www/web293/

Quote<?php
define('SILLY_SAFE_MODE', 1);
// Coppermine configuration file
// Silly safe mode{define('SILLY_SAFE_MODE', 1);
// MySQL configuration

...
db config
[/quote]

Joachim Müller

try uncommenting the line// Silly safe mode{define('SILLY_SAFE_MODE', 1); With two slashes in front of it it's commented out. Remove the slashes, so it readsdefine('SILLY_SAFE_MODE', 1);