2012-02-25, 07:11 AM
When I use the search box on my portal page, I get this error:
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 t.fid NOT IN (0) AND t.visible>-1 AND t.closed NOT LIKE 'moved|%'' at line 1
Query:
SELECT t.tid FROM mybb_threads t WHERE AND t.fid NOT IN (0) AND t.visible>-1 AND t.closed NOT LIKE 'moved|%'
What do I need to do to fix it?
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 t.fid NOT IN (0) AND t.visible>-1 AND t.closed NOT LIKE 'moved|%'' at line 1
Query:
SELECT t.tid FROM mybb_threads t WHERE AND t.fid NOT IN (0) AND t.visible>-1 AND t.closed NOT LIKE 'moved|%'
What do I need to do to fix it?