PDA

View Full Version : Database error in vBulletin 3.6.7


bahattab
06-23-2007, 08:24 PM
hi
dose any one know why i am getting this errors and how to fix it :




Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT COUNT(threadid) AS total FROM thread WHERE postuserid=;

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 1
Error Number : 1064
Date : Saturday, June 23rd 2007 @ 05:18:01 PM
Script :
http://www.site.net/vb/external.php?type=RSS2&forumids=96
Referrer :
IP Address : 86.60.67.86
Username : غير مسجل
Classname : vb_database

Dismounted
06-24-2007, 06:06 AM
What hacks have you installed?

bahattab
06-24-2007, 03:57 PM
hi

i have alot of hacks in the forum , do you think the problem form the hacks ?

thanks

Eikinskjaldi
06-25-2007, 04:09 AM
the problem is

"where postuserid=;"

postuserid has to be compared to a number of some kind.

bahattab
06-25-2007, 06:14 AM
how can i find that in the hacks ?

puertoblack2003
06-25-2007, 02:57 PM
how can i find that in the hacks ?

the only way to trigger that is you would have to disable the hack one by one to figure out which hack is the culprit or disable the whole feature to see if its the hack or not, its not an easy task..good luck

bahattab
06-26-2007, 06:46 PM
the only way to trigger that is you would have to disable the hack one by one to figure out which hack is the culprit or disable the whole feature to see if its the hack or not, its not an easy task..good luck

thanks :D

i will try to disable the hacks and i will see what is going you happen :confused:

thanks for your help :)