PDA

View Full Version : So many Data base Error :( Please Help


tanzeelniazi
11-25-2013, 05:37 PM
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

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

<?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