Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

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.

Comments
  #552  
Old 06-24-2001, 02:48 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
  #553  
Old 06-24-2001, 02:54 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your quick reply, this is how I am trying to run it

http://forums.realwebhost.net/newnews.pl

Is this wrong?

Joey
  #554  
Old 06-24-2001, 03:08 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by webhost
Thanks for your quick reply, this is how I am trying to run it

http://forums.realwebhost.net/newnews.pl

Is this wrong?
Sort of...

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.
  #555  
Old 06-24-2001, 03:11 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thanks, Here is the path to my modules. I believe all are loaded.

http://realwebhost.net/cgi-sys/perldiver.cgi

Joey
  #556  
Old 06-24-2001, 04:08 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by webhost
http://realwebhost.net/cgi-sys/perldiver.cgi
It looks like you have two versions of Perl conflicting. The executables are 5.005 but the modules are 5.6 Is this what you expected to see?
  #557  
Old 06-24-2001, 05:57 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what my host has loaded. Can this still work?

I hope so.

Joey
  #558  
Old 06-24-2001, 06:37 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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";
  #559  
Old 06-24-2001, 08:48 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Joey
  #560  
Old 06-24-2001, 08:51 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #561  
Old 06-24-2001, 10:26 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06429 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete