Fatal error: Uncaught exception 'SQLException' with message 'Could not execute query [Native Error: 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 '-palvelutfi_co_news_festum where (it_news = 'true') and active = 'true' order by' at line 1] [User Info: select * from it-palvelutfi_co_news_festum where (it_news = 'true') and active = 'true' order by newsdate desc]' in /admin/php/lib/creole/drivers/mysql/MySQLConnection.php:202
Stack trace:
#0 /admin/php/lib/staart/cms/DbHelper.php(72): MySQLConnection->executeQuery('select * from i...')
#1 /admin/php/lib/staart/cms/DbHelper.php(178): staart_cms_DbHelper->getResult()
#2 /home/festum2011/web/inc/news.php(17): staart_cms_DbHelper->getFirst(2)
#3 /home/festum2011/web/inc/content.php(49): include('/home/festum201...')
#4 /home/festum2011/web/site.php(10): include('/home/festum201...')
#5 {main}
thrown in /admin/php/lib/creole/drivers/mysql/MySQLConnection.php on line 202