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)
-   -   PluhNews 1.5 (https://vborg.vbsupport.ru/showthread.php?t=21875)

Hamma 02-12-2002 08:03 PM

btw, I also get an error on the page..

Warning: 1 is not a valid MySQL-Link resource in /path/edited/forums/admin/db_mysql.php on line 93

Check it out here:
http://www.dragonwolves.com/index2.php

Gutspiller 02-12-2002 09:16 PM

Quote:

Originally posted by Hamma
I am getting almost the same:

Invalid SQL: UPDATE session SET lastactivity=1013550858,location='' WHERE sessionhash='553fdfe1c73db55a6e4db8d940df67b4'
mysql error:

mysql error number:

This happens when I try to include headlines and news on the same page.. I want to be able to include at least 3 headline files.. and the news.

I posted about this before but I really need help :(

If you are having the problem, with only 1 headline and 1 news on 1 page, then go around pages 12 - 15 of this thread and they talk about running the include statement in the header or the index file you are running to call your news. That should fix it with just using 1 headline, 1 news, per page.

My problem is that I need to run 4 headlines, 4 news, that look at 4 different configs, but they all need to be on one page.

Any help for me? :confused:

Hamma 02-12-2002 09:20 PM

Exact same thing I am trying to do ;) I will want to run 4 headlines if not more, and one news. With different config files

Gutspiller 02-13-2002 01:30 AM

Quote:

Originally posted by anders
This script doesent work out of the box in another directory than within the forum directory any plans on releasing something that does?
Why don't you just put it in your forum directory like I did? Full functional using vbcode, etc.

just use the refresh command to redirect to it. No biggie.

See: http://www.GameForumz.com :)

Gutspiller 02-13-2002 02:03 AM

Quote:

Originally posted by Hamma
Exact same thing I am trying to do ;) I will want to run 4 headlines if not more, and one news. With different config files
Don't use 1 news, use 4 different news and just place them right under each other. :up: That is what I am planning to do. I have read every single post in this thread and I saw what you are trying to do hamma and that is the same error I get. It gives that error when you try to have multiple headlines, but it is ok to have multiple news and 1 headline, but as soon as you add 2 headlines into the index file it gives the error.

Maybe this info will help somebody troubleshoot this problem.

Hamma 02-13-2002 10:50 AM

This happens even when I use one news and one headline =\ The second i post the headline file it errors

Gutspiller 02-13-2002 02:29 PM

Quote:

Originally posted by Hamma
This happens even when I use one news and one headline =\ The second i post the headline file it errors
Are you inlcuding them correctly into your file? Some people use the pluhnews file and then put their stuff in the header and footer, but I just created a brand new php file and then included the headline and news parts into it. Either way, you need to make sure you have the require statements for the config,and admin/config in there. That could be your problem. Check on pages 10-15 on this thread. I believe it's in there. They talk about making sure to put it before the < html > tag in the file.

let me know if you need more help. :up:

Hamma 02-13-2002 02:41 PM

Yep, did all that ;) I have the includes on the top of my index page. Like I said it works perfect till I place headlines on the same page. Ive messed with the Pluhheadlines file a bit and still havent been able to get it going

Gutspiller 02-13-2002 02:54 PM

You have taken out the require lines at the top of your headline file, or placed "//" infront of the lines?

Hamma 02-13-2002 03:09 PM

hmm, I didnt put in any //'s

But I took out the require lines that i moved to the top of the page... the require line for the config file remains in it. Because im using multiple config files


All times are GMT. The time now is 02:23 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.01435 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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