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.

General Questions /

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

[solved] 500 error when inserting images into wysiwyg editor with silverstripe 3


Reply


2 Posts   535 Views

Avatar
chillburn.com.au

Community Member, 12 Posts

30 July 2012 at 9:28am

hey guys, i've uploaded a silverstripe 3 site from which i developed locally onto quadrahosting (apache / php5.3) and when trying to insert an image "from the cms" using the wysiwyg editor, it gives me a little internal server error notification on the top right of the screen.

what is happening is a url such as /admin/pages/EditorToolbar/viewfile?ID=8 is returning a 500 error.

The file its using is /framework/forms/HtmlEditorField.php and the function viewfile. It breaks on this line:
$fields = $this->getFieldsForFile($url, $fileWrapper);

any help on how to solve this issue would be great.

Avatar
chillburn.com.au

Community Member, 12 Posts

30 July 2012 at 2:32pm

this has been resolved:

This was a Server fix, enabling the iconv module for PHP.