[10501] PDOException in Connection.php line 385

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lycx2_woyaoxueyi.fa_linian_luquxian' 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 `f...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('`fa_linian_luquxian`') in Query.php line 1921
  4. at Query->getTableInfo('fa_linian_luquxian', 'type') in Query.php line 1969
  5. at Query->getFieldsType('fa_linian_luquxian') in Query.php line 1975
  6. at Query->getFieldsBind('fa_linian_luquxian') in Builder.php line 270
  7. at Builder->buildWhere([], ['field' => ['year'], 'group' => 'year', 'order' => ['year DESC'], ...]) in Builder.php line 240
  8. at Builder->parseWhere([], ['field' => ['year'], 'group' => 'year', 'order' => ['year DESC'], ...]) in Builder.php line 725
  9. at Builder->select(['field' => ['year'], 'group' => 'year', 'order' => ['year DESC'], ...]) in Query.php line 2511
  10. at Query->select() in 002dabc289d48282513ee570aef092ff.php line 52
  11. at include('/www/wwwroot/lycy2.w...') in File.php line 53
  12. at File->read('/www/wwwroot/lycy2.w...', ['user' => null, 'site' => ['name' => '...', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '...', 'cdnurl' => '', 'version' => 1711634299, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => '/index/ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]]) in Template.php line 188
  13. at Template->fetch('/www/wwwroot/lycy2.w...', ['user' => null, 'site' => ['name' => '...', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '...', 'cdnurl' => '', 'version' => 1711634299, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => '/index/ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]], []) in Think.php line 86
  14. at Think->fetch('/www/wwwroot/lycy2.w...', ['user' => null, 'site' => ['name' => '...', 'beian' => '', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '...', 'cdnurl' => '', 'version' => 1711634299, ...], 'upload' => ['cdnurl' => '', 'uploadurl' => '/index/ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]], []) in View.php line 163
  15. at View->fetch('index') in Luquxian.php line 32
  16. at Luquxian->index()
  17. at ReflectionMethod->invokeArgs(object(Luquxian), []) in App.php line 343
  18. at App::invokeMethod([object(Luquxian), 'index'], []) in App.php line 611
  19. at App::module(['index', 'luquxian', 'index'], ['app_host' => '', 'app_debug' => 1, 'app_trace' => false, ...], true) in App.php line 456
  20. at App::exec(['type' => 'module', 'module' => ['index', 'luquxian', 'index']], ['app_host' => '', 'app_debug' => 1, 'app_trace' => false, ...]) in App.php line 139
  21. at App::run() in start.php line 19
  22. at require('/www/wwwroot/lycy2.w...') in index.php line 24

Exception Datas

PDO Error Info
SQLSTATE 42S02
Driver Error Code 1146
Driver Error Message Table 'lycx2_woyaoxueyi.fa_linian_luquxian' doesn't exist
Database Status
Error Code 10501
Error Message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lycx2_woyaoxueyi.fa_linian_luquxian' doesn't exist
Error SQL SHOW COLUMNS FROM `fa_linian_luquxian`
Database Config
type mysql
hostname 127.0.0.1
database lycx2_woyaoxueyi
hostport
dsn
params []
charset utf8mb4
prefix fa_
debug false
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 false
sql_explain false
builder
query \think\db\Query
break_reconnect false

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
lycy2.woyaoxueyi.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/index/luquxian/index
REDIRECT_STATUS
200
SERVER_NAME
lycy2.woyaoxueyi.com
SERVER_PORT
80
SERVER_ADDR
10.206.0.15
REMOTE_PORT
49134
REMOTE_ADDR
54.208.238.160
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/lycy2.woyaoxueyi.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/luquxian/index
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/luquxian/index
SCRIPT_FILENAME
/www/wwwroot/lycy2.woyaoxueyi.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711634299.3332
REQUEST_TIME
1711634299
Environment Variables
empty

ThinkPHP Constants

FW_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/public
APP_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711634299.3335
THINK_START_MEM
405304
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/thinkphp/
LIB_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/thinkphp/library/
CORE_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/
EXTEND_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/extend/
VENDOR_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/vendor/
RUNTIME_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/runtime/
LOG_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/runtime/log/
CACHE_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/runtime/cache/
TEMP_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/runtime/temp/
CONF_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/lycy2.woyaoxueyi.com/addons/