coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: civilian on April 13, 2004, 01:25:16 PM

Title: [Solved]:Safe mode critical error
Post by: civilian on April 13, 2004, 01:25:16 PM
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?
Title: [Solved]:Safe mode critical error
Post by: civilian on April 13, 2004, 01:28:34 PM
the gallery is @ http://www.justletmysoulflyfree.net/lloret-de-mar
Title: [Solved]:Safe mode critical error
Post by: Casper on April 13, 2004, 04:25:42 PM
Try this, http://coppermine.sourceforge.net/manual.php#safe
Title: [Solved]:Safe mode critical error
Post by: civilian on April 13, 2004, 04:51:03 PM
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
Title: [Solved]:Safe mode critical error
Post by: Casper on April 13, 2004, 04:55:02 PM
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'] = "???"
?>

Title: [Solved]:Safe mode critical error
Post by: civilian on April 13, 2004, 05:04:21 PM
thank you very much

[]