Fatal error: Uncaught exception 'PDOException' with message '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 ')' at line 1' in D:\Websites\PHP\test.dhcmw.cn\Zend\Db\Statement\Pdo.php:228 Stack trace: #0 D:\Websites\PHP\test.dhcmw.cn\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute(Array) #1 D:\Websites\PHP\test.dhcmw.cn\Zend\Db\Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #2 D:\Websites\PHP\test.dhcmw.cn\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array) #3 D:\Websites\PHP\test.dhcmw.cn\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('select distinct...', Array) #4 D:\Websites\PHP\test.dhcmw.cn\application\public\controllers\ShipinController.php(435): Zend_Db_Adapter_Pdo_Abstract->query('select distinct...') #5 D:\Websites\PHP\test.dhcmw.cn\Zend\Controller\Action.php(516): ShipinController->liveAction() #6 D:\Websites\PHP\t in D:\Websites\PHP\test.dhcmw.cn\Zend\Db\Statement\Pdo.php on line 234