[Solved]:Safe mode critical error [Solved]:Safe mode critical error
 

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]

Main Menu

[Solved]:Safe mode critical error

Started by civilian, April 13, 2004, 01:25:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

civilian

when members of the gallery and I tried to upload appears:

Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 32086 is not allowed to access /home/civilian/public_html/lloret-de-mar/albums/userpics/10001 owned by uid 99 in /home/civilian/public_html/lloret-de-mar/db_input.php on line 258

what to do?


Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

civilian

I´ve done all except this, because I don´t understand it:

Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"

Ahh, my "include/config.inc.php":

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         "localhost";        // Your database server
$CONFIG['dbuser'] =                         "???";        // Your mysql username
$CONFIG['dbpass'] =                         "???";                // Your mysql password
$CONFIG['dbname'] =                         "???";        // Your mysql database name


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

what modification need I to do?

PS: ??? -> not to know :P

Casper

#4
Change your file to this;

<?php 
// Coppermine configuration file 

define('SILLY_SAFE_MODE'1);

// MySQL configuration 
$CONFIG['dbserver'] = "localhost"// Your database server 
$CONFIG['dbuser'] = "???"// Your mysql username 
$CONFIG['dbpass'] = "???"// Your mysql password 
$CONFIG['dbname'] = "???"// Your mysql database name 


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

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

civilian