forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: ATAMAH 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:
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.
-
I'm having the same problem...
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
-
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.
-
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#safe
Joachim
P.S. You don't upload to categories, but albums
-
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.
-
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 (http://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
-
http://forum.coppermine-gallery.net/index.php?topic=5845.msg76881#msg76881