Database error in vBulletin 3.0.0 Release Candidate 4: Invalid SQL: SELECT threadid FROM thread WHERE forumid = '' ORDER BY threadid DESC LIMIT mysql error: You have an error in your SQL syntax near '' at line 6 mysql error number: 1064