Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 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 'and status=1 order by article_date desc' at line 1' in /www/blogs/library/Zend/Db/Statement/Pdo.php:238
Stack trace:
#0 /www/blogs/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /www/blogs/library/Zend/Db/Adapter/Abstract.php(430): Zend_Db_Statement->execute(Array)
#2 /www/blogs/library/Zend/Db/Adapter/Pdo/Abstract.php(220): Zend_Db_Adapter_Abstract->query('select *,YEAR(a...', Array)
#3 /www/blogs/library/Zend/Db/Adapter/Abstract.php(641): Zend_Db_Adapter_Pdo_Abstract->query('select *,YEAR(a...', Array)
#4 /www/blogs/application/modules/admin/controllers/LayoutController.php(85): Zend_Db_Adapter_Abstract->fetchAll('select *,YEAR(a...')
#5 /www/blogs/library/Zend/Controller/Action.php(503): Admin_LayoutController->menuAction()
#6 in /www/blogs/library/Zend/Db/Statement/Pdo.php on line 238