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

Home » FUDforum Development » Bug Reports » NNTP Update problem using 2.3.6RC4
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
NNTP Update problem using 2.3.6RC4 [message #8018] Tue, 07 January 2003 02:57 Go to next message
jshreve is currently offline  jshreve   United States
Messages: 3
Registered: January 2003
Location: Keller, TX
Karma: 0
Junior Member
Problem: If a specific user on a newsserver posts a message, the update process to a linked FUDforum forum cannot get past that specific message and keeps downloading it over and over again, without incrementing the counter in /errors/.nntp/newsgroup. If I manually increment the counter, updates continue as normal.
When nntp.php runs for that specific newsgroup, the following error terminates the program:

<br>
<b>Fatal error</b>: Call to undefined function: trim_show_len() in <b>/var/home/vroc/forums/include/theme/default/drawmsg.inc</b> on line <b>164</b><br>

Some background for the problem:

I have just started a new installation of FUDforum with the primary intent being to mirror a small newsserver. I initially started with a fresh installation of 2.3.6RC4 with no users registered and no posts. I populated a forum by configuring a newsgroup linkage and then manually ran nntp.php to populate the forum with approximately 300 topics with approximately 1500 posts. This process also created about 300 users, most of which were nicknames from the newsserver.
I then created a cron job for user "apache" that runs nntp.php to update the forum from the newsserver every two minutes.

At this point, I removed the user profile that had been created for my own personal posts in the initial creation and I then created a new user Profile for myself with the information I wanted. Initially it had created a profile with a login id of "coyote". The new profile that I created had "coyote" as the alias but the login id is another name. After I made this change, whenever I post in the newsgroup using an id of "coyote", the error described above occurs and updates are stuck downloading my post repeatedly until I manually intervene.

Sorry for the lengthy post, but, I wanted to supply as much info as possible.

Thank you
Re: NNTP Update problem using 2.3.6RC4 [message #8019 is a reply to message #8018] Tue, 07 January 2003 03:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Add fud_use('util.inc'); to nntp.php that should fix the problem.

FUDforum Core Developer
Re: NNTP Update problem using 2.3.6RC4 [message #8020 is a reply to message #8019] Tue, 07 January 2003 03:17 Go to previous message
jshreve is currently offline  jshreve   United States
Messages: 3
Registered: January 2003
Location: Keller, TX
Karma: 0
Junior Member
That worked. Thank you very much.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: new messages in the thread vs modified ones
Next Topic: bad default sql table prefix
Goto Forum:
  

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

Current Time: Fri Nov 29 16:34:13 GMT 2024

Total time taken to generate the page: 0.02199 seconds