When no search results are return the following warning occurs:-

warning: Missing argument 2 for sphinxsearch_help(), called in Z:\environment\www\sites\all\modules\sphinxsearch\sphinxsearch.pages.inc on line 73 and defined in Z:\environment\www\sites\all\modules\sphinxsearch\sphinxsearch.module on line 13.

Comments

sped2773’s picture

Looked further into this, the call to sphinxsearch_help($path, $arg) expects 2 arguments but in sphinxsearch.pages.inc on line 73
$output = theme('box', t('Your search yielded no results'), sphinxsearch_help('sphinxsearch#noresults')); only passes 1 argument.

markus_petrux’s picture

Status: Active » Needs review

Yep, use of drupal_help_arg() is missig here. Please, try this:

$output = theme('box', t('Your search yielded no results'), sphinxsearch_help('sphinxsearch#noresults', drupal_help_arg()));

PS: My daily job is keeping me busy enough these days, and I'm desperately trying to find a hole to finish the port to D6 and keep adding more features.

sped2773’s picture

Thanks. This fixes it.

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)