Download & Extend

Multiple errors when upgrading from Drupal 6 & Similar v1.2 -> Drupal 7 & Similar 7.x-2.0 beta 1

Project:Similar Entries
Version:7.x-2.0-beta1
Component:Miscellaneous
Category:bug report
Priority:major
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The first error I received upon running update.php was for an undefined method "update_sql". The "similar.install" file referes to this method in 2 places, and I was able to work around this error by replacing it with "db_query".

The next error I received was that there was no such table as drupal.blocks. This I was able to fix by wrapping those 2 SQL queries in the following conditional:

if ( db_table_exists('blocks') ) {
...
}

Comments

#1

Status:active» fixed

Fixed. Thanks

#2

Status:fixed» closed (fixed)

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

nobody click here