"SAFE MODE Restriction in effect" on instalattion "SAFE MODE Restriction in effect" on instalattion
 

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

"SAFE MODE Restriction in effect" on instalattion

Started by Citaro, December 05, 2005, 01:29:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Citaro

When I put the link of install.php in my browser to install coppermine gallery 1.4.2, I got the error message: "Warning: is_dir() [function.is-dir]: SAFE MODE Restriction in effect. The script whose uid/gid is 10903/20000 is not allowed to access /web/sites owned by uid/gid 90/90 in /web/sites/mydomain.com/coppermine/install.php on line 21". What can I do ?

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Citaro

Oks;

There it says: "Try switching silly_safe_mode on."

But, where I can make this?  ???

Joachim Müller


Citaro

The arquive "config.inc.php" doesn´t exist in the include folder. Is "config.inc.php.sample". How I make ?

Tranz

Make a copy of the sample file and rename it to config.inc.php. Then make the changes to the file as above, along with the mysql settings.

Citaro

The indicated folders are with permissions 777. And I renamed the file to config.php.inc and I included the line in this way, but the error persists. :(

<?php
define('SILLY_SAFE_MODE', 1);
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your databaseserver
$CONFIG['dbuser'] =                         'root';        // Your mysql username
$CONFIG['dbpass'] =                         '';                // Your mysql password
$CONFIG['dbname'] =                         'coppermine';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg132_';
?>

Joachim Müller

#7
you have to enter your actual mysql data into the file. You can't make this up - you have to know it. Ask your webhost for support.

Citaro

Yes, I already entered correctly with the data in the fields server, user, pass and database...  still yes the error of the first post persists !
I tried to continue with the same installation with the error. I arrived to finish the installation and configuration of the gallery. I created category, album and uploaded a directory with photos. But when I go to insert the photos or to have access the index of the gallery, I always have a blank page !  :'(

Joachim Müller


Citaro

Oks. The gallery works now ! I have problems with my conecction too. But now it´s ok. Thanks for all.  ;)

Citaro

Editing the "install.php" and removing the function (is_dir), the installation it proceeded without problems. Safe_mode error don't appears. Even the login, that's ok, but the index page is always it´s shown blank screen. All the others pages(login, admin, albmgr...) and photos open correcty. What it has in the index.php that makes with that the server doesn't obtain to show it? Very strange...  :(

Nibbler

You already got an answer to that question on your other thread. Please respect the one question per thread rule.

Citaro