MyBB Community Forums

Full Version: SQL Error In Portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All

i Am having an error with the portal
look here
http://www.safadsoft.com/portal.php

this what it says :
"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 '5,3,4,8,7,10,2)' at line 1
Query:
SELECT COUNT(tid) AS newann FROM mybb_threads WHERE dateline>'1240661049' AND fid IN (,5,3,4,8,7,10,2) "

whats the prob ?
BeSt ReGaRdS
",5,3,4,8,7,10,2" is probably what you have in your settings for forum ids that should be used on the portal (portal_announcementsfid setting). It shouldn't start with ,
thanks a lot
it worked