The uninstall does not work the following error is logged in apache:-

PHP Fatal error: Call to undefined function sphinxsearch_get_search_path() in Z:\\environment\\www\\sites\\all\\modules\\sphinxsearch\\sphinxsearch.module on line 100, referer: http://localhost/admin/build/modules/uninstall/confirm

I think its something to do with the fact the sphinxsearch_init hook is NOT run when the module isn't enabled but when you run uninstall module it does call sphinxsearch_menu hook.

Comments

markus_petrux’s picture

Status: Active » Needs review

Try adding the following on top of the sphinxsearch.module script.

/**
 * Load common module functions.
 */
$module_path = drupal_get_path('module', 'sphinxsearch');
require_once($module_path .'/sphinxsearch.common.inc');
require_once($module_path .'/sphinxsearch.taxonomy.inc');

I have this fixed in my local copy, just it is in the middle of a few more changes, some related to finishing the port to D6, and some others not.

Sorry for the headache. I hope to get sometime soon to continue this job.

sped2773’s picture

Status: Needs review » Reviewed & tested by the community
markus_petrux’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

I'll be marking all issues related to D6 port of this module as dup of this one:

http://drupal.org/node/306959

I hope to get things fixed by this weekend.

markus_petrux’s picture

Status: Closed (duplicate) » Fixed

This should be fixed in new development snapshot that will be generated next midnight.

markus_petrux’s picture

Status: Fixed » Closed (fixed)