Hi!
I use Coppermine 1.1 on my PHP-Nuke powered site.
I can't upload pictures, the message is the next:
"Impossible to move c01.jpg to modules/coppermine/albums/userpics/10004/ !
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 10000 is not allowed to access /home/www/htdocs/szifvn88/html/modules/coppermine/albums/userpics/10004 owned by uid 80 in /home/www/htdocs/szifvn88/html/modules/coppermine/db_input.php on line 263"
The directories are in "777" mode.
What can I do?
Safe mode issues
A significant number of webhosts on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the "open basedir restriction" active, provided safe mode is properly configured. Unfortunately on many hosts, safe mode is not configured properly.
If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :
* With a FTP program, change the mode of Coppermine's "include" directory on your server to 0777.
* Do the same for the "albums" and "userpics" directories.
* Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"
I am having this same exact problem after moving from one server to another. After trying to find the problem, I stumbled across the fact that the folder ownership and group are being assigned to "apache" instead of the user for the site. A temporary fix is to SSH in and chown and chgrp back to the site user, and everything works correctly until a new album is created. Then I have to do it again. Any one have any idea how to get this back to creating folders that are owned and group by the site owner and not apache?
change also db_input.php and include/*.* to the "site owner"
what do you mean change them to "site owner"?
probably your FTP app knows the chown() command which means CHangeOWNer read the FTP docs and then change the files to the proper "uid" (user id)