Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

can't open images in CMS


2 Posts   860 Views


30 May 2010 at 10:59pm Community Member, 17 Posts

Hi, people:

I have run into a problem with the 2.4 version Silverstripe. Whenever I try to open an image I uploaded via the CMS, I get the following error in the lightbox: [Warning] imagepng() [function.imagepng]: SAFE MODE Restriction in effect. The script whose uid is 10002 is not allowed to access /var/www/vhosts/ owned by uid 48.

My server is running on php safe mode but I can't and don't want to turn it off. Is there any thing else I can do to work around? Thanks in advance.

Attached Files

2 June 2010 at 3:45am Community Member, 41 Posts

Did you try to give access to Assets folder and it's subfolders? With an FTP Client give access to Assets and its subfolders and files. (777)