after a system crash at my hosting although my db was ok, I had to reinstall all the drupal code so obviously I got the latest 4.7 versions of everything

I got the latest versions of tinymce & the gzip compressor from the tinymce site as documented in the install instructions for this module

but there seems to be some problem with tiny_mce_gzip.php

if the file exists then tiny_mce only shows "disable rich text" below the text box, if you remove tiny_mce_gzip.php everything works fine

I dont know if the problem is with this module or the actual tinymce code

but hopefully this may help others in the same position

tkgafs

Comments

hairylunch’s picture

Cross-posted in the original thread as well . . .

I was having this same problem. Looking over the tinyMCE compressor readme.html, the first line is:

Copy the tiny_mce_gzip.js and tiny_mce_gzip.php to the tiny_mce directory. The same directory that contains the tiny_mce.js file.

Apparently I hadn't copied over the tiny_mce_gzip.js, and once I added it, everything worked.

From what I can tell, the install.txt for the module needs to be updated to include this . . .

MsDetta’s picture

Thanks for posting this, it certainly fixed my problems. Might be a good idea to post this in forum -- there were others having problems they couldn't solve.

kreynen’s picture

Assigned: Unassigned » kreynen
Priority: Normal » Critical
kreynen’s picture

Status: Active » Closed (duplicate)
nathanraft’s picture

Hairylunch's instructions work for me to.

What about the instructions in the compressor readme file? They state;

Here is a step by step list on how to install the GZip compressor.

Copy the tiny_mce_gzip.js and tiny_mce_gzip.php to the tiny_mce directory. The same directory that contains the tiny_mce.js file.
Remove the current script tag.

Add the new new GZip script

.
Add the new GZip initialization call that will tell the compressor what to include in the output. This should be the sum of all and themes, plugins contained on page.

Anyone know if this needs to be done too or is this handled by the drupal module? given that the install.txt does not list moving the .js file as well has this been forgotten too?

nathanraft’s picture

The reason I ask is because I really don't notice a difference in page loads with or without the compressor. Is there a good way to test this?

johnalbin’s picture

This sounds very similar to the problem I’m experiencing when trying to patch TinyMCE with support for compressor 1.1.0.

See http://drupal.org/node/110761 The more eyeballs looking at this problem, the better.