Fatal error: Uncaught PDOException: 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 (gallery.id_conference = 11) ORDER BY `date` DESC, `id_gallery_category` ' at line 2 in \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement\Pdo.php:228
Stack trace:
#0 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute(Array)
#1 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#2 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Adapter\Pdo\Abstract.php(267): Zend_Db_Adapter_Abstract->query('SELECT `gallery...', Array)
#4 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Table\Abstract.php(1590): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#5 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Table\Abstract.php(1405): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#6 C:\www\ksap\application\services\GalleryService.php(42): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#7 C:\www\ksap\application\modules\gopac2015_es\controllers\GalleryController.php(24): GalleryService->getAllDataFront(NULL)
#8 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Action.php(528): Gopac2015_Es_GalleryController->detailAction()
#9 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('detailAction')
#10 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 \\172.16.30.152\LIBRARIES\libs\Zend\Application\Bootstrap\Bootstrap.php(106): Zend_Controller_Front->dispatch()
#12 \\172.16.30.152\LIBRARIES\libs\Zend\Application.php(400): Zend_Application_Bootstrap_Bootstrap->run()
#13 C:\www\public\index.php(54): Zend_Application->run()
#14 {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 MySQL server version for the right syntax to use near '?) AND (gallery.id_conference = 11) ORDER BY `date` DESC, `id_gallery_category` ' at line 2, query was: SELECT `gallery`.*, `gallery_category`.`title` AS `title_gallery_category` FROM `gallery`
LEFT JOIN `gallery_category` ON gallery.id_gallery_category = gallery_category.id_gallery_category WHERE (gallery.status = 1) AND (gallery.id_gallery_category = ?) AND (gallery.id_conference = 11) ORDER BY `date` DESC, `id_gallery_category` ASC in \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement\Pdo.php:235
Stack trace:
#0 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Adapter\Pdo\Abstract.php(267): Zend_Db_Adapter_Abstract->query('SELECT `gallery...', Array)
#3 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Table\Abstract.php(1590): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 \\172.16.30.152\LIBRARIES\libs\Zend\Db\Table\Abstract.php(1405): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 C:\www\ksap\application\services\GalleryService.php(42): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#6 C:\www\ksap\application\modules\gopac2015_es\controllers\GalleryController.php(24): GalleryService->getAllDataFront(NULL)
#7 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Action.php(528): Gopac2015_Es_GalleryController->detailAction()
#8 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('detailAction')
#9 \\172.16.30.152\LIBRARIES\libs\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 \\172.16.30.152\LIBRARIES\libs\Zend\Application\Bootstrap\Bootstrap.php(106): Zend_Controller_Front->dispatch()
#11 \\172.16.30.152\LIBRARIES\libs\Zend\Application.php(400): Zend_Application_Bootstrap_Bootstrap->run()
#12 C:\www\public\index.php(54): Zend_Application->run()
#13 {main}
thrown in \\172.16.30.152\LIBRARIES\libs\Zend\Db\Statement\Pdo.php on line 235