vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   NNTP Gateway (Usenet/Newsgroups) (https://vborg.vbsupport.ru/showthread.php?t=35247)

Gilby 02-20-2002 04:10 PM

It does not use UDP... unless there is somethign about php's fsockopen function that I don't know about.

Sanjiyan 02-20-2002 04:13 PM

Quote:

Originally posted by Gilby


This script does not use perl, so there is no messing around with that sort of thing.

Do you know what version of php you are using?

http://www.wocs.net/info.php
is my php info


but I am using: PHP Version 4.0.4pl1
FreeBSD www.beta.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386

Gilby 02-20-2002 04:13 PM

Sanjiyan and GameCrash, try the following newsgroup settings:
newsgroup: webdiscuss.test
server: webdiscuss.com
forum: a blank test forum id

You can either set the enabled to 0 for your other newsgroups, or remove those from your database.

Let me know the results of that.

Sanjiyan 02-20-2002 04:14 PM

Quote:

Originally posted by Sanjiyan
well
I get no feed back from the script, nothing at all, bar the white screen, but the progress bar is at the 50% mark and suck there.

Could it be that there is a problem with the server or perl on the server? if so what perl mods are needed so I can ask my host support ?

but if you would, can you run the gateway.php from my site:

www.wocs.net/gateway.php

and see what happens, I have to go to dinner right now so I shall be back on in 20 minutes ok? if you could try that link for me and see what happens I'd be greatful.

right, came back from dinner and it was still locked at 50% progress and a blank screen... not even getting the error codes I was before.

Sanjiyan 02-20-2002 04:21 PM

Quote:

Originally posted by Gilby
Sanjiyan and GameCrash, try the following newsgroup settings:
newsgroup: webdiscuss.test
server: webdiscuss.com
forum: a blank test forum id

You can either set the enabled to 0 for your other newsgroups, or remove those from your database.

Let me know the results of that.

ok says this:

<br>
<b>Warning</b>: Undefined index: HTTP_POST_VARS in <b>/usr/home/wocsnet/public_html/global.php</b> on line <b>85</b><br>
<br>
<b>Warning</b>: Undefined index: action in <b>/usr/home/wocsnet/public_html/global.php</b> on line <b>85</b><br>
<br>
<b>Warning</b>: Undefined index: action in <b>/usr/home/wocsnet/public_html/global.php</b> on line <b>88</b><br>
<br>
<b>Warning</b>: Cannot add header information - headers already sent by (output started at /usr/home/wocsnet/public_html/global.php:85) in <b>/usr/home/wocsnet/public_html/admin/functions.php</b> on line <b>1530</b><br>
<br>
<b>Warning</b>: Cannot add header information - headers already sent by (output started at /usr/home/wocsnet/public_html/global.php:85) in <b>/usr/home/wocsnet/public_html/gateway.php</b> on line <b>424</b><br>
1 group(s) gatewayed.
Logging in to webdiscuss.com, group webdiscuss.test:
and thats it, oh and says done in the IE status

GameCrash 02-20-2002 04:23 PM

Quote:

Originally posted by Gilby
Sanjiyan and GameCrash, try the following newsgroup settings:
newsgroup: webdiscuss.test
server: webdiscuss.com
forum: a blank test forum id

You can either set the enabled to 0 for your other newsgroups, or remove those from your database.

Let me know the results of that.

The same error, you can try it yourself at http://www.sharp-forum.de/forum/gateway.php

I think it's the same problem as Sanjiyan's but mine stops loading after 90 sek because of server restrictions... I will try it via SSH there the restrictions are not soo hard...

Sanjiyan 02-20-2002 04:26 PM

when I enable one of the rec.arts.anime groups, alongside with that test one you posted, its at that point where it falls over...

any ideas ?

Sanjiyan 02-20-2002 04:31 PM

Quote:

Originally posted by GameCrash


The same error, you can try it yourself at http://www.sharp-forum.de/forum/gateway.php

I think it's the same problem as Sanjiyan's but mine stops loading after 90 sek because of server restrictions... I will try it via SSH there the restrictions are not soo hard...

yes thats the same problem I appear to be getting GameCrash.

it connects to that webdiscuss.com when thats the only group thats enabled, yet dont pull any details from the server.

yet my problem returns when I try to pull my news from either news-text.blueyonder.co.uk or news.blueyonder.co.uk, cant try anyothers unless you know of a decent free usenet server that offers the rec.arts.anime groups?

edit: btw I know my local isps newserver is running cos i just conencted to it via outlook express :supwink:

GameCrash 02-20-2002 04:38 PM

Now getting something :) I didn't change the default server, only the server at the groups table. The webdiscuss.com thing works fine now :)

Now I will have to work on news.microsoft.com...

Sanjiyan 02-20-2002 04:40 PM

does it download any news from the tthe webdev test ?

also if you get the news.microsoft.com to work, want to post the server address and a newgroup so I can tets it also please ?

Gilby 02-20-2002 04:42 PM

Quote:

Originally posted by GameCrash
Now getting something :) I didn't change the default server, only the server at the groups table. The webdiscuss.com thing works fine now :)
You may want to go into the newsgroup server and look at the source of the last message on the server and get the Xref number out of it. Then set that as the lastmsg. This will prevent it from trying to download all the posts.

Sanjiyan 02-20-2002 04:43 PM

Quote:

Originally posted by Gilby


You may want to go into the newsgroup server and look at the source of the last message on the server and get the Xref number out of it. Then set that as the lastmsg. This will prevent it from trying to download all the posts.

mine only connects to the webdes of what ever server it does not download any news should it?

Sanjiyan 02-20-2002 04:44 PM

Gilby: could you do me a favour and look at:
http://www.wocs.net/gateway.php and tell me if I should be getting those error messages?
because what you see there is all I get, and it does not download any news from the server it connects to.

Gilby 02-20-2002 04:47 PM

Quote:

Originally posted by Sanjiyan
it connects to that webdiscuss.com when thats the only group thats enabled, yet dont pull any details from the server.

Just try the webdiscuss one until we get it working. That is the test group I used when developing the script and has worked for me.

Sanjiyan 02-20-2002 04:49 PM

yes it connects to the server, but its not pulling any data from the news server should it be? if so then its not, plus I am getting errors, please see post 53. thanks

Gilby 02-20-2002 04:51 PM

Quote:

Originally posted by Sanjiyan
yes it connects to the server, but its not pulling any data from the news server should it be? if so then its not, plus I am getting errors, please see post 53. thanks
The warnings that are showing aren't a problem. Try this nntp.php, it'll output more about what it's doing.

Sanjiyan 02-20-2002 04:54 PM

it now says:

<br>
<b>Warning</b>: Undefined index: HTTP_POST_VARS in <b>/usr/home/wocsnet/public_html/global.php</b> on line <b>85</b><br>
<br>
<b>Warning</b>: Undefined index: action in <b>/usr/home/wocsnet/public_html/global.php</b> on line <b>85</b><br>
<br>
<b>Warning</b>: Undefined index: action in <b>/usr/home/wocsnet/public_html/global.php</b> on line <b>88</b><br>
<br>
<b>Warning</b>: Cannot add header information - headers already sent by (output started at /usr/home/wocsnet/public_html/global.php:85) in <b>/usr/home/wocsnet/public_html/admin/functions.php</b> on line <b>1530</b><br>
<br>
<b>Warning</b>: Cannot add header information - headers already sent by (output started at /usr/home/wocsnet/public_html/global.php:85) in <b>/usr/home/wocsnet/public_html/gateway.php</b> on line <b>424</b><br>
1 group(s) gatewayed.
381 PASS required
502 Authentication error

Logging in to webdiscuss.com, group webdiscuss.test:

Gilby 02-20-2002 04:56 PM

Quote:

Originally posted by Sanjiyan
381 PASS required
502 Authentication error

Logging in to webdiscuss.com, group webdiscuss.test:

Make suer you set the username and password to NULL (in phpMyAdmin, just leave it blank).

Sanjiyan 02-20-2002 04:58 PM

it is:

Edit Delete webdiscuss.test 66 0 webdiscuss.com NULL NULL 1

Gilby 02-20-2002 05:07 PM

Quote:

Originally posted by Sanjiyan
it is:

Edit Delete webdiscuss.test 66 0 webdiscuss.com NULL NULL 1

OK, there was a bug. Since you have the default password and username set, it used those. Please go to the first post inthe thread and get the fixed script and let me know if that works. If that still doesn't work, then upload the nntp.php I posted above that will output the responses and we'll see where we're at.

Gilby 02-20-2002 05:26 PM

If you get the webdiscuss.test newgroup to work, then before trying your newsgroups, run this getlastmsg.php script. This will set the lastmsg of the groups in the database and will then make your script only get any new posts from that point on.

GameCrash 02-20-2002 05:34 PM

Whatever I do, it only says "1 group(s) gatewayed." but it does nothing... What I am trying atm is to get microsoft.public.msdn.general from news.microsoft.com. Could you try if it works for you?

Erwin 02-20-2002 06:14 PM

Hi,

I've followed your instructions, uploaded the files from the 1st post, edited my database - everything appears to work, and I get the "1 group(s) gatewayed" message at the end, but the USENET threads are NOT imported in VB for some reason...

I'm not getting any error messages, it's just that the newsgroups threads are not being imported.

Any ideas?

Gilby 02-20-2002 06:19 PM

Quote:

Originally posted by Erwin Loh
Hi,

I've followed your instructions, uploaded the files from the 1st post, edited my database - everything appears to work, and I get the "1 group(s) gatewayed" message at the end, but the USENET threads are NOT imported in VB for some reason...

I'm not getting any error messages, it's just that the newsgroups threads are not being imported.

Any ideas?

Did the page continue to load after that?

dost 02-20-2002 06:29 PM

This hack works great with public news servers, but when it comes to servers that need authentication, it doesn't seem to work.

Gilby 02-20-2002 06:45 PM

Quote:

Originally posted by dost
This hack works great with public news servers, but when it comes to servers that need authentication, it doesn't seem to work.
I am using it on a server that requires authentication, and it works fine on that. There was a bug in the script that caused some authentication stuff to not work if the server didn't require authentication and one was set for the default server, then it'd try the one for the default server and fail.

Gilby 02-20-2002 06:47 PM

Quote:

Originally posted by GameCrash
Whatever I do, it only says "1 group(s) gatewayed." but it does nothing... What I am trying atm is to get microsoft.public.msdn.general from news.microsoft.com. Could you try if it works for you?
It did not work for me. Not even a basic test nntp login script worked for it. I could, however, log in manually to the server, so that puzzles me.

Sanjiyan 02-20-2002 07:54 PM

Quote:

Originally posted by Gilby


OK, there was a bug. Since you have the default password and username set, it used those. Please go to the first post inthe thread and get the fixed script and let me know if that works. If that still doesn't work, then upload the nntp.php I posted above that will output the responses and we'll see where we're at.

OK I did this and I can get messages posted to the webdiscuss.tst group now, so I tried to get posted from my own isps newserver at news-text.blueyonder.co.uk

and this is where the problems start, I am gettiing no feedback and it locks up when the status progress bar in ie hits 50% and nothing else occurs, even left it for 10 minutes and it still didnt move.

it requires username and password to getonto the newserver also, so it does the same with or without the user/pass entered.

any ideas ? plus I am using the nntp.php that gives feedback and its not giving anything back either.

EDIT: Also locks up on my other ISPs nntp servr: news.blueyonder.co.uk again with or without user/pass.

yet if I delete the entreies to my own isp and move back to the webdiscuss server it works right away, but if I run it with my isps news servers it wont work just gives me a white screen.

Gilby 02-20-2002 07:58 PM

Quote:

Originally posted by Sanjiyan
any ideas ? plus I am using the nntp.php that gives feedback and its not giving anything back either.
Here's another nntp.php to try, I narrowed it down to where it was hanging on the microsoft server and this one fixes that, but yet it hangs elsewhere now. But it might work for you.

Sanjiyan 02-20-2002 08:01 PM

Quote:

Originally posted by Gilby


Here's another nntp.php to try, I narrowed it down to where it was hanging on the microsoft server and this one fixes that, but yet it hangs elsewhere now. But it might work for you.

ok now all I get is this:

<br>
<b>Fatal error</b>: Cannot redeclare logging() in <b>/usr/home/wocsnet/public_html/nntp.php</b> on line <b>328</b><br>

then IE says done, no other feedback..

Gilby 02-20-2002 08:42 PM

Quote:

Originally posted by Sanjiyan

ok now all I get is this:

<br>
<b>Fatal error</b>: Cannot redeclare logging() in <b>/usr/home/wocsnet/public_html/nntp.php</b> on line <b>328</b><br>

then IE says done, no other feedback..

try again... it just removed that.

Sanjiyan 02-20-2002 08:48 PM

what redownload it or just re run the file?

Sanjiyan 02-20-2002 08:52 PM

cant do anything for 5-10 minutes anyway the site where I am trying this out, the server its running on has just ran out of disk space, so I have got my host to delete the crap from it.

basically they are saying the script I am running has done a runaway somehow and has filled around 60 gigs worth of data somehow, so they are clearing it off for me. so I can reupload the new nntp.php

Gilby 02-20-2002 08:52 PM

Quote:

Originally posted by Sanjiyan
what redownload it or just re run the file?
Download it again :)

Sanjiyan 02-20-2002 09:06 PM

Quote:

Originally posted by Gilby


Download it again :)

ok downlaoded the file
and just uplaoded it to my site as my host just waked on another disk to the array for the time being :P

and I get this:

urm.. right.... it worked on the webdiscuss.test go I deleted that group from the sql databse and added my own isps newserver, it worked witjh one group in the list.

is there chance I can ask for a nntp.php that gives me feedback as it access the news server and downloads the data or is that out of the question ? or does this do it?

Gilby 02-20-2002 09:17 PM

Quote:

Originally posted by Sanjiyan

urm.. right.... it worked on the webdiscuss.test go I deleted that group from the sql databse and added my own isps newserver, it worked witjh one group in the list.

is there chance I can ask for a nntp.php that gives me feedback as it access the news server and downloads the data or is that out of the question ? or does this do it?

So does that mean it works for you now with all your newsgroups?

I attached an nntp.php that will output the nntp server's responses.

Sanjiyan 02-20-2002 09:20 PM

Quote:

Originally posted by Gilby


So does that mean it works for you now with all your newsgroups?

so far it does yes
I have it running with 2 groups, now with this script I'll run it with all 10 :P give it a pounding as it where

Sanjiyan 02-20-2002 09:23 PM

hmmmm

is says this using that new nntp.php (below)

but this is weird is it the script of my server cos 5 minutes ago I was downloading news from rec.arts.anime and rec.arts.anime.creative...

anyway heres waht it says. and I really apprecaiate your help in this, give me your address and I'll ship a crate of Roses chocolates to you for thanks ^_^

10 group(s) gatewayed.
200 Powered by Typhoon 2.0 -- http://www.highwinds-software.com/ (Typhoon v2.0.0)
381 More Authentication Required
502 Authentication Failed
211 99 3216690 3216800 rec.arts.anime
Logging in to news-text.blueyonder.co.uk, group rec.arts.anime:
200 Powered by Typhoon 2.0 -- http://www.highwinds-software.com/ (Typhoon v2.0.0)
381 More Authentication Required
502 Authentication Failed
211 117 3216740 3216874 rec.arts.anime.creative
Logging in to news-text.blueyonder.co.uk, group rec.arts.anime.creative:
200 Powered by Typhoon 2.0 -- http://www.highwinds-software.com/ (Typhoon v2.0.0)
381 More Authentication Required
502 Authentication Failed
211 293 3235896 3236281 rec.arts.anime.fandom
Logging in to news-text.blueyonder.co.uk, group rec.arts.anime.fandom:
220 3235897 Wed, 23 Jan 2002 05:29:25 GMTGetting message number 3235897: New thread; 'FA: Moldiver Complete (all 6 episodes) Region 1 *MINT*' from M.R.

Sanjiyan 02-20-2002 09:24 PM

ahh found a snag I think, unsure....

it keeps on losing connect to the mysql database is the the script of my vbulletin ?

Tim Wheatley 02-20-2002 09:36 PM

Doesn't that mean it requires a username and password? The server needs you logged in?


All times are GMT. The time now is 08:58 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
  • Page Generation 0.01891 seconds
  • Memory Usage 1,847KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete