Community Forums

SAFE MODE Restriction in effect

Please post any issues you are having concerning installation or upgrade of OpenCart v1.x

SAFE MODE Restriction in effect

Postby gertjan91 » Wed Sep 28, 2011 8:13 am

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
gertjan91
 
Posts: 3
Joined: Tue Sep 13, 2011 12:12 pm

Re: SAFE MODE Restriction in effect

Postby florinsith » Wed Sep 28, 2011 8:19 am

Try disabling safemode in php.ini
User avatar
florinsith
 
Posts: 2694
Joined: Thu May 13, 2010 6:36 pm

Re: SAFE MODE Restriction in effect

Postby gertjan91 » Wed Sep 28, 2011 10:29 am

Thanx, but nope does not change anything!
gertjan91
 
Posts: 3
Joined: Tue Sep 13, 2011 12:12 pm

Re: SAFE MODE Restriction in effect

Postby i2Paq » Wed Sep 28, 2011 10:47 am

gertjan91 wrote:Thanx, but nope does not change anything!


Contact you hoster, if they will not disable it then move to another hoster.
Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.

First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.

Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
User avatar
i2Paq
Global Moderator
 
Posts: 9767
Joined: Mon Nov 09, 2009 11:00 am
Location: Winkel - The Netherlands

Re: SAFE MODE Restriction in effect

Postby Xsecrets » Wed Sep 28, 2011 12:15 pm

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.
Xsecrets
 
Posts: 5042
Joined: Sat Oct 24, 2009 7:51 pm
Location: FL US

Re: SAFE MODE Restriction in effect

Postby TAC » Wed Jan 04, 2012 4:35 pm

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
User avatar
TAC
 
Posts: 192
Joined: Sat Sep 25, 2010 5:33 pm

Re: SAFE MODE Restriction in effect

Postby itq9 » Mon May 28, 2012 12:45 pm

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.
itq9
 
Posts: 2
Joined: Mon May 28, 2012 12:42 pm

Re: SAFE MODE Restriction in effect

Postby GaryG » Thu Jan 24, 2013 8:07 pm

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.
GaryG
 
Posts: 6
Joined: Sat Dec 03, 2011 1:37 am


Return to Installation, Upgrade, & Config Support

Who is online

Users browsing this forum: raymondization and 59 guests

Hosted by Arvixe Web Hosting