2009-12-06, 03:32 PM
I got this error today when I tried to enter in my forums:
I'm unable to enter the forums until I solve this error... =(
How do I solve it?
MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.
SQL 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 ') AND (private=0 OR (private=1 AND uid=0)) AND (starttime+86400>1260113469 OR (s' at line 1
Query:
SELECT eid, cid, name, starttime, endtime FROM mybb_events WHERE cid IN () AND (private=0 OR (private=1 AND uid=0)) AND (starttime+86400>1260113469 OR (starttime<1260113469 AND endtime>1260113469)) ORDER BY starttime ASC LIMIT 5
I'm unable to enter the forums until I solve this error... =(
How do I solve it?