Website: Hoveniersbedrijf Frank van Gameren CMS
URL: www.frankvangameren.nl

Error number: 0
Error file:
Error line:

Title: 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 ') ORDER BY `rank` ASC' at line 1, query was: SELECT `common_page_photos`.* FROM `common_page_photos` WHERE (site_id=1) AND (page_id=) ORDER BY `rank` ASC

#0 /home/frankvangam/public_html/mvc/libraries/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/frankvangam/public_html/mvc/libraries/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /home/frankvangam/public_html/mvc/libraries/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `common_...', Array)
#3 /home/frankvangam/public_html/mvc/libraries/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /home/frankvangam/public_html/mvc/libraries/Zend/Db/Table/Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/frankvangam/public_html/mvc/application/modules/common/models/DbTables/CommonPagePhotos.php(37): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#6 /home/frankvangam/public_html/mvc/application/models/buildHtml/Page.php(370): Model_DbTables_CommonPagePhotos->getAllRecords(Array, Array, Array, '')
#7 /home/frankvangam/public_html/mvc/application/models/buildHtml/Page.php(91): Page->setPhotos(NULL)
#8 /home/frankvangam/public_html/mvc/application/models/buildHtml/Page.php(82): Page->buildPageText(NULL)
#9 /home/frankvangam/public_html/mvc/application/models/buildHtml/Page.php(58): Page->buildPage()
#10 /home/frankvangam/public_html/mvc/application/modules/front/controllers/VscPageDetailController.php(44): Page->create(0)
#11 /home/frankvangam/public_html/mvc/libraries/Zend/Controller/Action.php(516): VscPageDetailController->viewAction()
#12 /home/frankvangam/public_html/mvc/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('viewAction')
#13 /home/frankvangam/public_html/mvc/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#14 /home/frankvangam/public_html/index.php(118): Zend_Controller_Front->dispatch()
#15 {main}