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: Warning: rename(): SAFE MODE Restriction in effect.  (Read 5453 times)

0 Members and 1 Guest are viewing this topic.

ATAMAH

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Warning: rename(): SAFE MODE Restriction in effect.
« on: January 09, 2006, 11:16:42 am »

A couple days ago I faced this error.
It comes when I try to place an uploaded image into a category.

So, it seems to be uploaded correctly, but when I try to place it into a category this error comes out:

Code: [Select]
Warning: rename(): SAFE MODE Restriction in effect. The script whose uid is 1159 is not allowed to access /www/album/albums/userpics/10046 owned by uid 80 in /www/album/upload.php on line 2229

Please, help me.
« Last Edit: January 10, 2006, 03:53:22 pm by GauGau »
Logged

debstl

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Warning: rename(): SAFE MODE Restriction in effect.
« Reply #1 on: January 09, 2006, 06:54:23 pm »

I'm having the same problem...

Quote
Impossible to move capture01.jpg to albums/userpics/10001/ !

File: /home/debstl/public_html/gallery/db_input.php - Line: 267

Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 32043 is not allowed to access /home/debstl/public_html/gallery/albums/userpics/10001 owned by uid 99 in /home/debstl/public_html/gallery/db_input.php on line 266

I created a test account at http://edgarrenteria.com/gallery

Username is tester
Password is tester

Thanks in advance
« Last Edit: January 09, 2006, 07:04:17 pm by debstl »
Logged

Bacchus

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 70
  • Sith Marauder
    • Solitude
Re: Warning: rename(): SAFE MODE Restriction in effect.
« Reply #2 on: January 10, 2006, 05:02:06 am »

Follow the upload trouble shooting guide

Make sure that you CHMODed properly

If still occurs, use the silly safe mode method.

It worked for me.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Warning: rename(): SAFE MODE Restriction in effect.
« Reply #3 on: January 10, 2006, 08:18:24 am »

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#safe

Joachim

P.S. You don't upload to categories, but albums
Logged

ATAMAH

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Warning: rename(): SAFE MODE Restriction in effect.
« Reply #4 on: January 10, 2006, 11:15:26 am »

GauGau thanks a lot!

this one helped:
Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"

I just realized that my webhost set the server on SAFE MODE a couple days ago.
Logged

cpg

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Warning: rename(): SAFE MODE Restriction in effect.
« Reply #5 on: February 23, 2006, 02:34:05 am »

It says in the beginning to put this...

Noob here...

<?php

    $CONFIG['dbserver'    ] = 'localhost' ;
    $CONFIG['dbuser'      ] = '***' ;
    $CONFIG['dbpass'      ] = '***' ;
    $CONFIG['dbname'      ] = '***'   ;
    $CONFIG['TABLE_PREFIX'] = 'cpg_'        ;
   
?>

Where would I put it?

I tried it right after the <?php but I got and error when I clicked to the board so I returned it to regular and thought to ask here.

my site is www.cponygo.com/gallery

user=tester
pw=123456

Thanks...having issues uploading...did the changes to directories (777) and line change in picmgmt.inc.php

TIA
Andy
« Last Edit: February 23, 2006, 02:43:19 am by Nibbler »
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.