coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: spa2036 on December 21, 2005, 10:15:31 AM

Title: Safe Mode restriction in effect
Post by: spa2036 on December 21, 2005, 10:15:31 AM
Hi,

I am puzzled.........
I have read the manual searched the fora made adjustment to files and config, but could not find the solution for my trouble with coppermine:

For some reason I keep getting the warning reading as pasted below when I want to upload a new picture. As I continue, the picture will show up in the gallery. The only way for me to upload pictures is setting the upload form config in the admin menu under groups to single file. When I try to set multiple file upload, I get the same warning but no picture will be uploaded. Coppermine tells me then that it is unable to tranfer the requested file because of restrictions.

The trouble started when I tried to upload a picture which had IPTC content containing a accolade like: d'auvergne. Coppermine refused to upload that picture. After I removed the accolade I was able to upload again,but only single files!

Many thanks in advance for your help,
Kind regards,Rob


The warning message and debug output generated while selecting a picture in single file upload is pastes below:

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 10005 is not allowed to access ./albums/edit owned by uid 48 in /home/httpd/vhosts/de-beer.info/httpdocs/coppermine/upload.php on line 409

Warning: opendir(./albums/edit): failed to open dir: Success in /home/httpd/vhosts/de-beer.info/httpdocs/coppermine/upload.php on line 409


USER:
------------------
Array
(
    [ID] => 191336ccf37a78a4159ff6e24c9d336e
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Safe Mode restriction in effect
Post by: Nibbler on December 21, 2005, 02:39:50 PM
CHMOD albums/edit to 777 or 755 and update your gallery.
Title: Re: Safe Mode restriction in effect
Post by: kegobeer on December 21, 2005, 02:42:39 PM
You should also update PHP - 4.3.2 is very old.  If you are paying for hosting, I would consider moving to a better host.
Title: Re: Safe Mode restriction in effect
Post by: spa2036 on December 21, 2005, 07:37:26 PM
Hmmm I think I have really trouble..... It is not possible to CMOD albums/edit to 755 or 777. The server does not accept the change made with an FTP program, and does not accept it from the server. The server tells me that the user and group are both apache while the others have my login name in coppermine.
Any sugestions?
Thanks again.
Title: Re: Safe Mode restriction in effect
Post by: Nibbler on December 21, 2005, 07:45:28 PM
Try to rename or delete it. Then create a new folder named 'edit'. If you can't do that then contact your server admin/host and ask them to CHOWN it to you.