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)

Gutspiller 02-17-2002 07:01 AM

Can I get some help here? Anytime I try to add the hack mutliple times I get errors. Can somebody PLEASE help me with this?

Also when I run the error just once on a page I get this at the very bottom of the page:

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

(changed the path for privacy)

There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin: Invalid SQL: UPDATE session SET lastactivity=1013936279,location='/forumz/news.php' WHERE sessionhash='ec886e6a12d4f5e1118d7cc698d1884a'
mysql error:
mysql error number:
Date: Sunday 17th of February 2002 12:58:01 AM
Script: /forumz/news.php
Referer:

Gutspiller 02-18-2002 08:12 PM

I would I get it so that the headlines and news only show the latest news that was posted within the last 24 hours?

This would be really useful, that pages that have a lot of news don't take so long to load up, from loading old news.

If anybody can help with this, it would be greatly, appreciated.

Thanks!

SystemLogic 02-20-2002 01:51 PM

I'm getting this error in the headlines:

Warning: Cannot add header information - headers already sent by (output started at /root/path/indexcopy.php:16) in /root/path/boards/admin/functions.php on line 1490

And this when I call the news:

Fatal error: Cannot redeclare stripslashesarray() in /root/path/boards/global.php on line 11

Any ideas what it is?

Gutspiller 02-20-2002 03:31 PM

SL you are only running 1 headlines and 1 news on the same page right?

SystemLogic 02-20-2002 03:34 PM

Right, http://www.slcentral.com/temp2/indexcopy.php

Gutspiller 02-20-2002 03:45 PM

OK, make sure in your headlines php file that the only require line in there is

require("./PluhConfig.php");

Then in your php file that is calling the headlines and news files make sure that that these are before the < html > tag

<?
require("global.php");
require("admin/config.php");
require("PluhConfig.php");
?>

Rename the PluhConfig.php line if you renamed your headlines/news/config files. Let me know if this fixed it. :up:

SystemLogic 02-20-2002 03:48 PM

It looks like it fixed the first error with the headlines header thing, but I'm still getting this error from the news:

Fatal error: Cannot redeclare stripslashesarray() in /usr/home/syslogic/public_html/boards/global.php on line 11

Any ideas on that one?

Gutspiller 02-20-2002 03:56 PM

Oh I forgot. Check your news file and take out all the require lines there. I was messing around and I think we can actually take the require line out of the headlines file as well. So all the required lines should be in the main file calling the headlines and news. I think that should fix the news problem too.

SystemLogic 02-20-2002 03:59 PM

Now I'm getting this:

Database error in vBulletin 2.2.1:

Invalid SQL: SELECT smilietext,smiliepath FROM smilie
mysql error:

mysql error number: 0

Date: Wednesday 20th of February 2002 09:49:54 AM
Script: http://www.slcentral.com/boards/temp2/indexcopy.php
Referer:

Gutspiller 02-20-2002 04:08 PM

hmm, I think I have seen that error before. I believe these are the only changes I made from the install. I do know that the hack was designed to place the files in your forum directory and not in a site root or anywhere else. Try looking through this thread. The most helpful stuff is around pages 10 - 15 I have read this entire thread a few times over so I know what most peeps problems are.

For those lines I gave to you, did you put the right path in?

Like I said put this line in

require("global.php");

but that's because my file that is calling global.php is in the same directory as global.php so if yours is in another directory then you would need to change the path to the global, admin/config, and news config files.

Right now that's the only thing I can think of. If that doesn't work you may want to try putting the file that is including the headlines, news, etc. in your forum directory where VB is installed in and see if that works. I think that could be a lot of peoples problems, but I'm not sure. :confused:


All times are GMT. The time now is 09:12 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,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
  • (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