Closed (fixed)
Project:
Similar Entries
Version:
7.x-2.0-beta1
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2011 at 19:42 UTC
Updated:
1 Mar 2012 at 08:10 UTC
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
Comment #1
jordojuice commentedFixed. Thanks