- 2,223

- Miami
Everything is alright one day, than next time I go to check something blam! I haven't added anything for it to give me this error and I have no idea what to do. I don't want to start all over again either, I've added quite a lot of things to start from scratch again.
Database error in vBulletin 2.2.6:
Invalid SQL: SELECT userid,username
FROM user
WHERE userid<>
AND (usergroupid=5
OR usergroupid=6
OR usergroupid=7
OR usergroupid=2)
ORDER BY RAND()
LIMIT 1
mysql error: You have an error in your SQL syntax near 'AND (usergroupid=5
OR usergroupid=6
' at line 4
mysql error number: 1064
Database error in vBulletin 2.2.6:
Invalid SQL: SELECT userid,username
FROM user
WHERE userid<>
AND (usergroupid=5
OR usergroupid=6
OR usergroupid=7
OR usergroupid=2)
ORDER BY RAND()
LIMIT 1
mysql error: You have an error in your SQL syntax near 'AND (usergroupid=5
OR usergroupid=6
' at line 4
mysql error number: 1064