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

Can't 'Insert Media' in CMS SS 3.0.5 [Solved]


Go to End


2 Posts   1025 Views

Avatar
Pix

Community Member, 158 Posts

4 May 2013 at 5:36am

I get an 'Internal Server Error' when trying to use 'insert media' in the CMS, and the pop up is blank. The console spits out:

GET http://www.urltomytestsite.com/rs3/rs3/admin/pages/EditorToolbar/MediaForm/forTemplate 500 (Internal Server Error) jquery.js:8240
send jquery.js:8240
jQuery.extend.ajax jquery.js:7719
$.entwine.openDialog HtmlEditorField.js:337
one jquery.entwine-dist.js:1023
prxy jquery.entwine-dist.js:1048
$.entwine.openMediaDialog HtmlEditorField.js:320
one jquery.entwine-dist.js:1023
prxy jquery.entwine-dist.js:1048
(anonymous function) editor_plugin_src.js:39
k.create.execCommand tiny_mce_gzip.php:1
i.onclick tiny_mce_gzip.php:1
(anonymous function) tiny_mce_gzip.php:1
j tiny_mce_gzip.php:1
y tiny_mce_gzip.php:1

What's weird is the same server is also running a site using SS 3.0.3 and 'insert media' works fine there.

Any help would be really appreciated!!!!! This is a tough one and a show stopper.

Avatar
Pix

Community Member, 158 Posts

4 May 2013 at 6:28am

Edited: 04/05/2013 6:43am

My fault again. I think I had an error in my thumbnail function in a custom image class. Or perhaps it was because there was some bad records for that class hanging around in the file table left there while developing/testing which might explain why the error did not show up when attaching the image to a page, only when trying to use 'insert media' from CMS. Anyway, I fixed the error and got rid of the records which did not actually have an image in assets anymore and the error is gone. Sorry! SilverStripe Rocks!