object(Zend_Db_Statement_Mysqli_Exception)#82 (8) {
["_previous":"Zend_Exception":private]=>
NULL
["message":protected]=>
string(169) "Mysqli prepare error: 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]=>
int(1064)
["file":protected]=>
string(72) "/mnt/wwwroot/eapharm.cn/application/library/Zend/Db/Statement/Mysqli.php"
["line":protected]=>
int(77)
["trace":"Exception":private]=>
array(8) {
[0]=>
array(6) {
["file"]=>
string(65) "/mnt/wwwroot/eapharm.cn/application/library/Zend/Db/Statement.php"
["line"]=>
int(105)
["function"]=>
string(8) "_prepare"
["class"]=>
string(24) "Zend_Db_Statement_Mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(58) "SELECT `cms_category`.* FROM `cms_category` WHERE (catid=)"
}
}
[1]=>
array(6) {
["file"]=>
string(70) "/mnt/wwwroot/eapharm.cn/application/library/Zend/Db/Adapter/Mysqli.php"
["line"]=>
int(381)
["function"]=>
string(11) "__construct"
["class"]=>
string(17) "Zend_Db_Statement"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
object(Zend_Db_Adapter_Mysqli)#12 (12) {
["_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)
}
["_stmt":protected]=>
object(Zend_Db_Statement_Mysqli)#59 (12) {
["_keys":protected]=>
NULL
["_values":protected]=>
NULL
["_meta":protected]=>
bool(false)
["_stmt":protected]=>
NULL
["_adapter":protected]=>
*RECURSION*
["_fetchMode":protected]=>
int(2)
["_attribute":protected]=>
array(0) {
}
["_bindColumn":protected]=>
array(0) {
}
["_bindParam":protected]=>
array(0) {
}
["_sqlSplit":protected]=>
array(3) {
[0]=>
string(35) "UPDATE `cms_article` SET `click` = "
[1]=>
string(1) "?"
[2]=>
string(15) " WHERE (id=217)"
}
["_sqlParam":protected]=>
array(3) {
[0]=>
string(35) "UPDATE `cms_article` SET `click` = "
[1]=>
string(1) "?"
[2]=>
string(15) " WHERE (id=217)"
}
["_queryId":protected]=>
NULL
}
["_defaultStmtClass":protected]=>
string(24) "Zend_Db_Statement_Mysqli"
["_config":protected]=>
array(9) {
["dbname"]=>
string(10) "eapharm_cn"
["host"]=>
string(9) "127.0.0.1"
["username"]=>
string(10) "eapharm_cn"
["password"]=>
string(12) "idGQwF4MJ7Rx"
["dbprefix"]=>
string(4) "cms_"
["charset"]=>
string(4) "utf8"
["persistent"]=>
bool(false)
["options"]=>
array(3) {
["caseFolding"]=>
int(0)
["autoQuoteIdentifiers"]=>
bool(true)
["fetchMode"]=>
int(2)
}
["driver_options"]=>
array(0) {
}
}
["_fetchMode":protected]=>
int(2)
["_profiler":protected]=>
object(Zend_Db_Profiler)#14 (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(mysqli)#15 (19) {
["affected_rows"]=>
int(-1)
["client_info"]=>
string(75) "mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $"
["client_version"]=>
int(50010)
["connect_errno"]=>
int(0)
["connect_error"]=>
NULL
["errno"]=>
int(1064)
["error"]=>
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"
["error_list"]=>
array(0) {
}
["field_count"]=>
int(0)
["host_info"]=>
string(20) "127.0.0.1 via TCP/IP"
["info"]=>
string(40) "Rows matched: 0 Changed: 0 Warnings: 0"
["insert_id"]=>
int(0)
["server_info"]=>
string(10) "5.7.40-log"
["server_version"]=>
int(50740)
["stat"]=>
string(153) "Uptime: 1130180 Threads: 75 Questions: 149193493 Slow queries: 62 Opens: 5857572 Flush tables: 1 Open tables: 1024 Queries per second avg: 132.008"
["sqlstate"]=>
string(5) "00000"
["protocol_version"]=>
int(10)
["thread_id"]=>
int(1211622)
["warning_count"]=>
int(0)
}
["_caseFolding":protected]=>
int(0)
["_autoQuoteIdentifiers":protected]=>
bool(true)
["_allowSerialization":protected]=>
bool(true)
["_autoReconnectOnUnserialize":protected]=>
bool(false)
}
[1]=>
string(58) "SELECT `cms_category`.* FROM `cms_category` WHERE (catid=)"
}
}
[2]=>
array(6) {
["file"]=>
string(72) "/mnt/wwwroot/eapharm.cn/application/library/Zend/Db/Adapter/Abstract.php"
["line"]=>
int(478)
["function"]=>
string(7) "prepare"
["class"]=>
string(22) "Zend_Db_Adapter_Mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(58) "SELECT `cms_category`.* FROM `cms_category` WHERE (catid=)"
}
}
[3]=>
array(6) {
["file"]=>
string(72) "/mnt/wwwroot/eapharm.cn/application/library/Zend/Db/Adapter/Abstract.php"
["line"]=>
int(755)
["function"]=>
string(5) "query"
["class"]=>
string(24) "Zend_Db_Adapter_Abstract"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
string(58) "SELECT `cms_category`.* FROM `cms_category` WHERE (catid=)"
[1]=>
array(0) {
}
}
}
[4]=>
array(6) {
["file"]=>
string(51) "/mnt/wwwroot/eapharm.cn/application/models/Base.php"
["line"]=>
int(262)
["function"]=>
string(8) "fetchRow"
["class"]=>
string(24) "Zend_Db_Adapter_Abstract"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(58) "SELECT `cms_category`.* FROM `cms_category` WHERE (catid=)"
}
}
[5]=>
array(6) {
["file"]=>
string(59) "/mnt/wwwroot/eapharm.cn/application/controllers/Article.php"
["line"]=>
int(187)
["function"]=>
string(13) "getRowByWhere"
["class"]=>
string(9) "BaseModel"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(6) "catid="
}
}
[6]=>
array(4) {
["function"]=>
string(10) "viewAction"
["class"]=>
string(17) "ArticleController"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[7]=>
array(6) {
["file"]=>
string(40) "/mnt/wwwroot/eapharm.cn/public/index.php"
["line"]=>
int(29)
["function"]=>
string(3) "run"
["class"]=>
string(15) "Yaf_Application"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
}
["previous":"Exception":private]=>
NULL
}
0:Mysqli prepare error: 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