Page 1 of 1

SAFE MODE Restriction in effect

Posted: Wed Sep 28, 2011 4:13 pm
by gertjan91
Hi,

Does anyone know how to solve the following problem?
I think this error is also the reason my Image manager does not work.
The full error code is as followed and can be found in my settings panel;

Warning: imagepng() [function.imagepng]: SAFE MODE Restriction in effect. The script whose uid is 661 is not allowed to access /home/mbtools/domains/accuboorhamer.nl/public_html/image/cache/data owned by uid 101 in /home/mbtools/domains/accuboorhamer.nl/public_html/system/library/image.php on line 46Warning: imagepng() [function.imagepng]: Invalid filename in /home/mbtools/domains/accuboorhamer.nl/public_html/system/library/image.php on line 46Warning: imagepng() [function.imagepng]: SAFE MODE Restriction in effect. The script whose uid is 661 is not allowed to access /home/mbtools/domains/accuboorhamer.nl/public_html/image/cache/data owned by uid 101 in /home/mbtools/domains/accuboorhamer.nl/public_html/system/library/image.php on line 46Warning: imagepng() [function.imagepng]: Invalid filename in /home/mbtools/domains/accuboorhamer.nl/public_html/system/library/image.php on line 46

Regards,

Gertjan

Re: SAFE MODE Restriction in effect

Posted: Wed Sep 28, 2011 4:19 pm
by florinsith
Try disabling safemode in php.ini

Re: SAFE MODE Restriction in effect

Posted: Wed Sep 28, 2011 6:29 pm
by gertjan91
Thanx, but nope does not change anything!

Re: SAFE MODE Restriction in effect

Posted: Wed Sep 28, 2011 6:47 pm
by i2Paq
gertjan91 wrote:Thanx, but nope does not change anything!
Contact you hoster, if they will not disable it then move to another hoster.

Re: SAFE MODE Restriction in effect

Posted: Wed Sep 28, 2011 8:15 pm
by Xsecrets
did you develop this on a local server then move it to your host? if so you need to delete everything from your cache folders.

Re: SAFE MODE Restriction in effect

Posted: Thu Jan 05, 2012 12:35 am
by TAC
I have had similar problems today, even though my site has been running successfully since last September. I read as many forum posts as I could and followed all the hints. I even checked in Plesk and safe mode was definitely off.

As each post seemed to end with "contact your host" I did and they did something and now it all works again.

So mystery not solved (in my mind) but problem solved so I am happy ;D

Re: SAFE MODE Restriction in effect

Posted: Mon May 28, 2012 8:45 pm
by itq9
I had the same problem on my server and already had the Safe Mode set to off in my PHP.INI file but continued to receive the error.

My fix was to delete the image/cache/data folder and re-create and then re-set the permissions to 777. On my server it was not initially possible to set the permission on the folder but by deleting and re-creating I set the permissions and all is now running correctly! I hope this may help others.

Re: SAFE MODE Restriction in effect

Posted: Fri Jan 25, 2013 4:07 am
by GaryG
I notice for some servers you will have to reset file owner for some directories through the server file manager. You will not be allowed to change file permissions and this error or similar php errors will occur. I had to reset all these files and the error removed.