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 '-20,20' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /data/wwwrootread/www.wishdown.com/library/Zend/Db/Statement/Pdo.php [line:protected] => 228 [trace:Exception:private] => Array ( [0] => Array ( [file] => /data/wwwrootread/www.wishdown.com/library/Zend/Db/Statement/Pdo.php [line] => 228 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /data/wwwrootread/www.wishdown.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.wishdown.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.wishdown.com/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => select g.* from game g where g.published = 1 order by g.hot desc limit -20,20 [1] => Array ( ) ) ) [4] => Array ( [file] => /data/wwwrootread/www.wishdown.com/application/controllers/AppkuController.php [line] => 386 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => select g.* from game g where g.published = 1 order by g.hot desc limit -20,20 ) ) [5] => Array ( [file] => /data/wwwrootread/www.wishdown.com/library/Zend/Controller/Action.php [line] => 516 [function] => listAction [class] => AppkuController [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /data/wwwrootread/www.wishdown.com/library/Zend/Controller/Dispatcher/Standard.php [line] => 295 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => listAction ) ) [7] => Array ( [file] => /data/wwwrootread/www.wishdown.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] => /ku/0_0_0_1_0 [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /ku/0_0_0_1_0 [_params:protected] => Array ( [pingtai] => 0 [type] => 0 [bq] => 0 [order] => 1 [page] => 0 [controller] => appku [action] => list ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => appku [_controllerKey:protected] => controller [_action:protected] => list [_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 ) ) ) [8] => Array ( [file] => /data/wwwrootread/www.wishdown.com/index.php [line] => 124 [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 '-20,20' at line 1 ) )