vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   So many Data base Error :( Please Help (https://vborg.vbsupport.ru/showthread.php?t=305032)

tanzeelniazi 11-25-2013 05:37 PM

So many Data base Error :( Please Help
 
Hello All
I have a big problem daily i rec so many email about data base erros
i think its programming error help please
see this
i think this error is post thank hack error how i solve this

Code:

Database error in vBulletin 4.2.0:
 
Invalid SQL:
 
                        REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                        VALUES (0, '66.249.64.2', 1, 'brett0x0', '', 'post.dateline', 'DESC', 0.00270, 1, '1121,793,789,501,87,80', 1385196969, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:345;s:8:\"brett0x0\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', '8337c9325a3e33a2391b5a7c6b6a309e');
 
MySQL Error  : Table '************_DB.search' doesn't exist
Error Number  : 1146
Request Date  : Saturday, November 23rd 2013 @ 02:56:09 AM
Error Date    : Saturday, November 23rd 2013 @ 02:56:09 AM
Script        : http://www.*********.com/post_thanks.php?do=findthanks_user_gave&u=345
Referrer      :
IP Address    : ********
Username      : Unregistered
Classname    : vB_Database
MySQL Version :


Lynne 11-25-2013 06:42 PM

There is no table called "search" in vB4. Your error is from a modification that is not compatible with vB4.

In the future, if you have problems with a modification, you need to post in the modification thread for support.

ForceHSS 11-25-2013 06:58 PM

The mod seems to be the thanks mod you have

tanzeelniazi 11-25-2013 07:27 PM

Thanks Lynne
and yup i am thinking this error is Post Thank you hack
anyone help me how to solve because Abe1 Developer Last Online: Jun 2010

ForceHSS 11-25-2013 08:54 PM

That plugin is outdated remove it and use this one you will find it works well with 4.2.0 and above

tanzeelniazi 11-26-2013 08:26 AM

Thank you

Diesel, 11-28-2013 02:40 PM

define('DISABLE_HOOKS', true);

Add this to your config.php file located in your includes folder of your forum root directory, This will disable plugins without needing access to your admin cp, Once you have added this and uploaded your forums should load fine. From here you can just uninstall the plugin.

Incase you don't know where to add it here's an example.
Code:

<?php
define('DISABLE_HOOKS', true);

Hope this helped.

Regards,
Diesel

tanzeelniazi 11-29-2013 08:00 AM

Thanks mod is really great why i need this becuase i want first Thanks and then thread reply and then Unlock thread. so i install this mod. I try DBTECH mod but i am not satisfied .
Any one can solve my problem i really appreciate


All times are GMT. The time now is 02:19 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.00931 seconds
  • Memory Usage 1,725KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete