[10501] PDOException in Connection.php line 463

SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'url' at row 1

  1. $query->readMaster();
  2. }
  3. $this->numRows = $this->PDOStatement->rowCount();
  4. return $this->numRows;
  5. } catch (\PDOException $e) {
  6. if ($this->isBreak($e)) {
  7. return $this->close()->execute($sql, $bind, $query);
  8. }
  9. throw new PDOException($e, $this->config, $this->getLastsql());
  10. } catch (\Throwable $e) {
  11. if ($this->isBreak($e)) {
  12. return $this->close()->execute($sql, $bind, $query);
  13. }
  14. throw $e;
  15. } catch (\Exception $e) {
  16. if ($this->isBreak($e)) {
  17. return $this->close()->execute($sql, $bind, $query);
  18. }

Call Stack

  1. in Connection.php line 463
  2. at Connection->execute('INSERT INTO `cmf_vis...', ['data__ip' => ['45.115.243.230', 2], 'data__url' => ['/?fp=my1WjAfqnUCK5Ce...', 2], 'data__add_time' => [1674915706, 1], ...], object(Query)) in Query.php line 262
  3. at Query->execute('INSERT INTO `cmf_vis...', ['data__ip' => ['45.115.243.230', 2], 'data__url' => ['/?fp=my1WjAfqnUCK5Ce...', 2], 'data__add_time' => [1674915706, 1], ...], object(Query)) in Query.php line 2228
  4. at Query->insert(['ip' => '45.115.243.230', 'url' => '/?fp=my1WjAfqnUCK5Ce...', 'add_time' => 1674915706, ...], false, true, null) in Query.php line 2258
  5. at Query->insertGetId(['ip' => '45.115.243.230', 'url' => '/?fp=my1WjAfqnUCK5Ce...', 'add_time' => 1674915706, ...]) in HomeBaseController.php line 48
  6. at HomeBaseController->_initialize() in BaseController.php line 44
  7. at BaseController->__construct(object(Request))
  8. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  9. at App::invokeClass('app\portal\controlle...') in Loader.php line 479
  10. at Loader::controller('index', 'controller', true, 'Error') in App.php line 575
  11. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  12. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  13. at App::run() in index.php line 41

Exception Datas

PDO Error Info
SQLSTATE 22001
Driver Error Code 1406
Driver Error Message Data too long for column 'url' at row 1
Database Status
Error Code 10501
Error Message SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'url' at row 1
Error SQL INSERT INTO `cmf_visit_log` (`ip` , `url` , `add_time` , `is_mobile`) VALUES ('45.115.243.230' , '/?fp=my1WjAfqnUCK5CeQpvnGXg76h7u8%2BuOPNFDXeI1UMDDkufxSqOAB6Dwr0vdbsa2ARGXQRYXm4zugenBh80KfTUOeE%2F4eb0R83%2BaXjVJ9zjTmEZ8ZnTd1RWsiUy6KvkD7RHKiNHWc3KTKdR2AyNjgCe2CYvxReRdVqH5OOv0aTsyVaO6UVnTK8G25dWTolrNX6y8N4a0ZqNTw9JeBqI6plWoV1%2BSMTLjNG20RwYbvFe3QNNAHg61io98aCUnwCWMqR6gH59LNHBYy5mB7M%2FAyyw%3D%3D&poru=gJgMIRoQVvOIy76qYmaEWYTlmOwrfNs7%2FyKliN8vZfhVz1cI3s7gOoVcJl3FDj4I&_opnslfp=1&' , 1674915706 , 0)
Database Config
type mysql
hostname 127.0.0.1
database thinkcmf9
hostport 3306
dsn
params []
charset utf8mb4
prefix cmf_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
result_type 2
resultset_type collection
auto_timestamp false
datetime_format false
sql_explain false
builder
query \think\db\Query
break_reconnect false
authcode Pwd95gXWfpxlLjFEeM

Environment Variables

GET Data

fp
my1WjAfqnUCK5CeQpvnGXg76h7u8+uOPNFDXeI1UMDDkufxSqOAB6Dwr0vdbsa2ARGXQRYXm4zugenBh80KfTUOeE/4eb0R83+aXjVJ9zjTmEZ8ZnTd1RWsiUy6KvkD7RHKiNHWc3KTKdR2AyNjgCe2CYvxReRdVqH5OOv0aTsyVaO6UVnTK8G25dWTolrNX6y8N4a0ZqNTw9JeBqI6plWoV1+SMTLjNG20RwYbvFe3QNNAHg61io98aCUnwCWMqR6gH59LNHBYy5mB7M/Ayyw==
poru
gJgMIRoQVvOIy76qYmaEWYTlmOwrfNs7/yKliN8vZfhVz1cI3s7gOoVcJl3FDj4I
_opnslfp
1
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_ACCEPT
*/*
HTTP_HOST
www.yeqiao.cn
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
www.yeqiao.cn
SERVER_PORT
443
SERVER_ADDR
172.17.224.121
REMOTE_PORT
46410
REMOTE_ADDR
45.115.243.230
SERVER_SOFTWARE
nginx/1.22.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/web/www.yeqiao.cn
DOCUMENT_URI
/index.php
REQUEST_URI
/?fp=my1WjAfqnUCK5CeQpvnGXg76h7u8%2BuOPNFDXeI1UMDDkufxSqOAB6Dwr0vdbsa2ARGXQRYXm4zugenBh80KfTUOeE%2F4eb0R83%2BaXjVJ9zjTmEZ8ZnTd1RWsiUy6KvkD7RHKiNHWc3KTKdR2AyNjgCe2CYvxReRdVqH5OOv0aTsyVaO6UVnTK8G25dWTolrNX6y8N4a0ZqNTw9JeBqI6plWoV1%2BSMTLjNG20RwYbvFe3QNNAHg61io98aCUnwCWMqR6gH59LNHBYy5mB7M%2FAyyw%3D%3D&poru=gJgMIRoQVvOIy76qYmaEWYTlmOwrfNs7%2FyKliN8vZfhVz1cI3s7gOoVcJl3FDj4I&_opnslfp=1&
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
fp=my1WjAfqnUCK5CeQpvnGXg76h7u8%2BuOPNFDXeI1UMDDkufxSqOAB6Dwr0vdbsa2ARGXQRYXm4zugenBh80KfTUOeE%2F4eb0R83%2BaXjVJ9zjTmEZ8ZnTd1RWsiUy6KvkD7RHKiNHWc3KTKdR2AyNjgCe2CYvxReRdVqH5OOv0aTsyVaO6UVnTK8G25dWTolrNX6y8N4a0ZqNTw9JeBqI6plWoV1%2BSMTLjNG20RwYbvFe3QNNAHg61io98aCUnwCWMqR6gH59LNHBYy5mB7M%2FAyyw%3D%3D&poru=gJgMIRoQVvOIy76qYmaEWYTlmOwrfNs7%2FyKliN8vZfhVz1cI3s7gOoVcJl3FDj4I&_opnslfp=1&
SCRIPT_FILENAME
/data/web/www.yeqiao.cn/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1674915706.8842
REQUEST_TIME
1674915706
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/data/web/www.yeqiao.cn/
APP_PATH
/data/web/www.yeqiao.cn/app/
CMF_PATH
/data/web/www.yeqiao.cn/simplewind/cmf/
PLUGINS_PATH
/data/web/www.yeqiao.cn/plugins/
EXTEND_PATH
/data/web/www.yeqiao.cn/simplewind/extend/
VENDOR_PATH
/data/web/www.yeqiao.cn/simplewind/vendor/
RUNTIME_PATH
/data/web/www.yeqiao.cn/data/runtime/
THINKCMF_VERSION
5.0.180901
THINK_VERSION
5.0.20
THINK_START_TIME
1674915706.8845
THINK_START_MEM
406216
EXT
.php
DS
/
THINK_PATH
/data/web/www.yeqiao.cn/simplewind/thinkphp/
LIB_PATH
/data/web/www.yeqiao.cn/simplewind/thinkphp/library/
CORE_PATH
/data/web/www.yeqiao.cn/simplewind/thinkphp/library/think/
TRAIT_PATH
/data/web/www.yeqiao.cn/simplewind/thinkphp/library/traits/
ROOT_PATH
/data/web/www.yeqiao.cn/
LOG_PATH
/data/web/www.yeqiao.cn/data/runtime/log/
CACHE_PATH
/data/web/www.yeqiao.cn/data/runtime/cache/
TEMP_PATH
/data/web/www.yeqiao.cn/data/runtime/temp/
CONF_PATH
/data/web/www.yeqiao.cn/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
url
/?fp=my1WjAfqnUCK5CeQpvnGXg76h7u8%2BuOPNFDXeI1UMDDkufxSqOAB6Dwr0vdbsa2ARGXQRYXm4zugenBh80KfTUOeE%2F4eb0R83%2BaXjVJ9zjTmEZ8ZnTd1RWsiUy6KvkD7RHKiNHWc3KTKdR2AyNjgCe2CYvxReRdVqH5OOv0aTsyVaO6UVnTK8G25dWTolrNX6y8N4a0ZqNTw9JeBqI6plWoV1%2BSMTLjNG20RwYbvFe3QNNAHg61io98aCUnwCWMqR6gH59LNHBYy5mB7M%2FAyyw%3D%3D&poru=gJgMIRoQVvOIy76qYmaEWYTlmOwrfNs7%2FyKliN8vZfhVz1cI3s7gOoVcJl3FDj4I&_opnslfp=1&
ref
Resource
ent
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
site
http://www.ok03.vip/
road
?www.yeqiao.cn/?fp=my1WjAfqnUCK5CeQpvnGXg76h7u8%2BuOPNFDXeI1UMDDkufxSqOAB6Dwr0vdbsa2ARGXQRYXm4zugenBh80KfTUOeE%2F4eb0R83%2BaXjVJ9zjTmEZ8ZnTd1RWsiUy6KvkD7RHKiNHWc3KTKdR2AyNjgCe2CYvxReRdVqH5OOv0aTsyVaO6UVnTK8G25dWTolrNX6y8N4a0ZqNTw9JeBqI6plWoV1%2BSMTLjNG20RwYbvFe3QNNAHg61io98aCUnwCWMqR6gH59LNHBYy5mB7M%2FAyyw%3D%3D&poru=gJgMIRoQVvOIy76qYmaEWYTlmOwrfNs7%2FyKliN8vZfhVz1cI3s7gOoVcJl3FDj4I&_opnslfp=1&
regs
@Baidu|Sogou|Yisou|Haosou|Spider|So.com|Sm.cn@i
mobile
/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/
area
false
HTMLPURIFIER_PREFIX
/data/web/www.yeqiao.cn/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.5