3

I have installed CKEditor correctly and still get the error:

The CKEditor component is not installed correctly. Please go to the CKEditor homepage in order to download the latest version. After that you must extract the files to the sites/all/modules/ckeditor/ckeditor or sites/all/libraries/ckeditor directory and make sure that the sites/all/modules/ckeditor/ckeditor/ckeditor.js or sites/all/libraries/ckeditor/ckeditor.js file exists. Refer to the README.txt file for more information.

I have downloaded and re-downloaded CKEditor several times. Everything is there but still getting error.

I am also confused about exactly what to put in the CKEditor global profile.

4
  • Check this video. this may help you youtube.com/watch?v=Bzg26YJi2W8 Commented Dec 21, 2012 at 9:06
  • Are you using CKEditor 4.x perhaps and are you using the freestanding version of the drupal module or WYSIWYG module? What version of the module are you using? Commented Apr 1, 2013 at 18:10
  • Could you explain what do you mean about "the CK editor global profile."?
    – gerzenstl
    Commented Aug 29, 2014 at 22:14
  • This video may be helpful also. Latest I found on CKEditor installation. goo.gl/7tPvu5
    – Adamtan
    Commented Oct 17, 2015 at 13:00

3 Answers 3

4

It's an issue that happens from time to time.

The instructions that you see are fine:

Extract the archive and copy its contents into a new folder in the following location: sites/all/libraries/ckeditor

So the actual library can be found at: sites/all/libraries/ckeditor/ckeditor.js

If the issue is caused by the message "The version of CKEditor could not be detected." at admin/config/content/wysiwyg.

This solution helped me yesterday:

  1. Open "\sites\all\libraries\ckeditor\ckeditor.js" file in a text editor.
  2. Add in the first line of the ckeditor.js file:

    // version:'4.4.4',revision:'4391'

and save it.

You can get more help about this module on the documentation page.

2

I had the same problem and found a solution at https://drupal.org/node/1161738#comment-7857451.

In the file: .../modules/wysiwyg/editors/ckeditor.inc at about line 81

replace

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

with

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

Have you moved the files to sites/all/libraries/ckeditor or sites/all/modules/ckeditor/ckeditor and tried clearing your cache by going to /admin/config/development/performance and selecting clear caches? I know that is redudant with the error message. The global profile doesn't normally need changes, it's really the 'advanced' and 'full' profiles that do, these are where you select what kind of buttons you want etc etc.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.