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

Image Resample Problems


Go to End


4 Posts   1834 Views

Avatar
zenmonkey

Community Member, 545 Posts

3 December 2009 at 4:45am

I'm getting the following error when I access a page with images

[Warning] imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 10029 is not allowed to access /var/www/vhosts/cupidology.net/httpdocs/assets/Products/MainImages/_resampled owned by uid 48
GET /a-bed-of-roses/

Line 397 in /var/www/vhosts/cupidology.net/httpdocs/sapphire/filesystem/GD.php

I'm running 2.3.3

Avatar
baba-papa

Community Member, 279 Posts

3 December 2009 at 5:13am

This seems to me like a problem of access rights. Have you set public access to /assets an all subfolders?

Avatar
zenmonkey

Community Member, 545 Posts

3 December 2009 at 5:20am

All folders and files have 777. It seems to be an issues when the CMS creates the _resampled folder it only has 755 as the permission.

I'm currently going through all my image directories and manually creating and chmodding _resampled dirs.

Avatar
zenmonkey

Community Member, 545 Posts

3 December 2009 at 10:40am

There are few directories thats not working in.