[10501] PDOException in Connection.php line 385

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qixuebang.uk_spider' doesn't exist

  1. $this->PDOStatement->execute();
  2. // 调试结束
  3. $this->debug(false, '', $master);
  4. // 返回结果集
  5. return $this->getResult($pdo, $procedure);
  6. } catch (\PDOException $e) {
  7. if ($this->isBreak($e)) {
  8. return $this->close()->query($sql, $bind, $master, $pdo);
  9. }
  10. throw new PDOException($e, $this->config, $this->getLastsql());
  11. } catch (\Throwable $e) {
  12. if ($this->isBreak($e)) {
  13. return $this->close()->query($sql, $bind, $master, $pdo);
  14. }
  15. throw $e;
  16. } catch (\Exception $e) {
  17. if ($this->isBreak($e)) {
  18. return $this->close()->query($sql, $bind, $master, $pdo);
  19. }

Call Stack

  1. in Connection.php line 385
  2. at Connection->query('SHOW COLUMNS FROM `u...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('`uk_spider`') in Query.php line 1921
  4. at Query->getTableInfo('uk_spider', 'type') in Query.php line 1969
  5. at Query->getFieldsType('uk_spider') in Query.php line 1975
  6. at Query->getFieldsBind('uk_spider') in Builder.php line 92
  7. at Builder->parseData(['addtime' => '2024-04-19 00:03:27', 'ip' => '3.129.13.201', 'bot' => '其它蜘蛛', ...], ['table' => 'uk_spider', 'where' => [], 'field' => '*', ...]) in Builder.php line 743
  8. at Builder->insert(['addtime' => '2024-04-19 00:03:27', 'ip' => '3.129.13.201', 'bot' => '其它蜘蛛', ...], ['table' => 'uk_spider', 'where' => [], 'field' => '*', ...], false) in Query.php line 2266
  9. at Query->insert(['addtime' => '2024-04-19 00:03:27', 'ip' => '3.129.13.201', 'bot' => '其它蜘蛛', ...]) in Base.php line 454
  10. at Base->splider(6836) in Base.php line 99
  11. at Base->_initialize() in Controller.php line 59
  12. at Controller->__construct(object(Request))
  13. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  14. at App::invokeClass('app\index\controller...') in Loader.php line 479
  15. at Loader::controller('course', 'controller', false, 'Error') in App.php line 580
  16. at App::module(['index', 'course', 'innercourse'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  17. at App::exec(['type' => 'module', 'module' => ['index', 'course', 'innercourse'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  18. at App::run() in start.php line 19
  19. at require('/www/wwwroot/51qixue...') in index.php line 17

Exception Datas

PDO Error Info
SQLSTATE 42S02
Driver Error Code 1146
Driver Error Message Table 'qixuebang.uk_spider' doesn't exist
Database Status
Error Code 10501
Error Message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qixuebang.uk_spider' doesn't exist
Error SQL SHOW COLUMNS FROM `uk_spider`
Database Config
type mysql
hostname 10.206.16.2
database qixuebang
hostport 3306
dsn
params []
charset utf8
prefix
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
result_type 2
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

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

im_token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRpZCI6NjgzNiwibmlja25hbWUiOiLlnKjnur_lrqLmnI0iLCJhdmF0YXIiOiJodHRwOlwvXC96cy41MXFpeHVlLmNuXC91cGxvYWRcLzFcL2xvZ28ucG5nIn0.dkoEzr16ba7X5tOU11wHcmSqQXxq3sWaeDykwXD3keg
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
zs.51qixue.cn
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/inner/content_13967.html
REDIRECT_STATUS
200
SERVER_NAME
51qixue.cn
SERVER_PORT
80
SERVER_ADDR
10.206.16.6
REMOTE_PORT
16936
REMOTE_ADDR
3.129.13.201
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/51qixue.cn/www/public
DOCUMENT_URI
/index.php
REQUEST_URI
/inner/content_13967.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/inner/content_13967.html
SCRIPT_FILENAME
/www/wwwroot/51qixue.cn/www/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1713456207.3829
REQUEST_TIME
1713456207
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/51qixue.cn/www/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1713456207.3832
THINK_START_MEM
404112
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/51qixue.cn/www/thinkphp/
LIB_PATH
/www/wwwroot/51qixue.cn/www/thinkphp/library/
CORE_PATH
/www/wwwroot/51qixue.cn/www/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/51qixue.cn/www/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/51qixue.cn/www/
EXTEND_PATH
/www/wwwroot/51qixue.cn/www/extend/
VENDOR_PATH
/www/wwwroot/51qixue.cn/www/vendor/
RUNTIME_PATH
/www/wwwroot/51qixue.cn/www/runtime/
LOG_PATH
/www/wwwroot/51qixue.cn/www/runtime/log/
CACHE_PATH
/www/wwwroot/51qixue.cn/www/runtime/cache/
TEMP_PATH
/www/wwwroot/51qixue.cn/www/runtime/temp/
CONF_PATH
/www/wwwroot/51qixue.cn/www/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
/www/wwwroot/51qixue.cn/www/vendor/ezyang/htmlpurifier/library
SITEID
6836
SITE_INFO
{ "lecturershow": 1, "courseshow": 1, "courseopenshow": 1, "orgshow": 1, "articleshow": 1, "site_province": "\u5e7f\u4e1c\u7701" }