Closed (duplicate)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
9 Oct 2015 at 17:36 UTC
Updated:
12 Jan 2017 at 16:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
B Boy Breaker commentedComment #3
B Boy Breaker commentedok after enabling the errors in settings.php i see the error message was :
Fatal error: Call to undefined function media_browser_js() ....../ckeditor/includes/ckeditor.lib.inc on line 893
i fixed it by going to /ckeditor/includes/ckeditor.lib.inc at the line 888 there is this code :
module_load_include('inc', 'media', 'includes/media.browser');
$javascript = media_browser_js();
foreach ($javascript as $key => $definitions) {
foreach ($definitions as $definition) {
$function = 'drupal_add_' . $key;
call_user_func_array($function, $definition);
}
}
remove it and add this :
drupal_add_library('media', 'media_browser');
drupal_add_library('media', 'media_browser_settings');
hope this help someone
Comment #4
garbo commentedThanks, B Boy Breaker! I experienced the same problem and your solution solved it.
I set the status to "need review" so the module maintainers can check this.
Comment #5
valthebaldFixed by #2542566: Remove Media integration