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: problem: upload is ok, but placing the files is unrealizable  (Read 5445 times)

0 Members and 1 Guest are viewing this topic.

vici

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
problem: upload is ok, but placing the files is unrealizable
« on: January 11, 2006, 08:27:35 pm »

the problem is:

Code: [Select]
Warning: rename(): SAFE MODE Restriction in effect. The script whose uid is 32016 is not allowed to access
/home/name/public_html/photos/albums/userpics/10001 owned by uid 99 in /home/name/public_html/photos/upload.php on line 2229

I've been searching for the simmilar topics but I haven't found. anyway, thanks for helping
Logged

vici

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: problem: upload is ok, but placing the files is unrealizable
« Reply #1 on: January 11, 2006, 08:42:05 pm »

all right then, I know what's the problem (so to say...)

I need to include a line "define('SILLY_SAFE_MODE', 1);" but...I'm not really sure how I should do it
should I just place it this way?

if yes...it doesn't work

Code: [Select]
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2005 Coppermine Dev Team
  v1.1 originaly written by Gregory DEMAR
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.3.3
  $Source: /cvsroot/coppermine/stable/include/crop.inc.php,v $
  $Revision: 1.5 $
  $Author: gaugau $
  $Date: 2005/04/19 03:17:11 $
**********************************************/
define('SILLY_SAFE_MODE'1);

if (!
defined('IN_COPPERMINE')) die('Not in Coppermine...');
//////////////////// Variables //////////////////////////////
// used texts
$txt['bigger'] = ">";
$txt['smaller'] = "<";
$txt['up'] = "^";
$txt['down'] = "v";
$txt['closewindow'] = "Close window";

...
etc...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: problem: upload is ok, but placing the files is unrealizable
« Reply #2 on: January 11, 2006, 10:01:05 pm »

nope, include/config.inc.php is the file to edit, see http://coppermine-gallery.net/demo/cpg13x/docs/index.htm#safe
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.