News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Search Result Is outputing codes, After upgrading to 2.0.7

Started by drfun, February 09, 2014, 03:10:06 PM

Previous topic - Next topic

drfun

Good day all, especially to all the smf developers, thanks for the great work you all are doing.
Please i dont really know if this is a bug, but i noticed this after upgrading my forum from 2.0.6 to 2.0.7 , when i used the search to search within my forum i notice it output codes instead of the topic that is related to what i am searching for.
Bellow is an attach of what it looks like. i will be glad if i am guarded on what to do.
Thanks
ECLIKS -Global Online community for Questions and Answers

margarett

Not sure if this is related to the 2.0.7 patch or not, but there was a first one that had some issues so you might have installed that one.
Please uninstall and delete the 2.0.7 patch via Package Manager and download and install the actual one.
http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.7.tar.gz
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair


drfun

Quote from: margarett on February 09, 2014, 11:35:52 PM
Not sure if this is related to the 2.0.7 patch or not, but there was a first one that had some issues so you might have installed that one.
Please uninstall and delete the 2.0.7 patch via Package Manager and download and install the actual one.
http://custom.simplemachines.org/mods/downloads/smf_patch_2.0.7.tar.gz
Thanks for the response, i did as you directed but still got the same result. however i noticed if one should search with just few keywords, it dosnt throw out this error.
ECLIKS -Global Online community for Questions and Answers

drfun

Quote from: Arantor on February 09, 2014, 11:59:48 PM
http://www.simplemachines.org/community/index.php?topic=470968.0
Thanks Arator, i have looked at the link and i am following the topic, but there is yet to be a conclusive solution to it, i dont know if you will advice me to initiate this code by Aleksi "Lex" Kilpinen
QuoteExample attached as image.

The searched string was "Tee työtä jolla on tarkoitus" and the found Topic title was an exact match.

Changing this
$subject_highlighted = preg_replace('/(' . preg_quote($query, '/') . ')/i' . ($context['utf8'] ? 'u' : ''), '<strong class="highlight">$1</strong>', $subject_highlighted);


To This
$subject_highlighted = preg_replace('/(' . preg_quote($query, '/') . ')/i' . ($context['utf8'] ? 'u' : ''), '<b class="highlight">$1</b>', $subject_highlighted);
ECLIKS -Global Online community for Questions and Answers

Advertisement: