I'm trying to update my drupal+biblio test installation to D6. Drupal update to 6.1 works fine.
I installed biblio in sites/all/modules/ and run update.php. I get the following errors.

An error occurred. http://localhost/update.php?id=10&op=do <br /> <b>Fatal error</b>: Call to undefined function _system_update_utf8() in <b>/var/www/sites/all/modules/biblio/biblio.install</b> on line <b>361</b><br />

An error occurred. http://localhost/update.php?id=9&op=do <br /> <b>Fatal error</b>: Call to undefined function db_next_id() in <b>/var/www/sites/all/modules/biblio/biblio.install</b> on line <b>531</b><br />

It seems that the function _system_update_utf8() existed in install.inc in D5.7 but not in D6.1 (same for db_next_id() in database.mysql.inc).
I don't know how to try and fix that. Any hints?

Thanks.

Comments

rjerome’s picture

Actually, I'm a bit surprised that they are getting called, since those updates should only happen if you are upgrading an existing installation.

I will be releasing a new beta in the next few days, so you might be well advised to wait for it (or try the -dev version) since there are many fixes and additional features comming. Beta3 is already beging to show its age and has alot of known issues.

Ron.

matze_’s picture

I am upgrading an existing installation, sorry if that wasn't clear.
The old biblio version is 5.x-1.13. Should I update to 5.x-1.15 first, and then to Drupal6.1 and then biblio6.x-1.0?

In spite of the update errors, I enabled the module and it seems to work fine.

Thanks for your help... waiting for the next beta.

rjerome’s picture

Interesting.... The errors you reported indicate that all of the updates were run which it should not have happened if you had a 5.x-1.13 installation.

I'll have to do a little more testing of the upgrade path.

Ron.

gustav’s picture

Version: 6.x-1.0-beta3 » 6.x-1.x-dev
Category: support » bug

I can confirm that this bug still exists in the latest development release when upgrading from an existing Drupal 5 installation.

gustav’s picture

Title: update to biblio6.x-1.0-beta3 problems » Undefined function _system_update_utf8 called during updating

Changed issue title

liam morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.