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

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

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