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

Home » FUDforum Development » Bug Reports » nntp import notice
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
nntp import notice [message #161124] Mon, 16 November 2009 11:13 Go to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 11:31 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 09:10 Go to previous message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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']['='] = '=';


Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sun Dec 17 16:39:52 EST 2017

Total time taken to generate the page: 0.00626 seconds