Hi, i'm new at drupal and i'm getting the following error when updating to the lastest version of CKeditor:

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://www.***.com.ar/es/update.php?id=7&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function ckeditor_path() in /home/***/public_html/es/sites/all/modules/ckeditor/ckeditor.install on line 488

Then it takes me to another page that says:

The update process was aborted prematurely while running update #7003 in ckeditor.module. All errors have been logged. You may need to check the watchdog database table manually.

The log says:

Updated JavaScript translation file for the language...

TYPE locale
DATE Wednesday, November 2, 2011 - 20:15
USER admin
LOCATION http://www.***.com.ar/es/
REFERRER http://www.***.com.ar/es/update.php?op=start&id=6
MESSAGE Updated JavaScript translation file for the language Español.
SEVERITY notice
HOSTNAME 186.136.45.220

Would you please healp me or tell me where I can find a solution? I searched in the issues but didn't find anything about this.. Thanks!

Gabriela.

CommentFileSizeAuthor
#7 1329980.patch406 bytesjherencia
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mkesicki’s picture

Title: Hi, i'm » [D7] Problem with CKEditor module update
mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

Did you have CKEditor enabled and did it work ok before update ? During update was CKEditor module enabled ?

gabirgb’s picture

It was previously installed and working ok. At the moment of the update it was disabled, and the site was offline/ maintainance.
Thanks for changing the title =)

mkesicki’s picture

Try update when CKEditor module is enabled.

aquaurana’s picture

Thank you michael_cksource. Enabling CKeditor and then running update worked.

mkesicki’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
jherencia’s picture

Status: Closed (fixed) » Needs review
FileSize
406 bytes

Following the process to upgrade from D6 to D7 it says that all non-core modules should be disabled to run update.php. That means that ckeditor could be disabled when updating from D6 to D7.

This patch fixes this problem.

mkesicki’s picture

Thx @jherencia for your patch. We will try it and use it ASAP.

veg-o-matic’s picture

Pardon my ignorance, but how (and when) does one apply the patch? I tried replacing the 6.x version of ckeditor with the 7.x version, then ran patch -p0 < 1329980.patch. It asked what file I wanted to patch, so just guessing, I said ckeditor.install. I got the message that the file was patched, then ran update.php.
After running update.php, I got the same AJAX error as usual (see above.)

Clearly, I am doing something wrong...

gabirgb’s picture

Thanks to you all for your help, I really apreciate it. Running the update while ckeditor is active solved the problem.

astutonet’s picture

Hi.

I'm updating a site from D6 to D7. I also have a problem with update #7003 that may be related to this issue.

Whem I running update.php, I receiving this message:

ckeditor module
Update #7003
Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.ckeditor_input_format' doesn't exist: SELECT f.* FROM {ckeditor_input_format} f; Array ( ) in ckeditor_profile_load() (line 280 of C:\wamp\www\mysite\sites\all\modules\ckeditor\ckeditor.module).

The patch in #7 don't solve my question.

It's related? Any idea?

Tks

jherencia’s picture

The patch I appended solves the problem with #7003 that breaks update.php.

@astutonet
It seems that ckeditor_profile_load, which is executed in update_7003, expects that ckeditor_input_format has been created previously, but somehow it doesn't.

It's a problem that needs to get fixed, but I think we should open another issue.

astutonet’s picture

Ok.

The new issue is here.

Tks.

dczepierga’s picture

Status: Needs review » Fixed

@jherencia, really thx for patch, i commit it to GIT.

Greetings

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