Application Error
exception 'Zend_Db_Exception' with message 'Error in SELECT `allegati_articoli`.* FROM `allegati_articoli` WHERE (idpadre=): 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/libcp/library/Taedo/Db/Table/Abstract.php:157
Stack trace:
#0 /home/libcp/library/Zend/Db/Table/Abstract.php(1390): Taedo_Db_Table_Abstract->_fetch(Object(Taedo_Db_Table_Select))
#1 /home/caipit/domains/caemilia.it/application/controllers/NewsController.php(42): Zend_Db_Table_Abstract->fetchAll('idpadre=')
#2 /home/libcp/library/Zend/Controller/Action.php(516): NewsController->indexAction()
#3 /home/libcp/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#4 /home/libcp/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#5 /home/caipit/domains/caemilia.it/application/config.php(149): Zend_Controller_Front->dispatch()
#6 /home/caipit/domains/caemilia.it/public_html/index.php(30): include('/home/caipit/do...')
#7 {main}