problem: upload is ok, but placing the files is unrealizable problem: upload is ok, but placing the files is unrealizable
 

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

problem: upload is ok, but placing the files is unrealizable

Started by vici, January 11, 2006, 08:27:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vici

the problem is:

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

vici

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

<?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...

Joachim Müller