Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.6
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2011 at 00:41 UTC
Updated:
28 Oct 2011 at 06:37 UTC
Jump to comment: Most recent
Comments
Comment #1
mkesicki commentedHave you run update.php (drupal script) after update ? Clear all drupal cache after update is also good idea.
If this doesn't help please save all 3 CKEditor profiles (but this should be not necessary).
Comment #2
Chad_Dupuis commentedThis -is- when I run update... by "cannot update" I mean update.php fails with the listed error.... sorry if that wasn't clear...
I tried again after saving all three profiles, same error:
An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Please continue to the error page
An error occurred. http://mysite/update.php?id=16&op=do
Fatal error: Call to undefined function ckeditor_plugins_path() in /srv/mysite/public/sites/all/modules/ckeditor/ckeditor.install on line 484
Comment #3
mkesicki commentedComment #4
dczepierga commentedOk i found where is problem... u trying to update ckeditor module when it is disabled.
I fix it and commit to GIT, so pls update to last DEV version and try to update or enable CKEditor module and then try to launch update :)
Greetings
Comment #5
Chad_Dupuis commentedI'll try the dev if you think it will work - but ckeditor -is- enabled when I am updating it...
Comment #6
Chad_Dupuis commentedtried the dev and I get the same error:
An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.
Please continue to the error page
An error occurred. http://mysite.com/update.php?id=17&op=do
Fatal error: Call to undefined function ckeditor_plugins_path() in /mysite/public/sites/all/modules/ckeditor/ckeditor.install on line 484
Comment #7
dczepierga commented@Chad_Dupuis, could u check that u have in "ckeditor.install" file on lines 477-478 (inside ckeditor_update_6101 function) following lines:
Greetings
Comment #8
Chad_Dupuis commentedYes, here's the lines:
function ckeditor_update_6101() {
module_load_include('module', 'ckeditor');
module_load_include('inc', 'ckeditor', 'includes/ckeditor.lib');
What I don't have anywhere, however, is a ckeditor.lib file?? am I missing a directory somehow? This has been working for a long time and I've never had any problems updating or using ckeditor before though...
Comment #9
dczepierga commentedU should have
ckeditor.lib.incfile insites/all/modules/ckeditor/includes. Do u don't see this file there?Greetings
Comment #10
Chad_Dupuis commentedYes, I have that, I had searched for ckeditor.lib (not .lib.inc)
Comment #11
bscsi commentedAlso seeing the same error when trying to run update.php after installing 6.x-1.6 CKEditor Module.
Here is the entry from my httpd/error_log file... same as noted above.
[Fri Sep 16 13:03:59 2011] [error] [client 204.227.125.17] PHP Fatal error: Call to undefined function ckeditor_path() in /var/www/html/sites/all/modules/ckeditor/ckeditor.install on line 481, referer: http://xxx.xxx.xxx.xxx/update.php?op=start&id=141
Comment #12
dczepierga commentedCould u tell me which version of Drupal do u use? Because i cannot reproduce this on windows and linux webserver with last Drupal version.
Greetings
Comment #13
Chad_Dupuis commentedI have 6.22 on a linux server (there's a chance it's pressflow, but I don't think this site is - either way I cannot imagine that would matter)...
Comment #14
joeebel commentedSame issue here... SUB
Comment #15
bscsi commentedDrupal 6.22
MySQL 5.1.52
PHP 5.3.3
Red Hat Enterprise Linux Workstation release 6.1 x64
Apache 2.2.15-9.el6_1.2.x86_64
Comment #16
dczepierga commented@joeebel, u are using linux server too?
Do u have any specific options enabled, like open_basedir, safemode or sth like that?
Greetings
Comment #17
Chad_Dupuis commentedon mine, all the settings are default as far as I know...
Comment #18
j0nathan commentedSame issue from 6.x-1.5 to 6.x-1.6 in Aegir.
Comment #19
j0nathan commented@dczepierga (#12)
I use Pressflow 6.22.104.
Comment #20
j0nathan commentedAll the sites where I got the error were having the module ckeditor disabled and not uninstalled.
An error like this in Aegir causes migration failure between platforms. So this was not possible to update the module ckeditor normally and it has to be done manually site by site. In fact, I just copied the old version of the module into the site's folder instead of sites/all and I was able to migrate them to the new platform.
Comment #21
Anonymous (not verified) commentedI have the same Problem:
Drupal: 6.22
OS: SuSE Enterprise Server 11
PHP: 5.2.6
MySQL: 5.0.67
Greetings
Comment #22
Chad_Dupuis commentedI recently added two other updates to my site, ran update.php and then they all went through, including ckeditor.... no more errors on update...
Comment #23
mkesicki commented