I have a dev site that I have upgraded to Drupal 7 and have begun testing the upgrade with all of the contrib modules that we use on our production site. When I tried upgrading the book access module I received the below. Not sure if you are interested in this types of errors, I am not much of a coder but would be willing to do any testing if it's helpful.

An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://devel.sdmaonline.com/sdma7/update.php?id=81&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function update_sql() in /srv/www/htdocs/sdma7/sites/all/modules/book_access/book_access.install on line 248

The update process was aborted prematurely while running update #6200 in book_access.module. All errors have been logged.

Comments

stuen93’s picture

As mentioned I am not a coder but did some searching and ran into this: http://drupal.org/update/modules/6/7#update_sql

Anonymous’s picture

Title: Drupal 7 Migration » Installation file has not been updated to Drupal 7
Category: support » bug
Status: Active » Fixed

Thank for the report.

The installation file was not updated to Drupal 7 (the installation hook still contained a call to drupal_install_schema(), which is not anymore necessary in Drupal 7).

I have also removed any Drupal 6 update functions, which where the ones containing the call to update_sql().

Status: Fixed » Closed (fixed)

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