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 ts1 DESC LIMIT 100 OFFSET 0' at line 1 Zend_Db_Statement_Exception Object ( [_previous:Zend_Exception:private] => [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 ') ORDER BY ts1 DESC LIMIT 100 OFFSET 0' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Statement/Pdo.php [line:protected] => 234 [trace:Exception:private] => Array ( [0] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Statement.php [line] => 303 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( [0] => ) ) ) [1] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Adapter/Abstract.php [line] => 480 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( [0] => ) ) ) [2] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT * FROM Answer WHERE () ORDER BY ts1 DESC LIMIT 100 OFFSET 0 [1] => ) ) [3] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Adapter/Abstract.php [line] => 737 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => SELECT * FROM Answer WHERE () ORDER BY ts1 DESC LIMIT 100 OFFSET 0 [1] => ) ) [4] => Array ( [file] => /var/www/vhosts/baito/application/modules/default/models/DBModel.php [line] => 145 [function] => fetchAll [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT * FROM Answer WHERE () ORDER BY ts1 DESC LIMIT 100 OFFSET 0 [1] => ) ) [5] => Array ( [file] => /var/www/vhosts/baito/application/modules/default/controllers/IndexController.php [line] => 605 [function] => SelectFromAnswer_a6 [class] => DBModel [type] => -> [args] => Array ( [0] => [1] => 0 [2] => 100 ) ) [6] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Controller/Action.php [line] => 516 [function] => shopAction [class] => IndexController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Controller/Dispatcher/Standard.php [line] => 308 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => shopAction ) ) [8] => Array ( [file] => /usr/share/ZendFramework-1.12.3/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] => /baito-shop/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /baito-shop/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD [_params:protected] => Array ( [prgName] => ������������ [controller] => index [action] => shop [error_handler] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [exception] => Zend_Db_Statement_Exception Object *RECURSION* [type] => EXCEPTION_OTHER [request] => Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /baito-shop/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /baito-shop/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD [_params:protected] => Array ( [prgName] => ������������ [controller] => index [action] => shop ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => index [_controllerKey:protected] => controller [_action:protected] => shop [_actionKey:protected] => action ) ) ) ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => error [_controllerKey:protected] => controller [_action:protected] => error [_actionKey:protected] => action ) [1] => Zend_Controller_Response_Http Object ( [_body:protected] => Array ( ) [_exceptions:protected] => Array ( [0] => Zend_Db_Statement_Exception Object *RECURSION* ) [_headers:protected] => Array ( ) [_headersRaw:protected] => Array ( ) [_httpResponseCode:protected] => 200 [_isRedirect:protected] => [_renderExceptions:protected] => [headersSentThrowsException] => 1 ) ) ) [9] => Array ( [file] => /var/www/vhosts/baito/html/index.php [line] => 129 [function] => dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ( ) ) ) [previous:Exception:private] => 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 ') ORDER BY ts1 DESC LIMIT 100 OFFSET 0' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Statement/Pdo.php [line:protected] => 228 [trace:Exception:private] => Array ( [0] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Statement/Pdo.php [line] => 228 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( [0] => ) ) ) [1] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Statement.php [line] => 303 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( [0] => ) ) ) [2] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Adapter/Abstract.php [line] => 480 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( [0] => ) ) ) [3] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT * FROM Answer WHERE () ORDER BY ts1 DESC LIMIT 100 OFFSET 0 [1] => ) ) [4] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Db/Adapter/Abstract.php [line] => 737 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => SELECT * FROM Answer WHERE () ORDER BY ts1 DESC LIMIT 100 OFFSET 0 [1] => ) ) [5] => Array ( [file] => /var/www/vhosts/baito/application/modules/default/models/DBModel.php [line] => 145 [function] => fetchAll [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT * FROM Answer WHERE () ORDER BY ts1 DESC LIMIT 100 OFFSET 0 [1] => ) ) [6] => Array ( [file] => /var/www/vhosts/baito/application/modules/default/controllers/IndexController.php [line] => 605 [function] => SelectFromAnswer_a6 [class] => DBModel [type] => -> [args] => Array ( [0] => [1] => 0 [2] => 100 ) ) [7] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Controller/Action.php [line] => 516 [function] => shopAction [class] => IndexController [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /usr/share/ZendFramework-1.12.3/library/Zend/Controller/Dispatcher/Standard.php [line] => 308 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => shopAction ) ) [9] => Array ( [file] => /usr/share/ZendFramework-1.12.3/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] => /baito-shop/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /baito-shop/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD [_params:protected] => Array ( [prgName] => ������������ [controller] => index [action] => shop [error_handler] => ArrayObject Object ( [storage:ArrayObject:private] => Array ( [exception] => Zend_Db_Statement_Exception Object *RECURSION* [type] => EXCEPTION_OTHER [request] => Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /baito-shop/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /baito-shop/%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD [_params:protected] => Array ( [prgName] => ������������ [controller] => index [action] => shop ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => index [_controllerKey:protected] => controller [_action:protected] => shop [_actionKey:protected] => action ) ) ) ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => error [_controllerKey:protected] => controller [_action:protected] => error [_actionKey:protected] => action ) [1] => Zend_Controller_Response_Http Object ( [_body:protected] => Array ( ) [_exceptions:protected] => Array ( [0] => Zend_Db_Statement_Exception Object *RECURSION* ) [_headers:protected] => Array ( ) [_headersRaw:protected] => Array ( ) [_httpResponseCode:protected] => 200 [_isRedirect:protected] => [_renderExceptions:protected] => [headersSentThrowsException] => 1 ) ) ) [10] => Array ( [file] => /var/www/vhosts/baito/html/index.php [line] => 129 [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 ') ORDER BY ts1 DESC LIMIT 100 OFFSET 0' at line 1 ) ) )