vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NNTP Gateway for Usenet ( Newsgroups ), Mailing Lists (https://vborg.vbsupport.ru/showthread.php?t=65152)

jcrash 10-06-2004 01:28 PM

Hey, I've been using this for a few months and everything was good.

Then about a week ago, I started getting this error message when the import would run:

Getting message number 689792: /home/pokerpla/bin/cron_gateway_script.sh: line 3: 24708 Segmentation fault php gateway.php

Any help is appreciated.

EDIT - I downloaded the new interface and used that to set the max message to 689800. That did NOT fix the problem. Now I just get this from my cron job:

/home/pokerpla/bin/cron_gateway_script.sh: line 3: 32493 Segmentation fault php gateway.php

MORE INFO: If I try to manually run gateway.php?debug=1 I get a blank white page...no error, no text...it just is blank.


Still More info: After Setting the number even higher, it imported a bunch of posts, but my cron email which usually looks like this:

X-Powered-By: PHP/4.3.7
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Wed, 29 Sep 2004 07:27:01 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: private, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: bblastvisit=1096442821; expires=Thu, 29-Sep-05 07:27:01 GMT; path=/
Set-Cookie: bblastactivity=1096439221; expires=Thu, 29-Sep-05 07:27:01 GMT; path=/
Content-Type: text/plain

1 group(s) gatewayed.
Logging in to news.athenanews.com, group rec.gambling.poker
Getting message number 689621: Thread found; 'Re: The Empire $500 Bonus....' from Dave L

Instead, looked like this:

Code:

X-Powered-By: PHP/4.3.9
Content-Type: text/plain
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Wed, 06 Oct 2004 16:27:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: private, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ; path=/
Set-Cookie: bblastvisit=1097080020; expires=Thu, 06-Oct-05 16:27:00 GMT; path=/
Set-Cookie: bblastactivity=1097080020; expires=Thu, 06-Oct-05 16:27:00 GMT; path=/


                    $c1 = (ord(substr($str[$i],$pos+1,1)) ^ 0x20);
                    $file .= chr(((($c0 - ' ') & 077) << 2) | ((($c1 - ' ') & 077) >> 4));

                }
            }
            $files[] = array('filename' => $filename, 'fileperm' => $fileperm, 'filedata' => $file);
        }

        return $files;
    }


}

/*
 * Local Variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
 */

?>
<br />
<b>Warning</b>:  Unknown modifier 'b' in <b>/home/pokerpla/public_html/forums/gateway.php</b> on line <b>346</b><br />
<br />
<b>Warning</b>:  Unknown modifier '>' in <b>/home/pokerpla/public_html/forums/gateway.php</b> on line <b>346</b><br />
<br />
<b>Warning</b>:  Unknown modifier 'a' in <b>/home/pokerpla/public_html/forums/gateway.php</b> on line <b>346</b><br />
/home/pokerpla/bin/cron_gateway_script.sh: line 3:  7348 Killed                  php gateway.php


Lord Brar 10-06-2004 03:41 PM

Wow. This hack sounds very intersting... I am gonna install it tommorow!

jcrash 10-06-2004 06:53 PM

While trying to solve my problem (see above) - I note that I cannot run the gateway from a browser - I just get a blank white page.

Give it a try:

Andy R 10-06-2004 07:41 PM

Did you try to re-upload gateway.php? It seems that it might have gotten corrupted?[QUOTE=jcrash]While trying to solve my problem (see above) - I note that I cannot run the gateway from a browser - I just get a blank white page.

SaN-DeeP 10-06-2004 09:06 PM

lierduh now i am confused, though posting the results above i saw it works, a few of the threads my members are replying to, dont get added to NNTP Server. I cannot get debug logs for same..

Those threads are still present on my forums, but dont appear on USENET. any ideaz ?
this problem was also reported to by few of members who have installed this hack and they gave up its use.. but i want to use the same.. :disappointed:

Regards,

jcrash 10-06-2004 09:52 PM

Quote:

Originally Posted by organic-hosting
Did you try to re-upload gateway.php? It seems that it might have gotten corrupted?


Yes, I HAD tried that, but it didn't work.

However, I just redownloaded the file and reuploaded it and now it works BUT - it still starts the output like this:


$c1 = (ord(substr($str[$i],$pos+1,1)) ^ 0x20);
$file .= chr(((($c0 - ' ') & 077) << 2) | ((($c1 - ' ') & 077) >> 4));

}
}
$files[] = array('filename' => $filename, 'fileperm' => $fileperm, 'filedata' => $file);
}

return $files;
}


}

/*
* Local Variables:
* tab-width: 4
* c-basic-offset: 4
* End:
*/

?>
Gateway version 2.2.1 1 group(s) gatewayed.

Connecting to server, server says: 200 216.128.74.129

Server responded after user name: 381 Helo adx785 password required

Server responded after password: 281 Authorization accepted

Info for rec.gambling.poker at news.athenanews.com:
211 40171 653980 698762 rec.gambling.poker selected

Getting message number 693666:
'Playing Style Favors Limit or No-Limit?' from Jeff Goslin. New thread.


As you can see, it did download files, but that stuff at that top doesn't look like it belongs.

Worse yet, it didn't ask me to login...isn't that bad?

lierduh 10-08-2004 01:57 PM

Quote:

Originally Posted by wflynn
Info for rec.gambling.poker at news.giganews.com:
211 374481 554640 929120 rec.gambling.poker

Your NNTP server says posting is prohibited!Posting Message '$100 Free - Just For Posting In Our Forums!' from pokerpartys. Result: 440 posting not allowed500 syntax error or unknown command

What do you think my easiest fix is?

As you see, the server says posting is prohibited! There is nothing I can help. You may need to pay them to post?

lierduh 10-08-2004 02:01 PM

Quote:

Originally Posted by SaN-DeeP
here is another log, requested a few users to post / reply some threads in those forums:
Code:


Posting Message 'Re: querry about firefox' from sachin21. Result: 340 Continue posting - terminate with period441 (629) Article Rejected -- Ill-formed message id '<sachin21.1dne0o@tech-arena@DoNotSpam.com>' in field 'Message-ID:'



As the server says: Article rejected, due to a wrong Message ID (has two @ signs!)

lierduh 10-08-2004 02:04 PM

Quote:

Originally Posted by jcrash
Yes, I HAD tried that, but it didn't work.

However, I just redownloaded the file and reuploaded it and now it works BUT - it still starts the output like this:


$c1 = (ord(substr($str[$i],$pos+1,1)) ^ 0x20);
$file .= chr(((($c0 - ' ') & 077) << 2) | ((($c1 - ' ') & 077) >> 4));

}
}
$files[] = array('filename' => $filename, 'fileperm' => $fileperm, 'filedata' => $file);
}

return $files;
}


}

/*
* Local Variables:
* tab-width: 4
* c-basic-offset: 4
* End:
*/

?>
Gateway version 2.2.1 1 group(s) gatewayed.

Connecting to server, server says: 200 216.128.74.129

Server responded after user name: 381 Helo adx785 password required

Server responded after password: 281 Authorization accepted

Info for rec.gambling.poker at news.athenanews.com:
211 40171 653980 698762 rec.gambling.poker selected

Getting message number 693666:
'Playing Style Favors Limit or No-Limit?' from Jeff Goslin. New thread.


As you can see, it did download files, but that stuff at that top doesn't look like it belongs.

Worse yet, it didn't ask me to login...isn't that bad?

Have you re-uploaded other files? such as mime.php etc. Or you just uploaded gateway.php again?

lierduh 10-08-2004 02:08 PM

As a common courtesy, please do not ask for private help or support. As most if not all code hackers, I only provide support in the thread when time permits. I am quite busy at the moment, so please understand, do not email me or PM me.


All times are GMT. The time now is 02:51 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.01947 seconds
  • Memory Usage 1,759KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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