PDOException Object ( [message:protected] => 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 type=0' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /data/wwwrootread/www.xgwsj.com/library/Zend/Db/Statement/Pdo.php [line:protected] => 228 [trace:Exception:private] => Array ( [0] => Array ( [file] => /data/wwwrootread/www.xgwsj.com/library/Zend/Db/Statement/Pdo.php [line] => 228 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /data/wwwrootread/www.xgwsj.com/library/Zend/Db/Statement.php [line] => 302 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /data/wwwrootread/www.xgwsj.com/library/Zend/Db/Adapter/Abstract.php [line] => 481 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [3] => Array ( [file] => /data/wwwrootread/www.xgwsj.com/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => select * from news_guanlian where kid in() and type=0 [1] => Array ( ) ) ) [4] => Array ( [file] => /data/wwwroot/write.xgwsj.com/application/models/News.php [line] => 251 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => select * from news_guanlian where kid in() and type=0 ) ) [5] => Array ( [file] => /data/wwwroot/write.xgwsj.com/application/controllers/JiaochengController.php [line] => 2838 [function] => get_info_news_keyword [class] => News [type] => -> [args] => Array ( [0] => [1] => 0 [2] => [3] => nid [4] => 1 ) ) [6] => Array ( [file] => /data/wwwroot/write.xgwsj.com/application/controllers/JiaochengController.php [line] => 260 [function] => _newsshow [class] => JiaochengController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /data/wwwrootread/www.xgwsj.com/library/Zend/Controller/Action.php [line] => 516 [function] => indexAction [class] => JiaochengController [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /data/wwwrootread/www.xgwsj.com/library/Zend/Controller/Dispatcher/Standard.php [line] => 295 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => indexAction ) ) [9] => Array ( [file] => /data/wwwrootread/www.xgwsj.com/library/Zend/Controller/Front.php [line] => 954 [function] => dispatch [class] => Zend_Controller_Dispatcher_Standard [type] => -> [args] => Array ( [0] => Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /article/10424.html [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /article/10424.html [_params:protected] => Array ( [1] => article [id] => 10424 [controller] => jiaocheng [action] => index ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => jiaocheng [_controllerKey:protected] => controller [_action:protected] => index [_actionKey:protected] => action ) [1] => Zend_Controller_Response_Http Object ( [_body:protected] => Array ( ) [_exceptions:protected] => Array ( ) [_headers:protected] => Array ( ) [_headersRaw:protected] => Array ( ) [_httpResponseCode:protected] => 200 [_isRedirect:protected] => [_renderExceptions:protected] => [headersSentThrowsException] => 1 ) ) ) [10] => Array ( [file] => /data/wwwrootread/www.xgwsj.com/index.php [line] => 130 [function] => dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42000 [1] => 1064 [2] => 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 type=0' at line 1 ) )