I'm having this error in D6.28 (latest) and CKeditor 6.x-1.13 (latest), on the page by which you modify the settings for a certain editor-profile (e.g.: admin/settings/ckeditor/edit/Default):
Fatal error: Call to undefined function jquery_update_get_version() in /var/www/vhosts/domain.com.be/httpdocs/sites/all/modules/ckeditor/includes/ckeditor.admin.inc on line 639
(Cleared the cache, ran update.php)
When the jQuery Update (6.x-2.0-alpha1 - latest) module is switched off, the aforementionned page is accessible again.
I'm not really sure whether I should report this to the maintainer of jQuery Update or CKeditor, so feel free to move it if deemed appropriate.
Comment | File | Size | Author |
---|---|---|---|
#9 | jquery problem with ckeditor.png | 56.28 KB | NickLitten |
#9 | always use seven in admin mode.png | 88.41 KB | NickLitten |
Comments
Comment #0.0
knalstaaf CreditAttribution: knalstaaf commentedclosed opening tag code
Comment #0.1
knalstaaf CreditAttribution: knalstaaf commented(link to ckeditor version)
Comment #0.2
knalstaaf CreditAttribution: knalstaaf commentedorder sentences
Comment #1
knalstaaf CreditAttribution: knalstaaf commentedWhen looking at the file where the error refers to, it seems to be better to move it to the issues of CKeditor first.
Comment #1.0
knalstaaf CreditAttribution: knalstaaf commentedremove
Comment #2
knalstaaf CreditAttribution: knalstaaf commentedComment #3
wwalc CreditAttribution: wwalc commentedThis is really weird.
jquery_update_get_version()
is indeed called by CKEditor module but along with a check if that module is actually available:jquery_update_get_version
is defined injquery_update.module
The error is not happening on my local installation to make the debugging process easier :)
This can be easily solved by changing
!module_exists('jquery_update')
into!function_exists('jquery_update_get_version')
though I'd love to understand what's happening here.Can you verify whether jquery_update.module is not broken on your Drupal installation?
Comment #4
knalstaaf CreditAttribution: knalstaaf commentedI'll report back...
Comment #5
wwalc CreditAttribution: wwalc commentedIs jquery_update enabled there? I see jQuery 1.2.6.
Comment #6
knalstaaf CreditAttribution: knalstaaf commentedI had disabled the jQuery Update module because our client couldn't access the CKeditor to edit his content. When I enable it, it reads
jQuery JavaScript Library v1.3.2
, instead of 1.2.6 when it's disabled.Replacing jQuery Update 6.x-2.0-alpha1 with 6.x-2.x-dev solves this issue though.
So the issue resides in the jQuery update-module after all. Thanks for the swift response, wwalc.
Comment #7
knalstaaf CreditAttribution: knalstaaf commentedComment #8
erald CreditAttribution: erald commentedThis is true if you only activate jquery update module (dev version) everything works perfectly but as soon I activate my superfish menu (needs jquery update) things do not work anymore. having then the same issue.
edit >>>
It is working when updating the superfish library to the latest version
Comment #9
NickLitten CreditAttribution: NickLitten commentedI've had a similar problem and found this as a solution.
It seems that CKEDITOR 4.x needs JQuery 1.5 to work properly. But JQuery 1.5 gives me problems with some older browers that my client is using (IE7/8) so I switch to Jquery 1.8 and the site looks good in IE but suddenly CKEDITOR it not working. Hmmm...
luckily - downloading and installing 2013-May-02 http://ftp.drupal.org/files/projects/jquery_update-7.x-2.x-dev.tar.gz lets me specify a version for the main site and a older version when in ADMIN mode.
Version options
Default jQuery Version
Alternate jQuery version for administrative pages
Optionally select a different version of jQuery to use on administrative pages.
So, I set my theme to always use administration mode (and therefore jquery 1.5) when editing and using CKEDITOR:
/admin/appearance and check 'Use the administration theme when editing or creating content'
Now I view site using JQUERY 1.8 and it works great and edit using 1.5 and CKEDITOR is happy.
Comment #9.0
NickLitten CreditAttribution: NickLitten commentedlink to jquery update
Comment #10
markhalliwellDrupal 6 reached EOL (end-of-life) on February 24, 2016.