$this->numRows = $this->PDOStatement->rowCount();
return $this->numRows;
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
}
throw new PDOException($e, $this->config, $this->getLastsql());
} catch (\Throwable $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
}
throw $e;
} catch (\Exception $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
SQLSTATE | 42000 |
Driver Error Code | 1064 |
Driver Error Message | 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 'index )' at line 1 |
Error Code | 10501 |
Error Message | 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 'index )' at line 1 |
Error SQL | UPDATE `crh_pros` SET `views` = `views` + 1 WHERE ( id = index ) |
type | mysql |
hostname | localhost |
database | jxzbjt_ce0791_co |
hostport | |
dsn | |
params | [] |
charset | utf8 |
prefix | crh_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
resultset_type | array |
auto_timestamp | false |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |
break_match_str | [] |
PHPSESSID | cuq33vrbdtb1t50va75totvnk0 |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
REDIRECT_STATUS | 200 |
proxy-nokeepalive | 1 |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
HTTP_HOST | www.zhengbang.com |
HTTP_ACCEPT | */* |
HTTP_COOKIE | PHPSESSID=cuq33vrbdtb1t50va75totvnk0 |
HTTP_ACCEPT_CHARSET | utf-8 |
CONTENT_LENGTH | 0 |
CONTENT_TYPE | application/x-www-form-urlencoded |
PATH | /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin |
LD_LIBRARY_PATH | /www/server/apache/lib |
SERVER_SIGNATURE | <address>Apache Server at www.zhengbang.com Port 80</address> |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.zhengbang.com |
SERVER_ADDR | 211.149.224.47 |
SERVER_PORT | 80 |
REMOTE_ADDR | 45.158.221.134 |
DOCUMENT_ROOT | /www/wwwroot/zbjt/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/zbjt/public |
SERVER_ADMIN | webmaster@example.com |
SCRIPT_FILENAME | /www/wwwroot/zbjt/public/index.php |
REMOTE_PORT | 32850 |
REDIRECT_URL | /industry/pshow/index.html |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
REQUEST_URI | //industry/pshow/index.html |
SCRIPT_NAME | /index.php |
PATH_INFO | /industry/pshow/index.html |
PATH_TRANSLATED | redirect:/index.php/industry/pshow/index.html/pshow/index.html |
PHP_SELF | /index.php/industry/pshow/index.html |
REQUEST_TIME_FLOAT | 1604355580.1782 |
REQUEST_TIME | 1604355580 |