Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]:Safe mode critical error  (Read 3248 times)

0 Members and 1 Guest are viewing this topic.

civilian

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Solved]:Safe mode critical error
« 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?
Logged

civilian

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Solved]:Safe mode critical error
« Reply #1 on: April 13, 2004, 01:28:34 pm »

Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]:Safe mode critical error
« Reply #2 on: April 13, 2004, 04:25:42 pm »

Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Solved]:Safe mode critical error
« Reply #3 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]:Safe mode critical error
« Reply #4 on: April 13, 2004, 04:55:02 pm »

Change your file to this;

Code: [Select]
<?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'] = "???"
?>

« Last Edit: April 30, 2004, 10:34:50 am by Casper »
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
[Solved]:Safe mode critical error
« Reply #5 on: April 13, 2004, 05:04:21 pm »

thank you very much

[]
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 18 queries.