PDA

View Full Version : Invalid SQL Error: Where can i fix


Tok Muda
08-19-2002, 02:00 AM
Sometimes i got this error :


Database error in vBulletin 2.2.6:
Invalid SQL: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

Date: Sunday 18th of August 2002 05:46:42 PM
Script: http://bincang.net/forum/forum/index.php?
Referer:


Really appreciate the help..
thanks..

g-force2k2
08-19-2002, 02:23 AM
its trying to count the private messages and im not sure but it might not be finding the userid or something... probably best getting support from vb using your license info... they'll get it answered... ;)

g-force2k2

Tok Muda
08-19-2002, 02:27 AM
you really a helpful person, :) thanks g-force2k2,
i'll do that ASAP ;)

g-force2k2
08-19-2002, 03:11 AM
yeah np sorry i couldn't help any further... im not that great with mysql yet... still learning all the time :) maybe next time i can be more useful :)

g-force2k2