Zend Framework Default Application
An error occurred
exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli prepare error: 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 ') AND item != ORDER BY RAND())' at line 1' in /usr/local/zend/share/ZendFramework/library/Zend/Db/Statement/Mysqli.php:77
Stack trace:
#0 /usr/local/zend/share/ZendFramework/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT count(fi...')
#1 /usr/local/zend/share/ZendFramework/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT count(fi...')
#2 /usr/local/zend/share/ZendFramework/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('SELECT count(fi...')
#3 /usr/local/zend/share/ZendFramework/library/Zend/Db/Adapter/Abstract.php(736): Zend_Db_Adapter_Abstract->query('SELECT count(fi...', Array)
#4 /home/peccadillopod.com/public_html/application/models/Film.php(152): Zend_Db_Adapter_Abstract->fetchAll('SELECT count(fi...')
#5 /home/peccadillopod.com/public_html/application/views/helpers/Titles.php(69): Default_Model_Film->getMightLike(0, NULL)
#6 [internal function]: Zend_View_Helper_Titles->Titles(0, 'mightlike', NULL)
#7 /usr/local/zend/share/ZendFramework/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#8 /home/peccadillopod.com/public_html/application/controllers/FilmsController.php(53): Zend_View_Abstract->__call('Titles', Array)
#9 /home/peccadillopod.com/public_html/application/controllers/FilmsController.php(53): Zend_View->Titles(0, 'mightlike', NULL)
#10 /usr/local/zend/share/ZendFramework/library/Zend/Controller/Action.php(516): FilmsController->viewfilmAction()
#11 /usr/local/zend/share/ZendFramework/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewfilmAction')
#12 /usr/local/zend/share/ZendFramework/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#13 /usr/local/zend/share/ZendFramework/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#14 /usr/local/zend/share/ZendFramework/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#15 /home/peccadillopod.com/public_html/public/index.php(28): Zend_Application->run()
#16 {main}
Basket:
0 Items
Total:
£0

Advertisment
Notice: Trying to get property of non-object in
/home/peccadillopod.com/public_html/application/models/Twitter.php on line
37
Twitter