exception 'PDOException' 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 '' at line 1' in /cnt52/cnt/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /cnt52/cnt/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /cnt52/cnt/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #2 /cnt52/cnt/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array) #3 /cnt52/cnt/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select category...', Array) #4 /cnt52/cnt/library/Zend/Db/Adapter/Abstract.php(799): Zend_Db_Adapter_Pdo_Abstract->query('select category...', Array) #5 /cnt52/cnt/application/modules/default/models/common.php(90): Zend_Db_Adapter_Abstract->fetchOne('select category...') #6 /cnt52/cnt/library/Cnt/Controller/Default/Action.php(365): Default_Model_common->doFetchOne('select category...') #7 /cnt52/cnt/library/Zend/Controller/Dispatcher/Standard.php(262): Cnt_Controller_Default_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #8 /cnt52/cnt/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /cnt52/cnt/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #10 /cnt52/cnt/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #11 /cnt52/cnt/public/index.php(54): Zend_Application->run() #12 {main} Next 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 '' at line 1' in /cnt52/cnt/library/Zend/Db/Statement/Pdo.php:234 Stack trace: #0 /cnt52/cnt/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /cnt52/cnt/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array) #2 /cnt52/cnt/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select category...', Array) #3 /cnt52/cnt/library/Zend/Db/Adapter/Abstract.php(799): Zend_Db_Adapter_Pdo_Abstract->query('select category...', Array) #4 /cnt52/cnt/application/modules/default/models/common.php(90): Zend_Db_Adapter_Abstract->fetchOne('select category...') #5 /cnt52/cnt/library/Cnt/Controller/Default/Action.php(365): Default_Model_common->doFetchOne('select category...') #6 /cnt52/cnt/library/Zend/Controller/Dispatcher/Standard.php(262): Cnt_Controller_Default_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #7 /cnt52/cnt/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #8 /cnt52/cnt/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #9 /cnt52/cnt/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #10 /cnt52/cnt/public/index.php(54): Zend_Application->run() #11 {main}