#0 [10501]PDOException in PDOConnection.php line 797

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

  1. }
  2. } else {
  3. if ($this->reConnectTimes < 4 && $this->isBreak($e)) {
  4. ++$this->reConnectTimes;
  5. return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);
  6. }
  7. }
  8. if ($e instanceof \PDOException) {
  9. throw new PDOException($e, $this->config, $this->getLastsql());
  10. } else {
  11. throw $e;
  12. }
  13. }
  14. }
  15. /**
  16. * 执行语句
  17. * @access protected

Call Stack

  1. in PDOConnection.php line 797
  2. at PDOConnection->getPDOStatement() in PDOConnection.php line 857
  3. at PDOConnection->queryPDOStatement() in PDOConnection.php line 820
  4. at PDOConnection->pdoExecute() in PDOConnection.php line 941
  5. at PDOConnection->insert() in BaseQuery.php line 995
  6. at BaseQuery->insert() in Model.php line 701
  7. at Model->think\{closure}() in PDOConnection.php line 1419
  8. at PDOConnection->transaction() in Transaction.php line 44
  9. at BaseQuery->transaction() in Model.php line 717
  10. at Model->insertData() in Model.php line 536
  11. at Model->save() in Model.php line 849
  12. at Model::create() in IndexBase.php line 111
  13. at IndexBase->baiduLog() in IndexBase.php line 70
  14. at IndexBase->initialize() in BaseController.php line 50
  15. at BaseController->__construct()
  16. at ReflectionClass->newInstanceArgs() in Container.php line 395
  17. at Container->invokeClass() in Container.php line 252
  18. at Container->make() in Controller.php line 187
  19. at Controller->controller() in Controller.php line 74
  20. at Controller->exec() in Dispatch.php line 90
  21. at Dispatch->run() in Route.php line 785
  22. at Route->think\{closure}() in Pipeline.php line 59
  23. at Pipeline->think\{closure}() in Pipeline.php line 66
  24. at Pipeline->then() in Route.php line 786
  25. at Route->dispatch() in Http.php line 216
  26. at Http->dispatchToRoute() in Http.php line 206
  27. at Http->think\{closure}() in Pipeline.php line 59
  28. at Pipeline->think\{closure}() in MultiApp.php line 71
  29. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  30. at Pipeline->think\{closure}() in Pipeline.php line 66
  31. at Pipeline->then() in MultiApp.php line 72
  32. at MultiApp->handle()
  33. at call_user_func() in Middleware.php line 142
  34. at Middleware->think\{closure}() in Pipeline.php line 85
  35. at Pipeline->think\{closure}() in SessionInit.php line 67
  36. at SessionInit->handle()
  37. at call_user_func() in Middleware.php line 142
  38. at Middleware->think\{closure}() in Pipeline.php line 85
  39. at Pipeline->think\{closure}() in TraceDebug.php line 71
  40. at TraceDebug->handle()
  41. at call_user_func() in Middleware.php line 142
  42. at Middleware->think\{closure}() in Pipeline.php line 85
  43. at Pipeline->think\{closure}() in Pipeline.php line 66
  44. at Pipeline->then() in Http.php line 207
  45. at Http->runWithRequest() in Http.php line 170
  46. at Http->run() in index.php line 20

Exception Datas

PDO Error Info
SQLSTATE 22001
Driver Error Code 1406
Driver Error Message Data too long for column 'href' at row 1
Database Status
Error Code 10501
Error Message SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'href' at row 1
Error SQL INSERT INTO `ht_baidu_log` SET `title` = 'claudebot' , `href` = '/index/Index/index.html?tag=%E9%A6%99%E6%B8%AF%E6%9B%BE%E9%81%93%E4%BA%BA%E7%89%B9%E7%A0%81%E5%85%AD%E5%90%88%E5%BD%A9%E5%BC%80%E5%A5%96%E7%BB%93%E6%9E%9C%E7%8E%B0%E5%9C%BA%E7%9B%B4%E6%92%AD%E6%8A%A5%E7%A0%81%E8%81%8A%E5%A4%A9%E5%AE%A4' , `ip` = '3.235.46.191' , `referer` = '无' , `create_time` = 1711669877
Database Config
type mysql
hostname 127.0.0.1
database htfei_com
hostport 3306
dsn
params []
charset utf8
prefix ht_
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
fields_cache false
trigger_sql true
builder
query
break_reconnect false
break_match_str []
schema_cache_path /data/wwwroot/htfei.com/runtime/schema/

Environment Variables

GET Data
tag 香港曾道人特码六合彩开奖结果现场直播报码聊天室
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.htfei.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME htfei.com
SERVER_PORT 80
SERVER_ADDR 10.0.0.2
REMOTE_PORT 52932
REMOTE_ADDR 3.235.46.191
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /data/wwwroot/htfei.com/public
DOCUMENT_URI /index.php
REQUEST_URI /?tag=%E9%A6%99%E6%B8%AF%E6%9B%BE%E9%81%93%E4%BA%BA%E7%89%B9%E7%A0%81%E5%85%AD%E5%90%88%E5%BD%A9%E5%BC%80%E5%A5%96%E7%BB%93%E6%9E%9C%E7%8E%B0%E5%9C%BA%E7%9B%B4%E6%92%AD%E6%8A%A5%E7%A0%81%E8%81%8A%E5%A4%A9%E5%AE%A4
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING tag=%E9%A6%99%E6%B8%AF%E6%9B%BE%E9%81%93%E4%BA%BA%E7%89%B9%E7%A0%81%E5%85%AD%E5%90%88%E5%BD%A9%E5%BC%80%E5%A5%96%E7%BB%93%E6%9E%9C%E7%8E%B0%E5%9C%BA%E7%9B%B4%E6%92%AD%E6%8A%A5%E7%A0%81%E8%81%8A%E5%A4%A9%E5%AE%A4
SCRIPT_FILENAME /data/wwwroot/htfei.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711669877.3725
REQUEST_TIME 1711669877
0.385509s