#3144 closed defect (bug) (worksforme)
TinyMCE causes javascript error in IE
Reported by: | intoxination | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 2.1 |
Component: | Administration | Keywords: | tinymce ie has-patch |
Focuses: | Cc: |
Description
tiny_mce_config.php loads in IE before tiny_mce and calls tinyMCE.init(initArray) before the tiny_mce class is loaded causing a "tinymce is undefined error".
Attachments (1)
Change History (14)
#2
@
18 years ago
Server is Apache 2.2.2, PHP 5 on Linux. IE is version 6.
TinyMCE won't load at all since it errors out on the config file at line 36. It also causes the Ajax on the comment assignment box to not work (new categories are added but not displayed unless you refresh the page). In the end, you are left with just the basic textarea editor. It does load into Firefox without any problems, so it is just in IE.
I am running 3 copies of 2.0.4 on the same server and those all work without any problems.
#3
@
18 years ago
Does your theme include prototype? Old versions of prototype included by some themes can interfere with things in 2.1.
#4
@
18 years ago
Nope. This is a fresh install. Using the default theme and no plugins. I just updated the SVN today so it is at 4198 and still having the problem.
#5
@
18 years ago
Well I think I figured this out. I do not have gzip compression installed on this server. Firefox won't request gzip for some reason, but IE is, even with the gzip option turned off in the options screen of WP. Apparently tinyMCE isn't recognizing the gzip option and always trying to make a compressed file.
#6
@
18 years ago
- Keywords haspatch added
The patch I uploaded simply adds another check in the header checking line for the gzipcompression option. This will force TinyMCE compression to obey by the gzip compression option of WP. Another option would be to add a seperate option on the write page to compress TinyMCE.
#8
@
18 years ago
Jamie "intoxination" Holly reports that this issue is only in 2.1, ie not a candidate for 2.0.5 .
#10
@
18 years ago
Is this related to the issue I experienced with 2.1?
I posted about it in the support forums.
http://wordpress.org/support/topic/102137?replies=2
Same thing there, that the TinyMCE gives a javascript error. Althought the issue I had was with post-new.php, viewing wordpress.org with IE7.
intoxination, please include your environment information both on the server and client (version of IE)
Does the symptom result in TinyMCE not loading at all in the Write page? Are there other symptoms?