ich hab jetzt einmal die search-funktion meines boards ausprobiert. Wenn ich nach der Suche einen gefunden Artikel anklicke bekomme ich zwischen Kalender und Beitrag folgende Nachricht angezeigt:
Man kann zwar den kompletten Beitrags-Thread sehen, aber ohne Textinhalt, nur die Avatare und Profil-Infos.Warning: Compilation failed: nothing to repeat at offset 8 in /usr/export/www/vhosts/funnetwork/hosting/slunecko/phpBB2/viewtopic.php on line 1424
Warning: Compilation failed: nothing to repeat at offset 8 in /usr/export/www/vhosts/funnetwork/hosting/slunecko/phpBB2/viewtopic.php on line 1424
Warning: Compilation failed: nothing to repeat at offset 8 in /usr/export/www/vhosts/funnetwork/hosting/slunecko/phpBB2/viewtopic.php on line 1424
Warning: Compilation failed: nothing to repeat at offset 8 in /usr/export/www/vhosts/funnetwork/hosting/slunecko/phpBB2/viewtopic.php on line 1424
Warning: Compilation failed: nothing to repeat at offset 8 in /usr/export/www/vhosts/funnetwork/hosting/slunecko/phpBB2/viewtopic.php on line 1424
Mal in der viewtopic.php nachgeschaut haben die Zeilen 1418-1425 folgenden Inhalt (Zeile 1424=7):
Code: Alles auswählen
// Highlight active words (primarily for search)
//
if ($highlight_match)
{
// This was shamelessly 'borrowed' from volker at multiartstudio dot de
// via php.net's annotated manual
$message = str_replace('\"', '"', substr(preg_replace('#(\>(((?>?>([^><]+|(?R)))*)\<))#se', "preg_replace('#\b(" . $highlight_match . ")\b#i', '<span style=\"color:#" . $theme['fontcolor3'] . "\"><b>\\\\1</b></span>', '\\0')", '>' . $message . '<'), 1, -1));
}