An error occurred
Application error
Exception information:
Message: 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 tamanho = '150x150') ORDER BY `ordem` ASC' at line 1
Stack trace:
#0 /home/ebxt/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/ebxt/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home/ebxt/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `sw_imag...', Array) #3 /home/ebxt/library/Zend/Db/Table/Abstract.php(1575): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /home/ebxt/library/Zend/Db/Table/Abstract.php(1390): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /home/ebxt/application/modules/default/controllers/HospedagemController.php(99): Zend_Db_Table_Abstract->fetchAll('album = AND ta...', 'ordem ASC') #6 /home/ebxt/library/Zend/Controller/Action.php(516): Default_HospedagemController->opcaoAction() #7 /home/ebxt/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('opcaoAction') #8 /home/ebxt/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /home/ebxt/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #10 /home/ebxt/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #11 /home/ebxt/public_html/index.php(16): Zend_Application->run() #12 {main}
Request Parameters:
array ( 'id' => '67', 'slug' => 'opcao-n-50-casa-a-200-metros-da-vila-germanica', 'module' => 'default', 'controller' => 'hospedagem', 'action' => 'opcao', )