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


Reply


2 Posts   890 Views

Avatar
quiet_islander

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/a1dezine.com/httpdocs/silverstripe/assets/Uploads/_resampled 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
Avatar
ayyurek

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)