PDA

View Full Version : Logging in and getting invalid sql error...


bigtime
03-08-2003, 03:22 AM
Hi,

After logging in I get this error on the bottom of the page:

Database error in vBulletin 2.2.6:

Invalid SQL: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid= AND dateline>1046851607 AND folderid=0
mysql error: You have an error in your SQL syntax near 'AND dateline>1046851607 AND folderid=0' at line 1

mysql error number: 1064

Date: Saturday 08th of March 2003 12:15:22 AM
Script: http://66.216.32.249/forums/index.php?
Referer:



Apparently, the value for userid isn't being passed. Any clues as to how this can be fixed?

username - timothy
password - test

Thanks in advance for any tips.

portalguy
03-08-2003, 10:08 AM
I'm having the same problem with one of my forums... any ideas!! version 2.2.9