Got TIPS or BREAKING NEWS? Please call + 1 284 340 NEWS (6397) or 346-6397 or 393-6397 or 1-284-494-1338-office; ads call 346-9999                               Sports coverage on CBN Chan 51: 2014 Commonwealth Games 24 July-03 August also highlights of the 2014 World Junior Championships 23-28 July, 2014
DB Error: selectList query failed

SELECT SQL_CALC_FOUND_ROWS file_attachments.*, channels.name AS channel, files.name, files.ext, files.title, files.type_id, files.size FROM file_attachments LEFT JOIN files ON files.id = file_attachments.file_id LEFT JOIN channels ON channels.id = file_attachments.channel_id WHERE (channels.name = 'articles' AND object_id = AND (type_id = 1 AND main = 0))ORDER BY weight ASC

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 (type_id = 1 AND main = 0))ORDER BY weight ASC' at line 13