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: "SAFE MODE Restriction in effect" on instalattion  (Read 10097 times)

0 Members and 1 Guest are viewing this topic.

Citaro

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
"SAFE MODE Restriction in effect" on instalattion
« on: December 05, 2005, 01:29:13 am »

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 ?
« Last Edit: December 12, 2005, 07:03:08 am by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #2 on: December 09, 2005, 03:38:29 am »

Oks;

There it says: "Try switching silly_safe_mode on."

But, where I can make this?  ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Citaro

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #4 on: December 11, 2005, 04:58:13 am »

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

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #5 on: December 11, 2005, 05:06:13 am »

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.
Logged

Citaro

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #6 on: December 11, 2005, 06:02:09 am »

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_';
?>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #7 on: December 11, 2005, 03:54:34 pm »

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.
« Last Edit: December 11, 2005, 07:53:51 pm by GauGau »
Logged

Citaro

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #8 on: December 11, 2005, 06:03:45 pm »

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 !  :'(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #9 on: December 11, 2005, 07:54:46 pm »

Logged

Citaro

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #10 on: December 12, 2005, 05:44:36 am »

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

Citaro

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #11 on: December 17, 2005, 12:16:29 am »

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...  :(
Logged

Nibbler

  • Guest
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #12 on: December 17, 2005, 12:20:54 am »

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

Citaro

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: "SAFE MODE Restriction in effect" on instalattion
« Reply #13 on: December 17, 2005, 03:20:47 am »

Alright, can delete me. No problem.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.