I've installed a few days ago a new TinyMCE module (and, new TinyMCE 2.0.7 + latest 1.0.9 compressor). Using Firefox 1.5.0.7, I've noticed problems opening a link and image window. In the previous version, I've had to disable "advanced link" and "advanced image", otherwise only empty windows appeared in my Firefox (in M$IE it was working well!).
After spending quite some time, analyzing differences between an old Drupal module and the new version (and also differences between previous TinyMCE and the 2.0.7), without finding anything interesting or suspicious, as a last possibility I've disabled a compressor. Suddenly, everything started to work without any problem. Even having "advanced link" and "advanced image" selected, it works now in Firefox. Only standard windows came up (not advanced as in M$IE), but at least it works (and, I can have these options turned on, and edit a page through M$IE if I need the advanced options...).
I have no idea what is broken in a TinyMCE PHP compressor (it seems to be broken already in a 1.0.8 compressor and turned to even worse in 1.0.9), but I want to share my experience - just if anyone have the same problem. It is maybe slower, but at least it works ;-)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | tinymce_7.module | 43.09 KB | phw |
Comments
Comment #1
rubenk commentedI'd like to keep tabs on what people say here too.
Comment #2
ricmadeira commentedI'm having this problem too, with IE7.
I've been using tinymce.module for over a year now, without problems, but a few days ago I updated tinymce to the latest version (2.0.8) and also the compressor plugin. I have the exact same problems with link and image windows. All other things seem fine.
Comment #3
ricmadeira commentedMaybe the answer to our troubles lies somewhere around here:
http://tinymce.moxiecode.com/punbb/viewtopic.php?id=4937
(it's the thread about the new compressor plugin and the difficulties people are having with it).
Comment #4
ricmadeira commentedI changed back to the previous PHP compressor, 1.0.8, and it's working fine now.
The new compressor seems to have an extra requirement that maybe tinymce.module doesn't support yet. The readme file now asks for a tinyMCE_GZ.init script in addition to the default tinyMCE.init one; maybe not having that is the source of our problems? Sorry, don't know enough about PHP and modules and Tinymce to test this.
Comment #5
ricmadeira commented(Just updating this to a bug report.)
Comment #6
phw commentedThe solution seems to be to add some options when loading the tiny_mce_gzip.php file. The following patch will do the work in the tinymce.module (line 200 following). I have attached the full file with the added patch.
Those options are explained in the TinyMCE compressor's readme. Maybe they changed something here, but I don't know since I have no experience with older versions of the compressor.
Comment #7
mupsi