Closed (fixed)
Project:
Wysiwyg
Version:
6.x-2.1
Component:
Editor - TinyMCE
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2010 at 20:52 UTC
Updated:
3 Dec 2010 at 14:10 UTC
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
Comment #1
sunThanks 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.
Comment #2
willow315 commentedCan 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.
Comment #3
twodIt'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.
Comment #4
steinmb commentedConfirm that this issue is resolved in the last dev. release