[10501] PDOException in Connection.php line 764

SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'data_id' at row 1

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

Call Stack

  1. in Connection.php line 764
  2. at Connection->execute('INSERT INTO `tp_view...', ['ThinkBind_1_1252977024_' => ['goods', 2], 'ThinkBind_2_1246942255_' => ['623674370654', 1], 'ThinkBind_3_629612679_' => ['3.235.75.229', 2], ...], object(Query)) in Connection.php line 964
  3. at Connection->insert(object(Query), false, false, null) in Query.php line 2855
  4. at Query->insert(['type' => 'goods', 'data_id' => '623674370654', 'ip' => '3.235.75.229', ...]) in common.php line 136
  5. at view_log('623674370654', 'goods') in Goods.php line 11
  6. at Goods->index()
  7. at ReflectionMethod->invokeArgs(object(Goods), []) in Container.php line 395
  8. at Container->invokeReflectMethod(object(Goods), object(ReflectionMethod), ['id' => '623674370654']) in Module.php line 131
  9. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  10. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  11. at Middleware->think\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  13. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  14. at Module->exec() in Dispatch.php line 168
  15. at Dispatch->run() in App.php line 432
  16. at App->think\{closure}(object(Request), object(Closure), null)
  17. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  18. at Middleware->think\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  20. at Middleware->dispatch(object(Request)) in App.php line 435
  21. at App->run() in index.php line 21

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` (`type` , `data_id` , `ip` , `browser` , `os` , `create_time` , `user_agent`) VALUES ('goods' , 623674370654 , '3.235.75.229' , '其他类型浏览器' , '其他类型系统' , '2024-03-28 19:50:34' , 'claudebot')
Database Config
type mysql
hostname 127.0.0.1
database youquanya
hostport 3306
dsn
params []
charset utf8
prefix tp_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
resultset_type array
auto_timestamp true
datetime_format Y-m-d H:i:s
sql_explain false
builder
query \think\db\Query
break_reconnect false
break_match_str []

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.youquanya.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.youquanya.com
SERVER_PORT 80
SERVER_ADDR 191.101.44.192
REMOTE_PORT 37142
REMOTE_ADDR 3.235.75.229
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.youquanya.com/public
DOCUMENT_URI /index.php
REQUEST_URI /index/goods/index/id/623674370654.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/goods/index/id/623674370654.html
SCRIPT_FILENAME /www/wwwroot/www.youquanya.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711626634.0782
REQUEST_TIME 1711626634
Environment Variablesempty
ThinkPHP Constantsempty
0.050025s