2006-03-09, 05:00 PM
I get an error when accessing my forum:
mySQL error: 1064
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
Query: SELECT tid FROM mybb_threads WHERE 0=1 OR (lastpost < 1139245021 AND fid=7) OR (lastpost < 1140109021 AND fid=26) OR (lastpost < 1139245021 AND fid=27) OR (lastpost < 1139245021 AND fid=20) OR (lastpost < 1139245021 AND fid=21) OR (lastpost < 1139245021 AND fid=22) OR (lastpost < 1141923421 AND fid=)
mySQL error: 1064
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
Query: SELECT tid FROM mybb_threads WHERE 0=1 OR (lastpost < 1139245021 AND fid=7) OR (lastpost < 1140109021 AND fid=26) OR (lastpost < 1139245021 AND fid=27) OR (lastpost < 1139245021 AND fid=20) OR (lastpost < 1139245021 AND fid=21) OR (lastpost < 1139245021 AND fid=22) OR (lastpost < 1141923421 AND fid=)