Active
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.12
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2013 at 08:02 UTC
Updated:
12 Apr 2013 at 09:47 UTC
Hi,
using ckeditor 7.19 and library 3.6.6.1 (or 3.6.4), I have display problems:
ckeditor toolbar is only visible on empty textfields. As soon there is text in a textarea, the toolbar is hidden an clear html is shown instead.
I searched the forum, but nobody else seems to have this problem ...
Allready tried creating a new profile and clearing drupal cache several times ...
Can anyone help? Is there a way to debug ckeditor? There are no log entries inside drupal ...
Kind regards
Comments
Comment #1
wwalc commentedIs there anything special in developer console / Firebug? Any js errors etc? Any chance for a screenshot?
Does it happen with the default theme as well?
Comment #2
vistree commentedHmm, I installed google chrome and activated the java console. There I get the following error:
Failed to load resource: the server responded with a status of 404 (Not Found)
Is this a known problem?
Comment #3
vistree commentedAs an update: I did an update today. Old version was: 7.x-1.9 and new version after update ist 7.x-1.12 (sorry for the wrong version - changed this!).
The library is 3.6.4 now.
When I reset ckeditor to 7.x-1.9, everything goes well (after clearing cache of browser and drupal). As soon as I update to the current 7.x-1.12, I got the error above. Looking in apache error_log I got the following additional error:
Firebug gave me also a 404 error regarding ckeditor/xss
Is there a way out?
Comment #4
wwalc commentedHmmmm if CKEditor module is properly installed, and you get 404 error regarding ckeditor/xss then I'd check mod_security logs if you have it enabled. Most probably it thinks that it's an hacking attempt and it breaks CKEditor during startup. It even started to make sense now.
Comment #5
vistree commentedHi,
I have been in contact with the hoster now. mod_security is not enabled on the server. Therefor, I only have access_log and error_log to debug.
In the access_log I also find the 404 error (for each already filled textarea):
XX.XXX.XXX.XX - - [02/Apr/2013:15:09:57 +0200] "POST /ckeditor/xss HTTP/1.1" 404 - "http://www.mydomain.de/node/177/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) Gecko/20100101 Firefox/19.0" www.mydomain.deAnd that is all.
As I wrote yesterday: everything is fine with ckeditor V. 7.1.9. Which is funny, as I thought the problem could be a result in updating drupal core and this security announcement:
http://drupal.org/SA-CORE-2013-002
Do you have an idea how to debug deeper?
Comment #6
wwalc commentedHard to say what's wrong not seeing the issue live. If the problem is in this particular ajax call, then could you check one thing - make a backup of your website and check it locally / on a totally different server?
Comment #7
vistree commentedHi,
today I moved the site to my local test server. Same problem ...
[Fri Apr 12 11:39:52 2013] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /Users/admin/Documents/webseiten/myweb/ckeditor/xss/, referer: http://www.mydomain.local/node/184/edit?destination=admin/contentI am totally confused - other sites on the same local server work ... Even with the actual ckeditor version.
Checkt for .htaccess-files - but there are only the expected ones.
Do someone has an additional idea? Maybe a conflict with an other module?