News:

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

Main Menu

Missing code when installing patch

Started by Leppie, January 27, 2015, 06:07:14 PM

Previous topic - Next topic

Leppie

I am trying to patch my forum from 2.0.7 to 2.0.8, but I am getting an error for the ./Sources/Search.php modifications as one of the 3 searches fails.

The following line appears to be missing from my Search.php:
$body_highlighted = preg_replace_callback('/((<[^>]*)|' . preg_quote(strtr($query, array('\'' => '&#039;')), '/') . ')/i' . ($context['utf8'] ? 'u' : ''), create_function('$m', 'return isset($m[2]) && "$m[2]" == "$m[1]" ? stripslashes("$m[1]") : "<strong class=\"highlight\">$m[1]</strong>";'), $body_highlighted);

As stated, I am running version 2.0.7 with the following mods:

  • Bad Behavior mod   1.5.15
  • Spiders Don't Increase Topic Views   1.1.1
  • Topic Solved   1.1.1
  • Karma Buttons   1.1
  • SMF Staff Page   1.7
  • Aeva ~ Auto-Embed Video & Audio   7.2
  • Yet Another Global Announcements Mod   2.7.4
  • Stop Spammer   2.3.9
  • SMF Multi Quote   1.1.3
  • httpBL   2.5.1
  • No BBC   1
  • SimplePortal   2.3.5
  • Highlight Search Keywords   1.24

All suggestions welcome and thanks in advance :)

Kindred

your problem would likely be related to: Highlight Search Keywords
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: