I have installed this module along with the WYSIWYG module. I am using ckeditor as the editor, and have enabled the Media Browser button on the WYSIWYG editor. When trying to use the media browser button, I get the error in the title.
My debugger gives the following process tree:
1 0.0002 640728 {main}( ) ../index.php:0
2 0.5742 49737312 menu_execute_active_handler( ) ../index.php:21
3 0.5743 49738096 call_user_func_array ( ) ../menu.inc:517
4 0.5743 49738520 drupal_get_form( ) ../menu.inc:517
5 0.5744 49739504 drupal_build_form( ) ../form.inc:131
6 0.5744 49742248 drupal_retrieve_form( ) ../form.inc:339
7 0.5745 49743904 call_user_func_array ( ) ../form.inc:798
8 0.5745 49744424 media_format_form( ) ../form.inc:798
9 0.6160 52132608 drupal_render( ) ../media.filter.inc:357
10 0.6160 52134816 theme( ) ../common.inc:5842
11 0.6241 53036752 theme_media_colorbox( ) ../theme.inc:1142
12 0.6313 53049024 drupal_render( ) ../media_colorbox.theme.inc:73
13 0.6315 53050040 drupal_render( ) ../common.inc:5849
14 0.6315 53052696 theme( ) ../common.inc:5842
15 0.6317 53054352 theme_media_colorbox( ) ../theme.inc:1142
16 0.6354 53062032 drupal_render( ) ../media_colorbox.theme.inc:73
17 0.6355 53063048 drupal_render( ) ../common.inc:5849
18 0.6355 53065704 theme( ) ../common.inc:5842
19 0.6357 53067360 theme_media_colorbox( ) ../theme.inc:1142
20 0.6393 53075040 drupal_render( ) ../media_colorbox.theme.inc:73
And so on. As you can see, a loop is happening with the following functions:
drupal_render( ) ../media.filter.inc:357
theme( ) ../common.inc:5842
theme_media_colorbox( ) ../theme.inc:1142
drupal_render( ) ../media_colorbox.theme.inc:73
Something is going wrong when drupal_render() is called in media_colorbox.theme.inc on line 73.
Comments
Comment #1
greg boggsAs I cannot reproduce this, can you test this again using the dev version instead of rc3?
Comment #2
jaypanSorry, I'm well done with that project now, I just put together a custom solution instead.
Comment #3
jaypan