Zend Framework Default Application

ArrayObject Object ( [storage:ArrayObject:private] => Array ( [exception] => 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 MariaDB server version for the right syntax to use near 'LIMIT 0,1' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /home/spending/library/Zend/Db/Statement/Pdo.php [line:protected] => 234 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/spending/library/Zend/Db/Statement.php [line] => 303 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /home/spending/library/Zend/Db/Adapter/Abstract.php [line] => 480 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /home/spending/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT name FROM institution where `code` = LIMIT 0,1 [1] => Array ( ) ) ) [3] => Array ( [file] => /home/spending/application/controllers/TreasuryserviceController.php [line] => 681 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => SELECT name FROM institution where `code` = LIMIT 0,1 ) ) [4] => Array ( [file] => /home/spending/application/controllers/TreasuryserviceController.php [line] => 426 [function] => getInstitution [class] => TreasuryserviceController [type] => -> [args] => Array ( [0] => [1] => Array ( [0] => name ) ) ) [5] => Array ( [file] => /home/spending/library/Zend/Controller/Action.php [line] => 516 [function] => listAction [class] => TreasuryserviceController [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /home/spending/library/Zend/Controller/Dispatcher/Standard.php [line] => 308 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => listAction ) ) [7] => Array ( [file] => /home/spending/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] => /sq/treasuryservice/list/year/2015/inst_code//perf_id/%22RESHKETA-S%22 [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /sq/treasuryservice/list/year/2015/inst_code//perf_id/%22RESHKETA-S%22 [_params:protected] => Array ( [lang] => sq [controller] => treasuryservice [action] => list [year] => 2015 [inst_code] => [perf_id] => "RESHKETA-S" [error_handler] => ArrayObject Object *RECURSION* ) [_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] => 500 [_isRedirect:protected] => [_renderExceptions:protected] => [headersSentThrowsException] => 1 ) ) ) [8] => Array ( [file] => /home/spending/library/Zend/Application/Bootstrap/Bootstrap.php [line] => 97 [function] => dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /home/spending/library/Zend/Application.php [line] => 366 [function] => run [class] => Zend_Application_Bootstrap_Bootstrap [type] => -> [args] => Array ( ) ) [10] => Array ( [file] => /home/spending/public_html/index.php [line] => 28 [function] => run [class] => Zend_Application [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 MariaDB server version for the right syntax to use near 'LIMIT 0,1' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /home/spending/library/Zend/Db/Statement/Pdo.php [line:protected] => 228 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/spending/library/Zend/Db/Statement/Pdo.php [line] => 228 [function] => execute [class] => PDOStatement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [1] => Array ( [file] => /home/spending/library/Zend/Db/Statement.php [line] => 303 [function] => _execute [class] => Zend_Db_Statement_Pdo [type] => -> [args] => Array ( [0] => Array ( ) ) ) [2] => Array ( [file] => /home/spending/library/Zend/Db/Adapter/Abstract.php [line] => 480 [function] => execute [class] => Zend_Db_Statement [type] => -> [args] => Array ( [0] => Array ( ) ) ) [3] => Array ( [file] => /home/spending/library/Zend/Db/Adapter/Pdo/Abstract.php [line] => 238 [function] => query [class] => Zend_Db_Adapter_Abstract [type] => -> [args] => Array ( [0] => SELECT name FROM institution where `code` = LIMIT 0,1 [1] => Array ( ) ) ) [4] => Array ( [file] => /home/spending/application/controllers/TreasuryserviceController.php [line] => 681 [function] => query [class] => Zend_Db_Adapter_Pdo_Abstract [type] => -> [args] => Array ( [0] => SELECT name FROM institution where `code` = LIMIT 0,1 ) ) [5] => Array ( [file] => /home/spending/application/controllers/TreasuryserviceController.php [line] => 426 [function] => getInstitution [class] => TreasuryserviceController [type] => -> [args] => Array ( [0] => [1] => Array ( [0] => name ) ) ) [6] => Array ( [file] => /home/spending/library/Zend/Controller/Action.php [line] => 516 [function] => listAction [class] => TreasuryserviceController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /home/spending/library/Zend/Controller/Dispatcher/Standard.php [line] => 308 [function] => dispatch [class] => Zend_Controller_Action [type] => -> [args] => Array ( [0] => listAction ) ) [8] => Array ( [file] => /home/spending/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] => /sq/treasuryservice/list/year/2015/inst_code//perf_id/%22RESHKETA-S%22 [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /sq/treasuryservice/list/year/2015/inst_code//perf_id/%22RESHKETA-S%22 [_params:protected] => Array ( [lang] => sq [controller] => treasuryservice [action] => list [year] => 2015 [inst_code] => [perf_id] => "RESHKETA-S" [error_handler] => ArrayObject Object *RECURSION* ) [_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] => 500 [_isRedirect:protected] => [_renderExceptions:protected] => [headersSentThrowsException] => 1 ) ) ) [9] => Array ( [file] => /home/spending/library/Zend/Application/Bootstrap/Bootstrap.php [line] => 97 [function] => dispatch [class] => Zend_Controller_Front [type] => -> [args] => Array ( ) ) [10] => Array ( [file] => /home/spending/library/Zend/Application.php [line] => 366 [function] => run [class] => Zend_Application_Bootstrap_Bootstrap [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /home/spending/public_html/index.php [line] => 28 [function] => run [class] => Zend_Application [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 MariaDB server version for the right syntax to use near 'LIMIT 0,1' at line 1 ) ) ) [type] => EXCEPTION_OTHER [request] => Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /sq/treasuryservice/list/year/2015/inst_code//perf_id/%22RESHKETA-S%22 [_baseUrl:protected] => [_basePath:protected] => [_pathInfo:protected] => /sq/treasuryservice/list/year/2015/inst_code//perf_id/%22RESHKETA-S%22 [_params:protected] => Array ( [lang] => sq [controller] => treasuryservice [action] => list [year] => 2015 [inst_code] => [perf_id] => "RESHKETA-S" ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => default [_moduleKey:protected] => module [_controller:protected] => treasuryservice [_controllerKey:protected] => controller [_action:protected] => list [_actionKey:protected] => action ) ) )