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...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

I've not heard of that before but I don't use ckeditor, I guess I'll have to test it :)

DamienMcKenna’s picture

Status: Active » Reviewed & tested by the community

Can you send a screenshot of how the node edit form looks? Thanks.

constantinejohny’s picture

Status: Reviewed & tested by the community » Active
FileSize
38.33 KB
32.73 KB

OK, 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.

DamienMcKenna’s picture

Status: Active » Closed (cannot reproduce)

Are 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?

constantinejohny’s picture

Hi,
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_conten­ts(sites/all/mo­dules/ckeditor/cke­ditor/includes/jqu­eryUI/jquery-ui.min.js) [function.file-get-contents]: failed to open stream: No such file or directory v _locale_parse_js_fi­le() (riadok 1472 z /data/web/vir­tuals/15348/vir­tual/www/inclu­des/locale.in­c). Warning: file_get_conten­ts(sites/all/mo­dules/ckeditor/cke­ditor/includes/jqu­eryUI/jquery.u­i.widget.min.js) [function.file-get-contents]: failed to open stream: No such file or directory v _locale_parse_js_fi­le() (riadok 1472 z /data/web/vir­tuals/15348/vir­tual/www/inclu­des/locale.in­c). Warning: file_get_conten­ts(sites/all/mo­dules/ckeditor/cke­ditor/includes/jqu­eryUI/jquery.u­i.sortable.min­.js) [function.file-get-contents]: failed to open stream: No such file or directory v _locale_parse_js_fi­le() (riadok 1472 z /data/web/vir­tuals/15348/vir­tual/www/inclu­des/locale.in­c). Warning: file_get_conten­ts(sites/all/mo­dules/ckeditor/cke­ditor/includes/jqu­eryUI/sort.js) [function.file-get-contents]: failed to open stream: No such file or directory v _locale_parse_js_fi­le() (riadok 1472 z /data/web/vir­tuals/15348/vir­tual/www/inclu­des/locale.in­c).

So can this be a problem in locale.inc?

constantinejohny’s picture

Status: Closed (cannot reproduce) » Closed (fixed)

Hi,
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..

DamienMcKenna’s picture

@constantinejohny: Thanks for following up, glad you were able to fix it.