Hello all, I apologize in advanced if this bug is submitted elsewhere but I had problems with wysiwyg detecting the TinyMCE version of the newest release 3.3.9.2.

Anyway, it's an easy fix, it looks like 100 characters is no longer enough to grab the version out of the tiny_mce.js file

So a simple edit to tinymce.inc on line 87:

Change

// Version is contained in the first 100 chars.
  $line = fgets($script, 100);

To

// Version is contained in the first 200 chars.
  $line = fgets($script, 200);

It probably doesn't have to be 200 (i didn't count) but once i changed it to 200 it worked like a champ. I hope this helps.

Comments

sun’s picture

Status: Active » Fixed

Thanks for taking the time to report this issue.

However, this has been fixed in the latest development snapshot already. We're trying to gather user feedback for the latest and greatest code currently, before we can do a new release.

willow315’s picture

Can you tell me where the file tinymce.inc is....I don't seem to have it in my version 3.3.9.2. I've looked in every folder and I can't find it. I'm getting this same error.

twod’s picture

It's part of Wysiwyg module itself, not the TinyMCE library.
It's located in wysiwyg/editors/tinymce.inc and I can guarantee it's there or you would not see TinyMCE listed under admin/settings/wysiwyg at all.

Simply install the latest development snapshot of Wysiwyg module and it'll be able to find and version check the TinyMCE library just fine.

steinmb’s picture

Confirm that this issue is resolved in the last dev. release

Status: Fixed » Closed (fixed)

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