Hello...
I have a problem with the search function.
I make a new fresh installation of SMF 1.1 RC1 here : http://www.igga.gr/smf11full
and as you can see the search is not working.
I make another installation of SMF 1.05 here : http://www.igga.gr/smf105
and the search is working without any problem.
I bet that is something to do with the PHP version of my server.
So i will need your help.
The PHP version on the server is 4.3.11
You can see PHP info here : http://www.igga.gr/phpinfo.php
Thank you in advance for any help and sorry for my bad english :)
Can someone suggest me something about that problem ;
Thank you.
1.1 is having problems with some hosts and the search option.
And what is the reason for this ?
What can i do ?
Anyone ???
Try changing the search method to "Regular Search - match complete words" (Admin -> Search -> Search method) and see if it works then...
I just did that.
No change.
Search is not working.
Can you try disabling the spell check? Might be something in there that causes it.
Heyyyy !!!!!
Thats it !!!!!!
I disable Spell Check and now search is working :)
But why is working in SMF 1.05 with Speel Check enabled ?
Thank you anyway Compuart :)
I've been having the same problem with searching on 1.1 RC1. Turned off the spell checker and voilĂ , the search now works.
The search function of 1.0.5 doesn't take advantage of the spell check feature. SMF 1.1 RC1 uses it to do search suggestions ('did you mean to search for xyz').
Cool.
So you get a better search function with this.
Too bad i cant use it on my server.
Thank you very much again :)
Quote from: Compuart on November 09, 2005, 10:27:40 AM
The search function of 1.0.5 doesn't take advantage of the spell check feature. SMF 1.1 RC1 uses it to do search suggestions ('did you mean to search for xyz').
Can integrated search/spell feature be easily disabled so that we can use the spell check and search on 1.1 RC1? I don't mind fiddling with the code, so long as it's not a long and complicated fix.
Thanks! :)
It's an easy code fix. Just remove this block completely:
// *** Spell checking
$context['show_spellchecking'] = $modSettings['enableSpellChecking'] && function_exists('pspell_new');
if ($context['show_spellchecking'])
{
...
$context['did_you_mean'] = preg_replace('~&#(\d{4,5}|[2-9]\d{2,4}|1[2-9]\d);~', '&#$1;', $context['did_you_mean']);
}
}
Brilliant! Thanks!
Quote from: Compuart on November 09, 2005, 02:57:36 PM
It's an easy code fix. Just remove this block completely:
// *** Spell checking
$context['show_spellchecking'] = $modSettings['enableSpellChecking'] && function_exists('pspell_new');
if ($context['show_spellchecking'])
{
...
$context['did_you_mean'] = preg_replace('~&#(\d{4,5}|[2-9]\d{2,4}|1[2-9]\d);~', '&#$1;', $context['did_you_mean']);
}
}
Compuart it would be better if the spellcheck is disabled that i will be disabled for the search also.
If you disable spellcheck it's disabled in search as well. Removing that code block will simply remove it from search, but keep it for posts and personal messages.
Quote from: Compuart on November 09, 2005, 04:19:21 PM
If you disable spellcheck it isn't used in search either. Removing that code block will simply remove it from search, but keep it for posts and personal messages.
Oh ok. But if its not working on the search it shouldn't be working on the posting in topcs.
indeed
I want to thank you all, this has been happening to me, and I havn't been able to fix it for a month or so now. Thanks.
Can you please please post a link to your phpinfo.php file?
What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)