When attempting to deploy this module on drupal.org, we ran into a snag in which it seems the support for remote xapian servers is not working properly. The error is:
Fatal error: No matching function for overloaded 'new_WritableDatabase' in /usr/share/php5/xapian.php on line 1118
The error seems to be that we're passing in an invalid $db_source when configured for a remote database (line 348 of the xapian.module). With a local database $db_source is a string, and this works fine. With a remote database, $db_source is an object and new_WritableDatabase evidently isn't expecting that.
I'm opening the bug now to track this, but I'm offline for a few days. I'll look into it more when I return. Patches are of course welcome!
Comments
Comment #1
jeremy commentedThis error is because the Xapian API is not consistent between local and remote databases. Fix committed, based on this old Xapian mailing list discussion.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.