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 banner=0 ORDER BY article_file.ID' at line 1
SELECT * FROM `article_file` WHERE articleID= AND banner=0 ORDER BY article_file.ID

#1 Function trace_message in "/disk2/home/cpcn/public_html/include/db.class.php" at line 20.
#2 Function runQuery in "/disk2/home/cpcn/public_html/include/db.class.php" at line 277.
#3 Function selectFieldsWhere in "/disk2/home/cpcn/public_html/include/db.class.php" at line 250.
#4 Function selectWhere in "/disk2/home/cpcn/public_html/include/lib/Plugin/article/Article.php" at line 37.
#5 Function loadFiles in "/disk2/home/cpcn/public_html/include/lib/Plugin/article/ArticleUI.php" at line 120.
#6 Function newDisplay in "/disk2/home/cpcn/public_html/actions/action.switch.php" at line 78.
#7 Function require_once in "/disk2/home/cpcn/public_html/index.php" at line 408.