Line 234 in file /home/bunscoil/library/Zend/Db/Statement/Pdo.php
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 'AND image='rang2-1.jpg') LIMIT 1' at line 1
#0 /home/bunscoil/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/bunscoil/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /home/bunscoil/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /home/bunscoil/library/Zend/Db/Table/Abstract.php(1509): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /home/bunscoil/library/Zend/Db/Table/Abstract.php(1371): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/bunscoil/frontend/Action/Helper/Slideshow.php(35): Zend_Db_Table_Abstract->fetchRow('type='page' AND...')
#6 /home/bunscoil/frontend/Action/Helper/Slideshow.php(9): Action_Helper_Slideshow->_getSlides(false)
#7 /home/bunscoil/frontend/Action/Helper/Initialiser.php(81): Action_Helper_Slideshow->direct(Object(ErrorController))
#8 /home/bunscoil/library/Zend/Controller/Action/HelperBroker.php(328): Action_Helper_Initialiser->direct(Object(ErrorController))
#9 [internal function]: Zend_Controller_Action_HelperBroker->__call(Array, Array)
#10 /home/bunscoil/frontend/default/controllers/ErrorController.php(20): Zend_Controller_Action_HelperBroker->Initialiser('Initialiser', Array)
#11 /home/bunscoil/library/Zend/Controller/Action.php(133): ErrorController->init(Object(ErrorController))
#12 /home/bunscoil/library/Zend/Controller/Dispatcher/Standard.php(262): Zend_Controller_Action->__construct()
#13 /home/bunscoil/library/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array)
#14 /home/bunscoil/frontend/Bootstrap.php(20): Zend_Controller_Front->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /home/bunscoil/public_html/index.php(11): Bootstrap->__construct()
#16 {main}