FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » nntp import notice
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
nntp import notice [message #161124] Mon, 16 November 2009 16:13 Go to next message
jm2morri is currently offline  jm2morri   Canada
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 #161129 is a reply to message #161124] Mon, 16 November 2009 16:31 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
That file is generated when you rebuild a theme. Can you please post the content of line 427 here?
Re: nntp import notice [message #161143 is a reply to message #161129] Tue, 17 November 2009 14:10 Go to previous message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
naudefj wrote on Mon, 16 November 2009 11:31
That 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']['='] = '=';


  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: nntp import crashed
Next Topic: Can't rebuild, compact or do datadump, and NNTP sync fails
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 27 17:16:24 GMT 2024

Total time taken to generate the page: 0.02585 seconds