Website: Verbandschoenen
URL: www.verbandschoenen.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 ') AND (dealer_order = ) ORDER BY `shop_orders`.`order_date` DESC' at line 4, query was: SELECT DISTINCT `shop_orders`.*, `d`.`title` FROM `shop_orders` INNER JOIN `shop_status` AS `s` ON shop_orders.status_item_id=s.item_id LEFT JOIN `shop_order_lines` AS `ol` ON shop_orders.order_id=ol.order_id LEFT JOIN `custom_dealers` AS `d` ON shop_orders.dealer_id=d.dealer_id WHERE (shop_orders.site_id=1) AND (shop_orders.dealer_id = ) AND (dealer_order = ) ORDER BY `shop_orders`.`order_date` DESC

#0 /home/verbandschoenen/public_html/mvc/libraries/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/verbandschoenen/public_html/mvc/libraries/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /home/verbandschoenen/public_html/mvc/libraries/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /home/verbandschoenen/public_html/mvc/libraries/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /home/verbandschoenen/public_html/mvc/libraries/Zend/Db/Table/Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/verbandschoenen/public_html/mvc/application/modules/shop/models/DbTables/ShopOrders.php(63): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#6 /home/verbandschoenen/public_html/mvc/application/modules/front/controllers/MijnBestellingenController.php(42): Model_DbTables_ShopOrders->getAllRecords(Array, Array, '', '', '')
#7 /home/verbandschoenen/public_html/mvc/libraries/Zend/Controller/Action.php(516): MijnBestellingenController->indexAction()
#8 /home/verbandschoenen/public_html/mvc/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#9 /home/verbandschoenen/public_html/mvc/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/verbandschoenen/public_html/index.php(198): Zend_Controller_Front->dispatch()
#11 {main}