Version: , by (Guest)
Developer Last Online: Jan 1970
Version: Unknown
Rating:
Released: 01-21-2001
Last Update: Never
Installs: 3
No support by the author.
THIS THREAD IS CLOSED! Posts in here will NOT be answered
This hack has undergone many major changes since this thread was started. Consequently, most of the posts have become dated and of little use. To coincide with the latest major release (20010712), a new one has been started.
See this thread for the latest version and discussion
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by webhost Loaded this morning everything looks good but I have 1 probelm for sure maybe 2. The first is when I run newnews.pl I get this error.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@realwebhost.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
You're trying to run newnews.pl as a cgi. It should be executed priodically from the command line or with the help of cron.
It may be possible to run it as a cgi, but first, get it working from the command line.
Although several people successfully ran it this way, the script was not written with this intention.
Before you try this, you should run it from the command line / telnet which will allow you to easily see any errors.
If you don't have telnet access, then you need to make sure you have full logging turned on for your webserver and study those logs after running it the way you have been trying. The most common errors you will see will be missing modules. Do a search in this thread for posts by NgtCrwlr. He posted a little script that will list the modules you have installed.
this is how I have newnews.pl setup, I left password out.
Do I need to change any of this?
#!/usr/bin/perl
# Usenet Gateway hack for vBulletin 2.0
#
# $Id: newnews.pl,v 20010528 2001-05-28 00:29:14-05 paul Exp $
#
# This script creates a gateway to selected usenet newsgroups and maintains
# an historical mirror of articles in your vBulletin forums.
#
# This script is free. You are welcome to do whatever you want with it as
# long as you don't try and sell it or claim it as your own.
# The copyright is retained by the author.
#
# Author:
# fastforward (Paul)
# contact me via the vBulletin forums at http://vbulletin.com
#
#
# uncomment the following line if you installed perl modules to a
# non-standard directory
# use lib "/usr/home/local/lib/perl5/site_perl/5.005";
my $db_name="realweb_forums"; # realweb_forums
my $db_host="localhost"; # localhost
my $db_username="realweb_admin"; # realweb_admin
my $db_password=""; #
my $pid_file="newnews.pid";
can someone help please I am getting this error when I run the script.
[/home/realweb/www]# ./newnews.pl
Global symbol "$db" requires explicit package name at ./newnews.pl line 611.
Global symbol "$db" requires explicit package name at ./newnews.pl line 612.
Execution of ./newnews.pl aborted due to compilation errors
Originally posted by webhost ok I got it to go through Now I get this when it is done, but nothing shows up on my board.
[/home/realweb/www]# ./newnews.pl
Purging usenet articles...
Purging usenet threads older than 30 days from MSNEWS... OK
Purge completed.
Assuming you have set up the forum to usenet group mappings correctly, the most common reason for posts not showing is that the posts you downloaded are older than 30 days. This means they are being purged as soon as you import them. Try turning the 'AutoPurge' option off in the control panel.