ThWboard Support-Forum (Archiv)

Ort: / Boardübersicht / Probleme und Fragen / Fehlermeldung


Seite 1 von 1

SEBASTIAN schrieb am 25.05.2006 um 17:26 Uhr

Habe mal wieder ein Problem:

Warning: Uninitialized string offset: -1 in /mnt/ja1/01/294/00000017/htdocs/thwboard/newtopic.php on line 116

Was bedeutet das bzw. wie begebe ich das problem?

Narodnaja schrieb am 26.05.2006 um 16:14 Uhr

Poste doch mal als erstes deine Zeilen aus der newtopic.php, so von 110 bis 120 ;)

SEBASTIAN schrieb am 26.05.2006 um 17:26 Uhr

In der Zeile 110 - 120 steht Folgendes :

}
else
{
$msg = '';

// strip session id & time
$board_url = str_replace('/', '\/', (($config['board_baseurl'][(strlen($config['board_baseurl']) - 1)] == '/') ? $config['board_baseurl'] : $config['board_baseurl'].'/'));
$post['posttext'] = preg_replace("/(".$board_url."[^ ]+\.php[^ ]*)([?&]s=[^?&]+)/", '$1', $post['posttext']);
$post['posttext'] = preg_replace("/(".$board_url."[^ ]+\.php[^ ]*)([?&]time=[^?&]+)/", '$1', $post['posttext']);

Seite 1 von 1