Jump to:

22976 Posts in 11702 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » SS3: Error adding images from web in Dev mode

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: 201 Views
  • allenmccabe
    Avatar
    Community Member
    5 Posts

    SS3: Error adding images from web in Dev mode Link to this post

    Not sure if this has been remedied in SS > 3.0.3 (the version I found this bug), but images cannot be added via URL if Development mode is enabled. I have not found anyone else having this issue, so it may be unique to my installation, but thought I would share.

    To reproduce the bug:
    - Select "Insert Media" button on Content WISYWIG
    - Choose "From the web" tab
    - Enter an image URL and click the Plus (+) button
    - Get white screen (first time I got a server error screen)

    Removing the following lines from my _config allows adding an image this way to work:

    Director::set_environment_type("dev");
    ini_set('error_reporting', E_ALL);
    ini_set('display_errors', 1);
    error_reporting(-1);

    201 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.