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)

allan grossman 01-26-2004 10:30 AM

Quote:

Originally Posted by lierduh
This error means the script tries to set cookie, but the header has already been sent.

You might like to try:
Code:

lynx -source "http://forum.com/vb3/gateway.php?log=cron"
in your cron file.

Thanks, lierduh - we'll see if it works.

Even more bizarre, the script works fine if I run it manually in *any* browser - including lynx. It also works as a vBulletin cron job.

allan grossman 01-26-2004 11:02 AM

Replying to my own post...

Nope - that didn't work. I'm still getting the 'headers already sent' thingie. The weird thing is it used to work fine - but I'm experiencing some vB3 weirdness. Inline attachments and thumbnails quit working about the same time. I've been working with vB on this. For now, running the thing as a vB3 cron job appears to be working but wouldn't be my first choice ;)

limey 01-26-2004 01:42 PM

I'm getting double posts..Its one of the reasons I scratched it and started over in the first place--not doing that again though. :D

Bro_Joey_Gowdy 01-26-2004 03:54 PM

Has this been adapted to work with the vb# prefix codes yet ?




Quote:

Originally Posted by Bro_Joey_Gowdy
Im getting several errors mainly concerning the vBprefix code:: Could someone please make this an official release within the vB3 Mod. forums ?
Database error in vBulletin 3.0.0 Release Candidate 3:
Invalid SQL: SELECT varname,value FROM nntp_settings
mysql error: Table 'a51834.nntp_settings' doesn't exist
mysql error number: 1146
Date: Thursday 22nd of January 2004 06:32:40 PM
Script: http://www.joeygowdy.com/forum/gateway.php
Referer:
Username: Bro_Joey_Gowdy
IP Address:


allan grossman 01-26-2004 04:15 PM

Joey, that's not vBprefix, that error's telling you the 'nntp_settings' table isn't present in your database - and it's kinda critical.

I'm at the office and my server's at home, but I believe the gateway requires three tables added to your forum database - and at least one of them doesn't exist.

Hope this helps -

allan grossman 01-27-2004 10:59 PM

lierduh, I know your vb3 version on page 44 is a work in progress, but I've identitied a couple problems with the 'quote' function that I have no idea how to fix since all I do is install this stuff, not write it ;)

First, the whole 'Originally posted by' line doesn't work and I don't know why. I know you wanted to change the text to "xxx wrote:" but that doesn't work either.

The routine does put *two* > characters at the head of the quote with a random character between them (I've seen 'e' and an apostrophe) but the quoted person's name is missing from the post.

I'm gonna play with this some tomorrow but I think I'm way out of my league.

One more question - I use "{1} said..." instead of the default. Can you help me a little if you have time?

stroke25 01-31-2004 10:14 PM

Heres the error im getting when running gateway.php (using gateway file from pg.44)

---------------------------------------------------------
1 group(s) gatewayed. Logging in to news.XXXXXXXXXXX.com, group control.XXXXxXX

Database error in vBulletin 3.0.0 Release Candidate 2:

Invalid SQL: SELECT post.postid,post.username,post.userid,post.datelin e,post.pagetext,post.showsignature,post.ipaddress, thread.pollid,thread.title,post.threadid,post.atta ch,thread.forumid FROM thread,post WHERE post.isusenetpost=0 AND thread.threadid=post.threadid AND post.dateline=thread.dateline AND post.userid=thread.postuserid AND (thread.forumid=36)
mysql error: Unknown column 'post.isusenetpost' in 'where clause'

mysql error number: 1054

----------------------------------------------------------

EDIT: Thanks for the reply i did miss a step in nntp.sql

Everything seems to be working good now. :)

lierduh 01-31-2004 10:42 PM

Quote:

Originally Posted by stroke25
Heres the error im getting when running gateway.php (using gateway file from pg.44)

mysql error: Unknown column 'post.isusenetpost' in 'where clause'

mysql error number: 1054

----------------------------------------------------------

This means you do not have the "isusenetpost" field in your "post" table. You might like to make sure the nntp.sql (? comes with the original file) is run.

lierduh 01-31-2004 10:46 PM

Quote:

Originally Posted by allan grossman
lierduh, I know your vb3 version on page 44 is a work in progress, but I've identitied a couple problems with the 'quote' function that I have no idea how to fix since all I do is install this stuff, not write it ;)

One more question - I use "{1} said..." instead of the default. Can you help me a little if you have time?

I will have a look.

limey 02-01-2004 03:07 AM

FYI this has been working flawless on RC2 afraid to upgrade to RC3 :D


All times are GMT. The time now is 03:53 PM.

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.01550 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)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