![]() |
One more piece of information that might help. I tried running gateway.php again with the debugging version of nntp.php that Gilby posted and showqueries=1. Here is the output (changed the server and group names since they are inside our firewall). The reponse from the server would seem to indicate that it's connecting, but IE says done in a few seconds and it never retrieves any posts. Any tips on how to debug this problem would be appreciated. I'm trying this on a test system, not my production vBulletin install, so I can try just about anything.
Quote:
|
I don't know if anyone's listening. I think I have found the source of the problem, but don't know how to fix it. If I add an echo to line 86 of gateway.php (v1.9) as follows:
echo $max = $news->max(); I get the following message when I run it. Quote:
I put a test post into the forum and discovered that it will add a new post to the newsgroup, but it never downloads any threads probably due to the problem described above. |
Well, I may not know PHP, but I was able to figure it out by using the echo command to see what was happening. The problem was the extremely long (151 chars) login response being returned by our news server. The fix is to edit line 75 in the nntp.php file:
$response = fgets($fp, 128); and change the number to 256. After this change all the threads were downloaded. |
OK, I spoke too soon. Got all the posts downloaded, but I am also seeing the "ignore list" problem. When I open a thread, every post says:
Quote:
|
A search of the vBulleting community forum uncovered that the ignore list problem was fixed in version 2.2.6. It affected any post made by a userid which was not in the user table. Since the NNTP hack set the userid to zero for all imported posts, they were affected by this bug. If you have this problem try upgrading to v2.2.6.
|
I just upgraded vbulletin from 2.2.4 to 2.2.6 and now my usenet groups are not downloading??? I see it connects to usergroups, but nothing is downloaded. I am using little modded 1.8 version of nntp.
Thanks for help. Turned the erro log on, and I am getting bunch of these: Use of undefined constant lastmsg.... Use of undefined constant forum..... Use of undefined constant flush.... Use of undefined constant prefix - assumed 'prefix' in <b>/home... And also my host upgraded their PHP. so thats why I upgraded my vbulletin, it was giving some errors. php 4.2.1 |
<a href="http://www.joeygowdy.com/forum/gateway.php" target="_blank">http://www.joeygowdy.com/forum/gateway.php</a>
4 group(s) gatewayed. Could not connect to NNTP-serverLogging in to .dixie-net.com, group alt.music.christian Ive inputted all the usenet servers i want downloaded to my site... yet it still doesnt work... any thoughts ? |
I don't konw if this has already been asked before, I could not find an answer: Does the php have to be compiled --with-imap in order for this hack to work?
|
Quote:
So does anyone have any thoughts ? |
Lovely - just found out my isp doesnt support usenet --
so does anyone know of any cheap servers that do ? |
All times are GMT. The time now is 11:57 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|