Zend Framework Default Application

An error occurred

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and t2.leng='es' and (t2.tipo=1 or t2.tipo=3) and t1.estado=1) ORDER BY `t1`.`fe' at line 2 in /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #2 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `t1`.`co...', Array) #4 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #5 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/application/models/DbTable/Contenido.php(17): Zend_Db_Select->query() #6 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/application/controllers/ContenidoController.php(30): Model_DbTable_Contenido->getData('t1.codmenu= and...') #7 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Controller/Action.php(513): ContenidoController->indexAction() #8 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #9 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #10 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #11 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #12 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/public/index.php(47): Zend_Application->run() #13 {main} Next Zend_Db_Statement_Exception: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and t2.leng='es' and (t2.tipo=1 or t2.tipo=3) and t1.estado=1) ORDER BY `t1`.`fe' at line 2 in /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Statement/Pdo.php:234 Stack trace: #0 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `t1`.`co...', Array) #3 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/application/models/DbTable/Contenido.php(17): Zend_Db_Select->query() #5 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/application/controllers/ContenidoController.php(30): Model_DbTable_Contenido->getData('t1.codmenu= and...') #6 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Controller/Action.php(513): ContenidoController->indexAction() #7 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #8 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #10 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #11 /var/sentora/hostdata/raimondi/public_html/museoraimondi_org_pe/museoraimondi/public/index.php(47): Zend_Application->run() #12 {main}