After some time of analysing i found that after updating file ckeditor.module to version 1.4.2.27.2.22 (may be earlie, from version 1.4.2.27.2.20), module stop determing the version of CKEditor. I think the path of the editor can't be find correctly (my path /sites/all/libraries/ckeditor).
How this problem can be fixed?
P.S. In version 1.0 version of CKEditor determing correctly

CommentFileSizeAuthor
#3 Screenshot - Status report.pdf129.14 KBkerrycurtain
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dczepierga’s picture

Status: Active » Fixed
Issue tags: +D7, +#d7ux, +ckeditor-7.x

Ok i found bug during install and detecting of CKEditor plugin path. I fix it and commit to CVS.

Please check the latest dev release and let me know if you notice any problems with it. Remember to clear Drupal cache and browsers cache before testing.

After copy new CKEditor module pls make update, then your config will be fixed.

Greetings

Status: Fixed » Closed (fixed)

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

kerrycurtain’s picture

FileSize
129.14 KB

CKEditor version could not be determined

I have had this message in the status report ever since installing ckeditor about 2 months ago. The wysiwyg seems to work as expected but from time to time something weird will occur. I am wondering if these things are related to the unfound version.

I have worked many hours troubleshooting and testing with no luck. Can someone please advise how to fix this or whether it is actually ok to accept this error message and move on.

Running version latest dev version of CKeditor for wysiwyg & 3.6.6 ckeditor

installed sites/all/modules/ckeditor/ckeditor

Pls note if I put ckeditor into sites/all/libraries the wysiwyg does not show up.

Screenshot of status report attached.

Thanks in advance.

kerrycurtain’s picture

Happy to say problem solved. Simple as having an incorrect local path to CKeditor in Global profile. left it blank and all probs solved -
in less than 24hrs - I am finally improving:)

Hope this helps someone else.

CarlHinton’s picture

The Drupal 7 WYSIWYG module allows you to choose an editor that's best for you including the renamed FCKEditor, now called CKEditor.

However, for those of you using CKEditor 4.0 or higher, you might see the following error message after you've downloaded CKEditor into your sites/all/libraries directory:

"The version of CKEditor could not be detected."

This issue is caused because the WYSIWYG editor reads the CKEditor.js file and does a pattern match looking for the version number. In older CKEditor releases, this string looked like this:

version:'3.0.1´,revision:'4391´

In newer versions, it's changed very slightly to this:

version:"4.0´´,revision:"769d96134b"

Notice the change from single to double quotes?

This stops WYSIWYG detecting the version, hence the error.
The Fix

Edit '\sites\all\modules\wysiwyg\ckeditor.inc' and at about line 83, replace this line:
1

if (preg_match('@version:\'(?:CKEditor )?([\d\.]+)(?:.+revision:\'([\d]+))?@', $line, $version)) {

With this (just replace the two 's with ")
1

if (preg_match('@version:\"(?:CKEditor )?([\d\.]+)(?:.+revision:\"([\d]+))?@', $line, $version)) {

All will now be ok

- This needs a patch - and the patch is found here https://drupal.org/node/1853550

Skandabhatt’s picture

Issue summary: View changes

just download "CKEditor 3.6.6.2.7696", not the recent version.
Worked well for me