Warning: rename(): SAFE MODE Restriction in effect. Warning: rename(): SAFE MODE Restriction in effect.
 

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

Warning: rename(): SAFE MODE Restriction in effect.

Started by ATAMAH, January 09, 2006, 11:16:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ATAMAH

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:


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.

debstl

#1
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

Bacchus

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.

Joachim Müller


ATAMAH

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.

cpg

#5
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