Log in

View Full Version : Threadrate MySQL error


djdonx
11-26-2007, 07:04 PM
Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT *
FROM threadrate
WHERE userid = 3
AND threadid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Error Number : 1064
Date : Monday, November 26th 2007 @ 09:02:00 PM
Script : http://www.domain.com/showthread.php?goto=newpost&t=4724
Referrer : http://www.domain.com
IP Address : xx.xxx.xx.xx
Username : djdonx
Classname : vB_Database

How do I go about fixing this?

Paul M
11-26-2007, 07:38 PM
Start by disabling any modifications you have.

djdonx
11-26-2007, 07:42 PM
Ive forgotten how I do it :P

snakes1100
11-26-2007, 08:18 PM
Place this in the second line of your config.php file.

define('DISABLE_HOOKS', true);

djdonx
11-27-2007, 03:00 PM
okay forget this, my forum was hacked and all threads and posts were deleted so I'm just gonna install a 2 week old backup :(