Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Jade Elizabeth - maaliskuu 10, 2014, 08:02:57 AP

Otsikko: Search Bug? SMF? Not sure!
Kirjoitti: Jade Elizabeth - maaliskuu 10, 2014, 08:02:57 AP
When I literally search for nothing I get this error:

8: Undefined variable: fulltext_score_Capable_Words
/DCSearch.php
Line: 1674


Is this normal or could it be something I did?

Otsikko: Re: Search Bug? SMF? Not sure!
Kirjoitti: margarett - maaliskuu 10, 2014, 08:40:08 AP
fulltext_score_Capable_Words is not something I find in my clean SMF install...

Also, DCSearch isn't part of SMF. In Search.php there is a similar line:
$ignoreRequest = $searchAPI->indexedWordQuery($words, $search_data);
but, as you see, no $fulltext_score_Capable_Words variable is passed to that function...

What search-related MODs are you using?
Otsikko: Re: Search Bug? SMF? Not sure!
Kirjoitti: Shambles - maaliskuu 10, 2014, 09:59:30 AP
My guess is...


http://custom.simplemachines.org/mods/index.php?mod=887
Otsikko: Re: Search Bug? SMF? Not sure!
Kirjoitti: Jade Elizabeth - maaliskuu 11, 2014, 02:13:01 AP
Yep looks like that's the mod. I have the latest version too.
Otsikko: Re: Search Bug? SMF? Not sure!
Kirjoitti: Antechinus - maaliskuu 11, 2014, 02:24:09 AP
Searching for nothing is like dividing by zero. Your fourm will throw tantrums. :P
Otsikko: Re: Search Bug? SMF? Not sure!
Kirjoitti: margarett - maaliskuu 11, 2014, 06:07:53 AP
This MOD is for 1.1, should you be using it?