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

SS3: Error adding images from web in Dev mode


Go to End


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