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

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

[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