I have a fully functioning site in Drupal 7 on Firefox using Wysiwyg and CKeditor 3.5.0.6260, but when I try to edit on IE9, the editor fails to appear. I have text formats properly configured, user rights configured, CSS aggregation turned on, and all caches cleared. See the following images to see the difference in IE and FF.

CommentFileSizeAuthor
#4 NetworkData.xls36.5 KBzoon_unit
ff_wysiwyg.jpg48.02 KBzoon_unit
ie9_wysiwyg.jpg46.22 KBzoon_unit

Comments

twod’s picture

Status: Active » Postponed (maintainer needs more info)

Are there any JavaScript errors in IE? F12 should bring up the development tools.

zoon_unit’s picture

I got the following from the script console:

SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
blog-post
SCRIPT1004: Expected ';'
ckeditor.js?ll3v0b, line 14 character 238
SCRIPT5009: 'CKEDITOR' is undefined
js_TLWe1iTv3wz916wnx92TPROs8xUcdBvqZ30Otd9GjVo.js, line 158 character 5
SCRIPT5009: 'CKEDITOR' is undefined
js_TLWe1iTv3wz916wnx92TPROs8xUcdBvqZ30Otd9GjVo.js, line 36 character 3

twod’s picture

Strange, it looks like ckeditor.js was never included.
If you disable JavaScript optimization/aggregation, flush caches (site and browser), open the IE dev tools (F12) and check the network related info while refreshing the page you should see if the browser is unable to fetch some files.
Anything that doesn't turn up with HTTP status "200 OK" should be investigated.
Do you have any non-standard JavaSript aggregation/minification on as well?
We got some errors when the main CKEditor script file was being aggregated with other files so we've set an exclusion flag on it, but perhaps some module (or perhaps the mod_pagespeed server extension) is overriding that?

zoon_unit’s picture

StatusFileSize
new36.5 KB

With javascript compression turned off, this is the error I get on the script panel:

Refresh the page to see messages that may have occurred before the F12 tools were opened.
SCRIPT1004: Expected ';'
ckeditor.js?llbohg, line 14 character 238
SCRIPT5009: 'CKEDITOR' is undefined
ckeditor-3.0.js?llbohg, line 158 character 5
SCRIPT5009: 'CKEDITOR' is undefined
ckeditor-3.0.js?llbohg, line 36 character 3

On the network panel, I get a few 200 codes and a bunch of 304 codes. I've attached an xls with the results.

droplet’s picture

try to upgrade your ckeditor

twod’s picture

304 means the server is telling the browser the contents of a file has not been modified since it was last requested so that is fine (unless a corrupt version of the file has been cached by the browser).

Like droplet said, try to upgrade to the latest version of CKEditor, maybe they found a [browser] bug that has been recently corrected. Note that you will also have to switch to Wysiwyg 7.x-2.x-dev in order to use the latest CKEditor version since 7.x-2.0 isn't able to find the version string in the editor's source.

zoon_unit’s picture

SUCCESS!!

Thanks guys. The combination of ckeditor 3.6 and wysiwyg 7.x-2.x-dev did the trick.

twod’s picture

Category: bug » support
Priority: Major » Normal
Status: Postponed (maintainer needs more info) » Fixed

Ok, good. Looks like this was probably a conflict between CKEditor itself and IE9 which got fixed in the latest release(s).
The next official Wysiwyg releases will already have support for CKEditor 3.6 so we should not have to do anything extra here.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

carlhinton’s picture

Solution that worked for me:

  1. Add latest JQuery update module
  2. Loadup the latest dev version of ckeditor module
  3. Add cookie_domain variable into settings.php
  4. Upgrade the ckeditor js to at least version 3.5.2 http://ckeditor.com/download
  5. Run update.php
  6. Clear all your caches
  7. Go to ckeditor settings and rebuild your toolbars using new drag and drop feature
  8. Drink beer
twod’s picture

As a quick reminder; This is not the ckeditor.module issue queue. Ckeditor.module does not go well with wysiwyg.module, use either one together with the CKEditor library, but not both.