$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 | HY000 |
Driver Error Code | 1366 |
Driver Error Message | Incorrect integer value: 'mtgd' for column 'cateid' at row 1 |
Error Code | 10501 |
Error Message | SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'mtgd' for column 'cateid' at row 1 |
Error SQL | INSERT INTO `sx_news_view_log` (`cateid` , `news_id` , `referer` , `add_ip` , `add_date` , `add_time`) VALUES (mtgd , 1 , NULL , '107.158.193.234' , '2023-09-22' , '2023-09-22 21:28:44') |
type | mysql |
hostname | 127.0.0.1 |
database | ahhmhb_com |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | sx_ |
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 | [] |
USER | www |
HOME | /home/www |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.ahhmhb.com |
HTTP_USER_AGENT | Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | ahhmhb.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.19.100.4 |
REMOTE_PORT | 59016 |
REMOTE_ADDR | 107.158.193.234 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/ahhmhb.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/mtgd/1.htm |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/mtgd/1.htm |
SCRIPT_FILENAME | /www/wwwroot/ahhmhb.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1695389324.0869 |
REQUEST_TIME | 1695389324 |
MAX_MENU_LENGTH | 3 |
MAX_SUB_MENU_LENGTH | 5 |
MODULE_NAME | content |
ACTION_NAME | index |