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

SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'data_id' 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('INSERT INTO `tp_view...', ['ThinkBind_1_72552462_' => ['goods', 2], 'ThinkBind_2_297070336_' => ['597001258610', 1], 'ThinkBind_3_66684781_' => ['3.235.130.73', 2], ...], true, false) in PDOConnection.php line 857
  3. at PDOConnection->queryPDOStatement(object(Query), 'INSERT INTO `tp_view...', ['ThinkBind_1_72552462_' => ['goods', 2], 'ThinkBind_2_297070336_' => ['597001258610', 1], 'ThinkBind_3_66684781_' => ['3.235.130.73', 2], ...]) in PDOConnection.php line 820
  4. at PDOConnection->pdoExecute(object(Query), 'INSERT INTO `tp_view...', ['ThinkBind_1_72552462_' => ['goods', 2], 'ThinkBind_2_297070336_' => ['597001258610', 1], 'ThinkBind_3_66684781_' => ['3.235.130.73', 2], ...]) in PDOConnection.php line 941
  5. at PDOConnection->insert(object(Query), false) in BaseQuery.php line 995
  6. at BaseQuery->insert(['type' => 'goods', 'data_id' => '597001258610', 'ip' => '3.235.130.73', ...]) in common.php line 125
  7. at view_log('597001258610', 'goods') in Goods.php line 11
  8. at Goods->index()
  9. at ReflectionMethod->invokeArgs(object(Goods), []) in Container.php line 344
  10. at Container->invokeReflectMethod(object(Goods), object(ReflectionMethod), ['id' => '597001258610']) in Controller.php line 110
  11. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  12. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  13. at Pipeline->then(object(Closure)) in Controller.php line 113
  14. at Controller->exec() in Dispatch.php line 90
  15. at Dispatch->run() in Route.php line 785
  16. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  17. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  18. at Pipeline->then(object(Closure)) in Route.php line 786
  19. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  20. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  21. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  22. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  23. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  24. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  25. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  26. at MultiApp->handle(object(Request), object(Closure))
  27. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  28. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  29. at Pipeline->think\{closure}(object(Request)) in AllowCrossDomain.php line 61
  30. at AllowCrossDomain->handle(object(Request), object(Closure))
  31. at call_user_func([object(AllowCrossDomain), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  32. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  33. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  34. at SessionInit->handle(object(Request), object(Closure))
  35. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  36. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  37. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  38. at TraceDebug->handle(object(Request), object(Closure))
  39. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  40. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  41. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  42. at Pipeline->then(object(Closure)) in Http.php line 207
  43. at Http->runWithRequest(object(Request)) in Http.php line 170
  44. at Http->run() in index.php line 20

Exception Datas

PDO Error Info
SQLSTATE 22003
Driver Error Code 1264
Driver Error Message Out of range value for column 'data_id' at row 1
Database Status
Error Code 10501
Error Message SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'data_id' at row 1
Error SQL INSERT INTO `tp_view_log` SET `type` = 'goods' , `data_id` = 597001258610 , `ip` = '3.235.130.73' , `browser` = '其他类型浏览器' , `os` = '其他类型系统' , `create_time` = '2024-03-29 07:17:14' , `user_agent` = 'claudebot'
Database Config
type mysql
hostname 127.0.0.1
database youquanya
hostport 3306
dsn
params []
charset utf8
prefix tp_
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 []
auto_param_bind true
schema_cache_path /www/wwwroot/passport.youquanya.com/runtime/schema/

Environment Variables

GET Data
id 597001258610
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST passport.youquanya.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME passport.youquanya.com
SERVER_PORT 80
SERVER_ADDR 191.101.44.192
REMOTE_PORT 36862
REMOTE_ADDR 3.235.130.73
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/passport.youquanya.com/public
DOCUMENT_URI /index.php
REQUEST_URI /index/goods/index.html?id=597001258610
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/goods/index.html&id=597001258610
SCRIPT_FILENAME /www/wwwroot/passport.youquanya.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711667834.6951
REQUEST_TIME 1711667834
0.044652s