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

Home » FUDforum Development » Bug Reports » USENET sync breaks when it encounters posts w/"null" subjects (RESOLVED)
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
USENET sync breaks when it encounters posts w/"null" subjects (RESOLVED) [message #158001] Sun, 18 January 2009 20:18 Go to next message
kerryg is currently offline  kerryg   Canada
Messages: 157
Registered: September 2008
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Hi there. This thread is intended to organize information on resolving syncing FUDForum to USENET groups which contain "null" subject posts.

I'm trying to get FUDForum to sync with a private USENET group with an AWOL admin. Four or five posts scattered around three USENET subgroups were originally posted with empty subject lines, which I gather is "null" subjects. The admin cannot be reached to delete the posts.

When I attempt to sync FUDForum with the groups that contain those posts, sync proceeds fine right up until it hits one of the problem posts. At this point FUDForum cycles back and duplicates the immediately previous posts in an endless loop.

Frank has posted one patch (which has not yet resolved the problem) and we'll add to this thread as we move towards a resolution.

First patch tried:

http://cvs.prohost.org/c/index.cgi/FUDforum/rlog?f=install/forum_data/scrip ts/maillist.php

[Updated on: Thu, 05 February 2009 02:00]

Report message to a moderator

Re: USENET sync breaks when it encounters posts w/"null" subjects [message #158007 is a reply to message #158001] Mon, 19 January 2009 03:27 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
The patch was for a similar error when loading E-mail without a subject line. It was quite easy to simulate and therefore to fix. However, I'm not sure how to simulate a USENET load without subject lines. Can you please provide me with a test case or access to a system where I can debug the code?
Re: USENET sync breaks when it encounters posts w/"null" subjects [message #158051 is a reply to message #158007] Thu, 22 January 2009 16:02 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Can you please try this patch and let me know if it solves the problem?

http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11827
Re: USENET sync breaks when it encounters posts w/"null" subjects [message #158053 is a reply to message #158051] Thu, 22 January 2009 19:27 Go to previous messageGo to next message
kerryg is currently offline  kerryg   Canada
Messages: 157
Registered: September 2008
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I applied the patch, and am getting this error now:

/home/*******/FUDforum/scripts/nntp.php: line 1: ?php: No such file or directory
/home/*******/FUDforum/scripts/nntp.php: line 2: /FAKEFS: is a directory
/home/*******/FUDforum/scripts/nntp.php: line 3: syntax error near unexpected token `('
/home/*******/FUDforum/scripts/nntp.php: line 3: `* copyright            : (C) 2001-2007 Advanced Internet Designs Inc.'

Re: USENET sync breaks when it encounters posts w/"null" subjects [message #158054 is a reply to message #158053] Fri, 23 January 2009 00:35 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Something went wrong with your patching. The file must look like this one: http://cvs.prohost.org/c/index.cgi/FUDforum/getfile/install/forum_data/incl ude/nntp.inc?v=1.76
Re: USENET sync breaks when it encounters posts w/"null" subjects [message #158057 is a reply to message #158054] Fri, 23 January 2009 02:59 Go to previous message
kerryg is currently offline  kerryg   Canada
Messages: 157
Registered: September 2008
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
You're right, that was a botched patching job I did. Fixed now.

The bad news is that the third forum, the MAIN forum there, is still failing now (loops back at July 3 2005); check emails for error messages. The good news is it's not failing because of the "null header" issue any more - the "null header" posts come across as (no subject) now, and the second of the three groups is now successfully synced - the "null subject" issue itself appears to now be RESOLVED - great work!
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Postgres 8.03 Issue
Next Topic: THEMES DELETED? (RESOLVED)
Goto Forum:
  

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

Current Time: Mon Oct 23 18:49:45 EDT 2017

Total time taken to generate the page: 0.00649 seconds