I was just trying out Fuzzy Search 1.1 on one of my Drupal 5.2 sites today, when I tried enabling the module, I get the following error:

Fatal error: Call to undefined function fuzzysearch_reindex() in /home/account/public_html/mysite.com/sites/all/modules/fuzzysearch/fuzzysearch.install on

The site runs on MySQL 5.0.27 and PHP 5.2.1.

Comments

Anonymous’s picture

And here's the message in teh error log:

Anonymous’s picture

Oops...sorry about the double post, but not sure why the code part got cut off in the previous post, anyway here it is:

Table 'search_index_queue' already exists query: CREATE TABLE search_index_queue ( nid INT NOT NULL AUTO_INCREMENT PRIMARY KEY, module VARCHAR( 60 ) NOT NULL, timestamp INT( 11 ) NOT NULL ) in /home/account/public_html/mysite.com/includes/database.mysql.inc on line 172.

Table 'search_fuzzy_index' already exists query: CREATE TABLE search_fuzzy_index ( id int(11) NOT NULL auto_increment, sid int(11) NOT NULL, trigram varchar(6) character set utf8 NOT NULL, completeness double NOT NULL, score decimal(8,2) NOT NULL, total decimal(8,2) NOT NULL, PRIMARY KEY (`id`) ) in /home/account/public_html/mysite.com/includes/database.mysql.inc on line 172.
BlakeLucchesi’s picture

Status: Active » Fixed

Sorry about this issue, it shouldn't create any errors in its use. All that is happening is that your nodes aren't being initially queued for indexing. This means you'll have to go to the admin settings at /admin/settings/fuzzysearch and then click to reindex your site, and then run your sites cron job. Sorry for the confusion and I have fixed this in the next release.

Anonymous’s picture

Status: Fixed » Closed (fixed)