Jump to:

23000 Posts in 11854 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » Image Resample Problems

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

Page: 1
Go to End
Author Topic: 1276 Views
  • zenmonkey
    Avatar
    Community Member
    524 Posts

    Image Resample Problems Link to this post

    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

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: Image Resample Problems Link to this post

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

  • zenmonkey
    Avatar
    Community Member
    524 Posts

    Re: Image Resample Problems Link to this post

    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.

  • zenmonkey
    Avatar
    Community Member
    524 Posts

    Re: Image Resample Problems Link to this post

    There are few directories thats not working in.

    1276 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.