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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

SS3: Error adding images from web in Dev mode


Go to End


686 Views

Avatar
allenmccabe

Community Member, 5 Posts

10 July 2013 at 5:45am

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