Closed (fixed)
Project:
Sphinx Search
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2008 at 09:58 UTC
Updated:
28 Oct 2008 at 18:43 UTC
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
Comment #1
sped2773 commentedLooked 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.Comment #2
markus_petrux commentedYep, use of drupal_help_arg() is missig here. Please, try this:
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.
Comment #3
sped2773 commentedThanks. This fixes it.
Comment #4
sped2773 commentedComment #5
markus_petrux commentedI'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.
Comment #6
markus_petrux commentedThis should be fixed in new development snapshot that will be generated next midnight.
Comment #7
markus_petrux commented