The version of TinyMCE could not be detected.

Events happening in the community are now at Drupal community events on www.drupal.org.
Jorgen Sundberg's picture

I have installed Wysiwyg and tried both the TinyMCE and FCKEditor as editor libraires but the error messages I get are:

"The version of TinyMCE could not be detected" & "The version of FCKeditor could not be detected."

Any ideas?

I have tried reinstalling Wysiwyg but no luck.

Comments

Same here. Drupal 6.15 Tried

michaelbn's picture

Same here.

Drupal 6.15
Tried both TinyMCS 3.2.7 and the latest 3.b3

I have validated that the file sites/all/libraries/tinymce/jscripts/tiny_mce/tiny_mce.js exist and the permission is right.

Any idea?

TinyMCE 3.27 worked for

hansfn's picture

TinyMCE 3.27 worked for me...

PS! michaelbn found and fixed the bug with TinyMCE 3.3b1 - see http://drupal.org/node/695918

TinyMCE 3.27 Patch Worked

d3zign7reak's picture

Thanks for the reference, the patch supplied on that other thread worked!

Alvin Crespo
Interactive Developer and Designer
axc8405@rit.edu

thx for the fix info!

jessla's picture

Thanks so much for sharing this info. I tried a bunch of things (installing old versions of TinyMCE etc..) to no avail before I came across this info, and viola -- its all working now. Thank you for sharing.

I'm going insane...

SMartin's picture

Guys,

I've been knocking myself out against this for about six hours now...

I'm getting the 'The version of TinyMCE could not be detected' error using the current V2 release.

I did the 'So I changed it to 100 chars at the file sites/all/modules/wysiwyg/editors/tinymce.inc
$line = fgets($script, 100);" change but as soon as I reload the wysiwig setup page I just get an entirely blank page in return.

I then change the 100 back to 80, save and still get a blank page.

It's only when I replace the tinymce.inc file with a backup that I get my page back, complete with error (!).

How the heck can I get rid of my error, please.

S

Development snapshot

sun's picture

Please use the development snapshot.

Daniel F. Kudwien
netzstrategen

Check that you edit the

michaelbn's picture

Check that you edit the document with the proper encoding.
Its sound like you corrupted the file somehow.

Also, the latest 6.x-2.x-dev solved the problem. no need to patch anything.

Thanks!

SMartin's picture

Thanks Guys.

I used the dev version and things are working :-)

S

Version 3.3.9.1

unki2aut's picture

Had the same problem with version 3.3.9.1.

After a look at the sites/all/libraries/tinymce/jscript/tiny_mce/tiny_mce.js i noticed that the version number was not inside the first 100 chars, but not far away, so i changed the value for fgets to 150 and now it works well :)

Works like a charm!

rilo's picture

Thanks!

It works for the following versions:
WYSIWYG: 6.x-2.1 2010-Mar-08
TinyMCE: 3.3.9.2

Version 3.3.9.1

hifive's picture

hi, unki2aut, where to change the value for fgets to 150 ?

Finding Hifive: Farlee...

Version 3.3.9.1

unki2aut's picture

like SMartin mentioned before:

the file is "sites/all/modules/wysiwyg/editors/tinymce.inc"
search for "$line = fgets($script, 100);" and change the value from 100 to 150

it worked

isaacbowman.com's picture

thanks this worked perfectly

confirmed

shadyvb's picture

changing the value from 100 to 150 works greatly :)

It works!

flavio.correialima's picture

For me too! =D

WYSIWYG is currently supporting TinyMCE 3.2.

meytad's picture

WYSIWYG is currently supporting TinyMCE 3.2.

this solved my problem - thx

polishyourimage's picture

this solved my problem - thx

this worked

zinasahib's picture

Hi, I used to get the same error:
"The version of TinyMCE could not be detected." and this helped fix it:
http://hygen.net/blog/bugs/wysiwyg-the-version-of-tinymce-could-not-be-d...

See earlier comment by

rilo's picture

See earlier comment by unki2aut. The link you provided does not work (for me), the number must be higher

Already fixed

twod's picture

See the last part of http://drupal.org/node/695398. This was fixed in the -dev version a while ago and will be part of the next release.

Thank you

chrisloos's picture

This fixed my problem.

I am getting same error

technikh's picture

I am getting same error for
Wysiwyg 5.x-2.1
TinyMCE 3.4.7
CKEditor 3.6.2

The version of TinyMCE could not be detected.
The version of CKEditor could not be detected.

Wysiwyg

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: