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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1204 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)