vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Ban Spiders by User Agent (https://vborg.vbsupport.ru/showthread.php?t=268208)

ozzy47 12-18-2014 12:07 AM

Ok, was this happening in 3.1.0?

I.G.O.T.A. 12-18-2014 12:09 AM

Quote:

Originally Posted by Gadget_Guy (Post 2527811)
Hate to be the one to have to say this.

My site just started throwing these errors:

Database error in vBulletin 4.2.2:

Invalid SQL:

UPDATE `bad_bots_blocked` SET ban_useragent = ban_useragent + 1;

MySQL Error : Table 'subaru_test.bad_bots_blocked' doesn't exist
Error Number : 1146
Request Date : Wednesday, December 17th 2014 @ 08:11:41 PM
Error Date : Wednesday, December 17th 2014 @ 08:11:41 PM
Script : http://www.toronto-subaru-club.com/f.../index.php?how
Referrer :
IP Address : 5.255.253.29
Username :
Classname : vB_Database_MySQLi
MySQL Version :


D.

Ditto same here. Never had this before.

ozzy47 12-18-2014 12:15 AM

I see the issue, use this XML for now. I had one of my own updates to my own table in the XML, that should not have been in there.

ozzy47 12-18-2014 12:17 AM

Simon can grab that XML, and update the OP when he comes on. :)

Gadget_Guy 12-18-2014 02:14 AM

So far so good with the new file.

D.

Simon Lloyd 12-18-2014 05:12 AM

New xml uploaded. Ozzy can you remove the in post ones to save confusion for people looking back through the thread?

Black Snow 12-18-2014 07:49 AM

Thanks for the update. I can't see any stats in the site statistics on the forum home.

EDIT: It works fine on my test forum. I am running vBOptomise and Total Online Time which both add stats below the "Welcome to our newest member" stats so unsure if this is causing an issue.

EDIT: I disabled vBOptomise and the stats popped up straight away.
Quote:

Spiders/Bots Activity Blocked From Site: 6
Maybe worth a look into the conflict Simon?

Simon Lloyd 12-18-2014 07:57 AM

Vboptimise is a caching mod, its possible that either you have to wait for the cache update or its using the same hook or template replacement. Ill check when i get home later.

Black Snow 12-18-2014 08:05 AM

I cleared the cache to check if it would update but no luck.

aicel 12-18-2014 08:59 AM

in Vb 5.1 new release don't work, i return to old release and work fine


All times are GMT. The time now is 04:57 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.01800 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)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