St. Barths Online

2009

2009


Fatal error: Uncaught exception 'DatabaseQueryException' with message '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 Year(`news_date`) = '2009' AND `status` = 'published' ORDER BY' at line 5' in /home/stbarts/public_html/lib/databaseconnector/DatabaseConnector.php:1 Stack trace: #0 /home/stbarts/public_html/lib/dbo/dboArticle.php(516): MySQLDatabaseConnector->query('????SELECT *???...') #1 /home/stbarts/public_html/lib/mvc/v2.1_template/news_listing.php(110): dboArticle::getArticlesByYear('2009', 'pt') #2 /home/stbarts/public_html/tmp/templates_c/pt^%%D7^D77^D77ECA5B%%tpl_body%3A50.php(77): include('/home/stbarts/p...') #3 /home/stbarts/public_html/lib/smarty/Smarty.class.php(1283): include('/home/stbarts/p...') #4 /home/stbarts/public_html/index.php(342): Smarty->fetch('tpl_body:50', '', 'pt') #5 {main} thrown in /home/stbarts/public_html/lib/databaseconnector/DatabaseConnector.php on line 1