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: basedir restrictions  (Read 2881 times)

0 Members and 1 Guest are viewing this topic.

Goodnight

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
basedir restrictions
« on: November 16, 2003, 01:34:56 am »

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




Quote

Warning: 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




Quote

safe_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]
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
basedir restrictions
« Reply #1 on: November 16, 2003, 11:32:02 am »

try uncommenting the line
Code: [Select]
// Silly safe mode{define('SILLY_SAFE_MODE', 1); With two slashes in front of it it's commented out. Remove the slashes, so it reads
Code: [Select]
define('SILLY_SAFE_MODE', 1);
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.