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 /home/bbnciber/Zend_1_6_2/Zend/Db/Statement/Pdo.php:68
Stack trace:
#0 /home/bbnciber/Zend_1_6_2/Zend/Db/Statement.php(109): Zend_Db_Statement_Pdo->_prepare('SELECT * FROM p...')
#1 /home/bbnciber/Zend_1_6_2/Zend/Db/Adapter/Pdo/Abstract.php(170): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Pdo_Mysql), 'SELECT * FROM p...')
#2 /home/bbnciber/Zend_1_6_2/Zend/Db/Adapter/Abstract.php(429): Zend_Db_Adapter_Pdo_Abstract->prepare('SELECT * FROM p...')
#3 /home/bbnciber/Zend_1_6_2/Zend/Db/Adapter/Pdo/Abstract.php(220): Zend_Db_Adapter_Abstract->query('SELECT * FROM p...', Array)
#4 /home/bbnciber/Zend_1_6_2/Zend/Db/Adapter/Abstract.php(641): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM p...', Array)
#5 /home/bbnciber/public_html/application/models/Grupos.php(141): Zend_Db_Adapter_Abstract->fetchAll('SELECT * FROM p...')
#6 /home/bbnciber/public_html/application/controllers/EmpleoController.php(304): Grupos->detalle(NULL, '2')
#7 /home/bbnciber/Zend_1_6_2/Zend/Controller/Action.php(494): EmpleoController->detailAction()
#8 /home/bbnciber/Zend_1_6_2/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('detailAction')
#9 /home/bbnciber/Zend_1_6_2/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/bbnciber/public_html/index.php(277): Zend_Controller_Front->dispatch()
#11 {main}