Closed (fixed)
Project:
Internationalization
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2008 at 23:57 UTC
Updated:
23 Aug 2008 at 16:24 UTC
I had Drupal 5. Disabled all my modules, upgraded to Drupal 6. Downloaded i18n, extracted, enabled it, ran update.php and received the follow message from there:
An error occurred. http://amarok.kde.org/update.php?id=6&op=do <br /> <b>Fatal error</b>: Call to undefined function _system_update_utf8() in <b>/home/amarok/amarok.kde.org/modules/i18n/i18n.install</b> on line <b>100</b><br />
Comments
Comment #1
eean commentedI tried the latest i18n snapshot, and received this error instead:
An error occurred. http://amarok.kde.org/update.php?id=7&op=do <br /> <b>Fatal error</b>: Call to undefined function tt() in <b>/home/amarok/amarok.kde.org/modules/i18n/i18nblocks/i18nblocks.module</b> on line <b>197</b><br />Comment #2
wim leersWithout having looked at the code, it seems like the .install file is relying on functions that are defined *outside* of the .install file, i.e. somewhere in the i18n module. Copying those into the .install file, renaming them and then using them, should fix that.
Comment #3
eean commentedEnabling the Strings module gave me the original error message. So there probably is a bug there, the Strings module needs to be enabled for i18n to update but that dependency isn't explicit.
Doesn't solve my first problem though. :) I'll look to see if I can find where _system_update_utf8() is defined, if anywhere...
Comment #4
eean commentedIn reference to the _system_update_utf8 function:
<Bdragon> Yeah, you can remove any old updates containing it... It was for the 4.6 to 4.7 conversion. http://drupal.org/node/22218#utf8_sqlSo that's what I did, just removed the two calls of that function. The update is now working it looks like.
Comment #5
jose reyero commentedThese were old upgrade scripts from 4.x and 5.x
You should have the module updated to latest 5.x before attempting D6 upgrade.
Removed that obsoleted functions.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.