Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
on my site I am using CKeditor module (WYSIWYG editor for writing node body).
But when I enable Meta tags module, CKeditor stops loading, giving me only normal textarea.
Is there some conflict between these 2 modules, or is it a bug? I have read that many czech sites are having this problem...
Comment | File | Size | Author |
---|---|---|---|
#3 | node-edit.png | 32.73 KB | constantinejohny |
#3 | node-edit-with-metatags.png | 38.33 KB | constantinejohny |
Comments
Comment #1
DamienMcKennaI've not heard of that before but I don't use ckeditor, I guess I'll have to test it :)
Comment #2
DamienMcKennaCan you send a screenshot of how the node edit form looks? Thanks.
Comment #3
constantinejohny CreditAttribution: constantinejohny commentedOK, I have attached the screenshots.
"node-edit.png" is when I edit the node, Metatags disabled -> CKeditor loads without problem.
"node-edit-with-metatags.png" is when I enable Metatags module and refresh the node edit page. (Chrome says "Waiting for www.mypage.com" in status bar - maybe waits to load CKeditor, but unable to?).
Both are using Full HTML as input.
Comment #4
DamienMcKennaAre you sure you're using the latest version of the CKEditor module & editor code? I tested the combination and they worked fine together. Do you have any other modules that add custom JS to the node add/edit pages?
Comment #5
constantinejohny CreditAttribution: constantinejohny commentedHi,
sorry for the big delay. Today I updated to the latest versions of CKeditor, Metatag, and downloaded the latest version of CKeditor from ckeditor.com. Still not working.
Can this problem happen because of my site language (Czech)? Because when I search the internet for simmilar issues, only the czech sites appear, all without solution.
One site had an error like this:
Warning: file_get_contents(sites/all/modules/ckeditor/ckeditor/includes/jqueryUI/jquery-ui.min.js) [function.file-get-contents]: failed to open stream: No such file or directory v _locale_parse_js_file() (riadok 1472 z /data/web/virtuals/15348/virtual/www/includes/locale.inc). Warning: file_get_contents(sites/all/modules/ckeditor/ckeditor/includes/jqueryUI/jquery.ui.widget.min.js) [function.file-get-contents]: failed to open stream: No such file or directory v _locale_parse_js_file() (riadok 1472 z /data/web/virtuals/15348/virtual/www/includes/locale.inc). Warning: file_get_contents(sites/all/modules/ckeditor/ckeditor/includes/jqueryUI/jquery.ui.sortable.min.js) [function.file-get-contents]: failed to open stream: No such file or directory v _locale_parse_js_file() (riadok 1472 z /data/web/virtuals/15348/virtual/www/includes/locale.inc). Warning: file_get_contents(sites/all/modules/ckeditor/ckeditor/includes/jqueryUI/sort.js) [function.file-get-contents]: failed to open stream: No such file or directory v _locale_parse_js_file() (riadok 1472 z /data/web/virtuals/15348/virtual/www/includes/locale.inc).
So can this be a problem in locale.inc?
Comment #6
constantinejohny CreditAttribution: constantinejohny commentedHi,
sorry it took me so long.
Today I found out, that my CKeditor was looking for a file in Token module called "jquery.treeTable.js", but in my FTP I had "jquery.treetable.js" (small "t" in "table"). When I renamed it, all works fine.
So it was probably a bug with my FTP client, or some mischief while updating Token module... but don't know why this bug occured only when Metatag was enabled..
Comment #7
DamienMcKenna@constantinejohny: Thanks for following up, glad you were able to fix it.