object(ArrayObject)#91 (1) { ["storage":"ArrayObject":private]=> array(3) { ["exception"]=> object(Zend_Db_Statement_Exception)#98 (8) { ["_previous":"Zend_Exception":private]=> NULL ["message":protected]=> string(266) "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, query was: SELECT `category`.* FROM `category` WHERE (cid = )" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(42000) ["file":protected]=> string(59) "/home/water-dnr/water-dnr.com/php/Zend/Db/Statement/Pdo.php" ["line":protected]=> int(235) ["trace":"Exception":private]=> array(13) { [0]=> array(6) { ["file"]=> string(55) "/home/water-dnr/water-dnr.com/php/Zend/Db/Statement.php" ["line"]=> int(303) ["function"]=> string(8) "_execute" ["class"]=> string(21) "Zend_Db_Statement_Pdo" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [1]=> array(6) { ["file"]=> string(62) "/home/water-dnr/water-dnr.com/php/Zend/Db/Adapter/Abstract.php" ["line"]=> int(480) ["function"]=> string(7) "execute" ["class"]=> string(17) "Zend_Db_Statement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [2]=> array(6) { ["file"]=> string(66) "/home/water-dnr/water-dnr.com/php/Zend/Db/Adapter/Pdo/Abstract.php" ["line"]=> int(238) ["function"]=> string(5) "query" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(50) "SELECT `category`.* FROM `category` WHERE (cid = )" [1]=> array(0) { } } } [3]=> array(6) { ["file"]=> string(52) "/home/water-dnr/water-dnr.com/php/Zend/Db/Select.php" ["line"]=> int(688) ["function"]=> string(5) "query" ["class"]=> string(28) "Zend_Db_Adapter_Pdo_Abstract" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(Zend_Db_Select)#95 (4) { ["_bind":protected]=> array(0) { } ["_adapter":protected]=> object(Zend_Db_Adapter_Pdo_Mysql)#26 (12) { ["_pdoType":protected]=> string(5) "mysql" ["_numericDataTypes":protected]=> array(16) { [0]=> int(0) [1]=> int(1) [2]=> int(2) ["INT"]=> int(0) ["INTEGER"]=> int(0) ["MEDIUMINT"]=> int(0) ["SMALLINT"]=> int(0) ["TINYINT"]=> int(0) ["BIGINT"]=> int(1) ["SERIAL"]=> int(1) ["DEC"]=> int(2) ["DECIMAL"]=> int(2) ["DOUBLE"]=> int(2) ["DOUBLE PRECISION"]=> int(2) ["FIXED"]=> int(2) ["FLOAT"]=> int(2) } ["_defaultStmtClass":protected]=> string(21) "Zend_Db_Statement_Pdo" ["_config":protected]=> array(8) { ["host"]=> string(15) "water-dnr.mysql" ["username"]=> string(16) "water-dnr_dbuser" ["password"]=> string(8) "Nzi2D:Ee" ["dbname"]=> string(12) "water-dnr_db" ["charset"]=> string(4) "utf8" ["driver_options"]=> array(1) { [1002]=> string(15) "SET NAMES utf8;" } ["persistent"]=> bool(false) ["options"]=> array(3) { ["caseFolding"]=> int(0) ["autoQuoteIdentifiers"]=> bool(true) ["fetchMode"]=> int(2) } } ["_fetchMode":protected]=> int(2) ["_profiler":protected]=> object(Zend_Db_Profiler)#22 (4) { ["_queryProfiles":protected]=> array(0) { } ["_enabled":protected]=> bool(false) ["_filterElapsedSecs":protected]=> NULL ["_filterTypes":protected]=> NULL } ["_defaultProfilerClass":protected]=> string(16) "Zend_Db_Profiler" ["_connection":protected]=> object(PDO)#70 (0) { } ["_caseFolding":protected]=> int(0) ["_autoQuoteIdentifiers":protected]=> bool(true) ["_allowSerialization":protected]=> bool(true) ["_autoReconnectOnUnserialize":protected]=> bool(false) } ["_parts":protected]=> array(11) { ["distinct"]=> bool(false) ["columns"]=> array(1) { [0]=> array(3) { [0]=> string(8) "category" [1]=> string(1) "*" [2]=> NULL } } ["union"]=> array(0) { } ["from"]=> array(1) { ["category"]=> array(4) { ["joinType"]=> string(4) "from" ["schema"]=> NULL ["tableName"]=> string(8) "category" ["joinCondition"]=> NULL } } ["where"]=> array(1) { [0]=> string(8) "(cid = )" } ["group"]=> array(0) { } ["having"]=> array(0) { } ["order"]=> array(0) { } ["limitcount"]=> NULL ["limitoffset"]=> NULL ["forupdate"]=> bool(false) } ["_tableCols":protected]=> array(0) { } } } } [4]=> array(6) { ["file"]=> string(66) "/home/water-dnr/water-dnr.com/docs/application/models/Category.php" ["line"]=> int(53) ["function"]=> string(5) "query" ["class"]=> string(14) "Zend_Db_Select" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(6) { ["file"]=> string(66) "/home/water-dnr/water-dnr.com/docs/application/models/Category.php" ["line"]=> int(121) ["function"]=> string(18) "getChildCategories" ["class"]=> string(14) "Model_Category" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> NULL } } [6]=> array(6) { ["file"]=> string(81) "/home/water-dnr/water-dnr.com/docs/application/controllers/CategoryController.php" ["line"]=> int(58) ["function"]=> string(11) "hasChildren" ["class"]=> string(14) "Model_Category" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [7]=> array(6) { ["file"]=> string(60) "/home/water-dnr/water-dnr.com/php/Zend/Controller/Action.php" ["line"]=> int(516) ["function"]=> string(10) "viewAction" ["class"]=> string(18) "CategoryController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [8]=> array(6) { ["file"]=> string(73) "/home/water-dnr/water-dnr.com/php/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(308) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(10) "viewAction" } } [9]=> array(6) { ["file"]=> string(59) "/home/water-dnr/water-dnr.com/php/Zend/Controller/Front.php" ["line"]=> int(954) ["function"]=> string(8) "dispatch" ["class"]=> string(35) "Zend_Controller_Dispatcher_Standard" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(Zend_Controller_Request_Http)#76 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(12) "/category/59" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(12) "/category/59" ["_params":protected]=> array(6) { ["id"]=> string(2) "59" ["module"]=> string(7) "default" ["controller"]=> string(8) "category" ["action"]=> string(4) "view" ["page"]=> string(1) "1" ["error_handler"]=> *RECURSION* } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(5) "error" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "error" ["_actionKey":protected]=> string(6) "action" } [1]=> object(Zend_Controller_Response_Http)#75 (8) { ["_body":protected]=> array(0) { } ["_exceptions":protected]=> array(1) { [0]=> *RECURSION* } ["_headers":protected]=> array(0) { } ["_headersRaw":protected]=> array(0) { } ["_httpResponseCode":protected]=> int(200) ["_isRedirect":protected]=> bool(false) ["_renderExceptions":protected]=> bool(false) ["headersSentThrowsException"]=> bool(true) } } } [10]=> array(6) { ["file"]=> string(74) "/home/water-dnr/water-dnr.com/php/Zend/Application/Bootstrap/Bootstrap.php" ["line"]=> int(107) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [11]=> array(6) { ["file"]=> string(54) "/home/water-dnr/water-dnr.com/php/Zend/Application.php" ["line"]=> int(384) ["function"]=> string(3) "run" ["class"]=> string(36) "Zend_Application_Bootstrap_Bootstrap" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [12]=> array(6) { ["file"]=> string(51) "/home/water-dnr/water-dnr.com/docs/public/index.php" ["line"]=> int(82) ["function"]=> string(3) "run" ["class"]=> string(16) "Zend_Application" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> object(PDOException)#97 (8) { ["message":protected]=> string(203) "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" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(59) "/home/water-dnr/water-dnr.com/php/Zend/Db/Statement/Pdo.php" ["line":protected]=> int(228) ["trace":"Exception":private]=> array(14) { [0]=> array(6) { ["file"]=> string(59) "/home/water-dnr/water-dnr.com/php/Zend/Db/Statement/Pdo.php" ["line"]=> int(228) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [1]=> array(6) { ["file"]=> string(55) "/home/water-dnr/water-dnr.com/php/Zend/Db/Statement.php" ["line"]=> int(303) ["function"]=> string(8) "_execute" ["class"]=> string(21) "Zend_Db_Statement_Pdo" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [2]=> array(6) { ["file"]=> string(62) "/home/water-dnr/water-dnr.com/php/Zend/Db/Adapter/Abstract.php" ["line"]=> int(480) ["function"]=> string(7) "execute" ["class"]=> string(17) "Zend_Db_Statement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(0) { } } } [3]=> array(6) { ["file"]=> string(66) "/home/water-dnr/water-dnr.com/php/Zend/Db/Adapter/Pdo/Abstract.php" ["line"]=> int(238) ["function"]=> string(5) "query" ["class"]=> string(24) "Zend_Db_Adapter_Abstract" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(50) "SELECT `category`.* FROM `category` WHERE (cid = )" [1]=> array(0) { } } } [4]=> array(6) { ["file"]=> string(52) "/home/water-dnr/water-dnr.com/php/Zend/Db/Select.php" ["line"]=> int(688) ["function"]=> string(5) "query" ["class"]=> string(28) "Zend_Db_Adapter_Pdo_Abstract" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(Zend_Db_Select)#95 (4) { ["_bind":protected]=> array(0) { } ["_adapter":protected]=> object(Zend_Db_Adapter_Pdo_Mysql)#26 (12) { ["_pdoType":protected]=> string(5) "mysql" ["_numericDataTypes":protected]=> array(16) { [0]=> int(0) [1]=> int(1) [2]=> int(2) ["INT"]=> int(0) ["INTEGER"]=> int(0) ["MEDIUMINT"]=> int(0) ["SMALLINT"]=> int(0) ["TINYINT"]=> int(0) ["BIGINT"]=> int(1) ["SERIAL"]=> int(1) ["DEC"]=> int(2) ["DECIMAL"]=> int(2) ["DOUBLE"]=> int(2) ["DOUBLE PRECISION"]=> int(2) ["FIXED"]=> int(2) ["FLOAT"]=> int(2) } ["_defaultStmtClass":protected]=> string(21) "Zend_Db_Statement_Pdo" ["_config":protected]=> array(8) { ["host"]=> string(15) "water-dnr.mysql" ["username"]=> string(16) "water-dnr_dbuser" ["password"]=> string(8) "Nzi2D:Ee" ["dbname"]=> string(12) "water-dnr_db" ["charset"]=> string(4) "utf8" ["driver_options"]=> array(1) { [1002]=> string(15) "SET NAMES utf8;" } ["persistent"]=> bool(false) ["options"]=> array(3) { ["caseFolding"]=> int(0) ["autoQuoteIdentifiers"]=> bool(true) ["fetchMode"]=> int(2) } } ["_fetchMode":protected]=> int(2) ["_profiler":protected]=> object(Zend_Db_Profiler)#22 (4) { ["_queryProfiles":protected]=> array(0) { } ["_enabled":protected]=> bool(false) ["_filterElapsedSecs":protected]=> NULL ["_filterTypes":protected]=> NULL } ["_defaultProfilerClass":protected]=> string(16) "Zend_Db_Profiler" ["_connection":protected]=> object(PDO)#70 (0) { } ["_caseFolding":protected]=> int(0) ["_autoQuoteIdentifiers":protected]=> bool(true) ["_allowSerialization":protected]=> bool(true) ["_autoReconnectOnUnserialize":protected]=> bool(false) } ["_parts":protected]=> array(11) { ["distinct"]=> bool(false) ["columns"]=> array(1) { [0]=> array(3) { [0]=> string(8) "category" [1]=> string(1) "*" [2]=> NULL } } ["union"]=> array(0) { } ["from"]=> array(1) { ["category"]=> array(4) { ["joinType"]=> string(4) "from" ["schema"]=> NULL ["tableName"]=> string(8) "category" ["joinCondition"]=> NULL } } ["where"]=> array(1) { [0]=> string(8) "(cid = )" } ["group"]=> array(0) { } ["having"]=> array(0) { } ["order"]=> array(0) { } ["limitcount"]=> NULL ["limitoffset"]=> NULL ["forupdate"]=> bool(false) } ["_tableCols":protected]=> array(0) { } } } } [5]=> array(6) { ["file"]=> string(66) "/home/water-dnr/water-dnr.com/docs/application/models/Category.php" ["line"]=> int(53) ["function"]=> string(5) "query" ["class"]=> string(14) "Zend_Db_Select" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [6]=> array(6) { ["file"]=> string(66) "/home/water-dnr/water-dnr.com/docs/application/models/Category.php" ["line"]=> int(121) ["function"]=> string(18) "getChildCategories" ["class"]=> string(14) "Model_Category" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> NULL } } [7]=> array(6) { ["file"]=> string(81) "/home/water-dnr/water-dnr.com/docs/application/controllers/CategoryController.php" ["line"]=> int(58) ["function"]=> string(11) "hasChildren" ["class"]=> string(14) "Model_Category" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [8]=> array(6) { ["file"]=> string(60) "/home/water-dnr/water-dnr.com/php/Zend/Controller/Action.php" ["line"]=> int(516) ["function"]=> string(10) "viewAction" ["class"]=> string(18) "CategoryController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [9]=> array(6) { ["file"]=> string(73) "/home/water-dnr/water-dnr.com/php/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(308) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(10) "viewAction" } } [10]=> array(6) { ["file"]=> string(59) "/home/water-dnr/water-dnr.com/php/Zend/Controller/Front.php" ["line"]=> int(954) ["function"]=> string(8) "dispatch" ["class"]=> string(35) "Zend_Controller_Dispatcher_Standard" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(Zend_Controller_Request_Http)#76 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(12) "/category/59" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(12) "/category/59" ["_params":protected]=> array(6) { ["id"]=> string(2) "59" ["module"]=> string(7) "default" ["controller"]=> string(8) "category" ["action"]=> string(4) "view" ["page"]=> string(1) "1" ["error_handler"]=> *RECURSION* } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(5) "error" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(5) "error" ["_actionKey":protected]=> string(6) "action" } [1]=> object(Zend_Controller_Response_Http)#75 (8) { ["_body":protected]=> array(0) { } ["_exceptions":protected]=> array(1) { [0]=> *RECURSION* } ["_headers":protected]=> array(0) { } ["_headersRaw":protected]=> array(0) { } ["_httpResponseCode":protected]=> int(200) ["_isRedirect":protected]=> bool(false) ["_renderExceptions":protected]=> bool(false) ["headersSentThrowsException"]=> bool(true) } } } [11]=> array(6) { ["file"]=> string(74) "/home/water-dnr/water-dnr.com/php/Zend/Application/Bootstrap/Bootstrap.php" ["line"]=> int(107) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [12]=> array(6) { ["file"]=> string(54) "/home/water-dnr/water-dnr.com/php/Zend/Application.php" ["line"]=> int(384) ["function"]=> string(3) "run" ["class"]=> string(36) "Zend_Application_Bootstrap_Bootstrap" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [13]=> array(6) { ["file"]=> string(51) "/home/water-dnr/water-dnr.com/docs/public/index.php" ["line"]=> int(82) ["function"]=> string(3) "run" ["class"]=> string(16) "Zend_Application" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "42000" [1]=> int(1064) [2]=> string(147) "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" } } } ["type"]=> string(15) "EXCEPTION_OTHER" ["request"]=> object(Zend_Controller_Request_Http)#93 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(12) "/category/59" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(12) "/category/59" ["_params":protected]=> array(5) { ["id"]=> string(2) "59" ["module"]=> string(7) "default" ["controller"]=> string(8) "category" ["action"]=> string(4) "view" ["page"]=> string(1) "1" } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(7) "default" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(8) "category" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(4) "view" ["_actionKey":protected]=> string(6) "action" } } }