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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

can't open images in CMS

Go to End

2 Posts   1119 Views


Community Member, 17 Posts

30 May 2010 at 10:59pm

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

Community Member, 41 Posts

2 June 2010 at 3:45am

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)