nntp import notice [message #161124] |
Mon, 16 November 2009 16:13 |
jm2morri
Messages: 225 Registered: January 2009 Location: Stratford, Ontario, Canad...
Karma: 0
|
Senior Member |
|
|
Hello all,
FYI, I noticed this line while I was re-importing some nntp forums
PHP Notice: Uninitialized string offset: 553 in /var/data/fudforum_data/include/theme/default/post_proc.inc on line 427
It happened about 10 times importing 10,000 messages so I'm not too worried about it--everything seems OK. But it might be something to clean up the next time someone is in that section of code.
James.
|
|
|
|
Re: nntp import notice [message #161143 is a reply to message #161129] |
Tue, 17 November 2009 14:10 |
jm2morri
Messages: 225 Registered: January 2009 Location: Stratford, Ontario, Canad...
Karma: 0
|
Senior Member |
|
|
naudefj wrote on Mon, 16 November 2009 11:31That file is generated when you rebuild a theme. Can you please post the content of line 427 here?
Here is it, line 427 is highlighted...
unset($GLOBALS['seps']['=']);
$ue = $pos;
while (1) {
++$ue;
if ($ue >= $l || isset($GLOBALS['seps'][$ostr[$ue]])) {
break;
}
if ($ostr[$ue] == '&') {
---> if ($ostr[$ue+4] == ';') {
$ue += 4;
continue;
}
if ($ostr[$ue+3] == ';' || $ostr[$ue+5] == ';') {
break;
}
}
if ($ue >= $l || isset($GLOBALS['seps'][$ostr[$ue]])) {
break;
}
}
$GLOBALS['seps']['='] = '=';
|
|
|