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 '?) ORDER BY `dtb_business`.`order` ASC' at line 1 in /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute()
#1 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute()
#2 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute()
#3 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query()
#4 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Adapter/Abstract.php(737): Zend_Db_Adapter_Pdo_Abstract->query()
#5 /home/marbleco/www/marbleco.co.jp/public_html/business/detail.php(50): Zend_Db_Adapter_Abstract->fetchAll()
#6 {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 '?) ORDER BY `dtb_business`.`order` ASC' at line 1, query was: SELECT `dtb_business`.`business_id`, `dtb_business`.`business_category_id`, `dtb_business`.`business_name`, `dtb_business`.`url`, `dtb_business`.`note`, `dtb_business`.`image`, `dtb_business`.`image_m` FROM `dtb_business` WHERE (dtb_business.disp_flag = '0') AND (dtb_business.del_flag = '0') AND (dtb_business.business_category_id = ?) ORDER BY `dtb_business`.`order` ASC in /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Statement/Pdo.php:235
Stack trace:
#0 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute()
#1 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute()
#2 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query()
#3 /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Adapter/Abstract.php(737): Zend_Db_Adapter_Pdo_Abstract->query()
#4 /home/marbleco/www/marbleco.co.jp/public_html/business/detail.php(50): Zend_Db_Adapter_Abstract->fetchAll()
#5 {main}
thrown in /home/marbleco/www/marbleco.co.jp/libs/ZendFramework/library/Zend/Db/Statement/Pdo.php on line 235