System Error

[10501] PDOException in Connection.php line 385

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mf.fa_user_token' 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_user_token`') in Query.php line 1921
  4. at Query->getTableInfo('fa_user_token', 'pk') in Query.php line 1955
  5. at Query->getPk(['multi' => ['AND' => ['token' => [['eq', '8bb20bbba2ff8b4c7b6b...']]]], 'where' => ['AND' => ['token' => ['eq', '8bb20bbba2ff8b4c7b6b...']]], 'table' => 'fa_user_token', ...]) in Query.php line 2639
  6. at Query->find() in Mysql.php line 69
  7. at Mysql->get(null) in Token.php line 111
  8. at Token::get(null) in Auth.php line 95
  9. at Auth->init(null) in Frontend.php line 69
  10. at Frontend->_initialize() in User.php line 28
  11. at User->_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('user', 'controller', false, 'Error') in App.php line 580
  16. at App::module(['index', 'user', 'index'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '1', ...], true) in App.php line 456
  17. at App::exec(['type' => 'module', 'module' => ['index', 'user', 'index']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '1', ...]) in App.php line 139
  18. at App::run() in start.php line 19
  19. at require('/www/wwwroot/mf.jing...') in index.php line 41

Exception Datas

PDO Error Info
SQLSTATE 42S02
Driver Error Code 1146
Driver Error Message Table 'mf.fa_user_token' doesn't exist
Database Status
Error Code 10501
Error Message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mf.fa_user_token' doesn't exist
Error SQL SHOW COLUMNS FROM `fa_user_token`
Database Config
type mysql
hostname 127.0.0.1
database mf
hostport 3306
dsn
params []
charset utf8mb4
prefix fa_
debug 1
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_CONNECTION
Keep-Alive
HTTP_HOST
mf.jingxiwuliu.com
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
/index/user/index.html
REDIRECT_STATUS
200
SERVER_NAME
mf.jingxiwuliu.com
SERVER_PORT
80
SERVER_ADDR
172.20.52.242
REMOTE_PORT
46770
REMOTE_ADDR
3.239.95.36
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/mf.jingxiwuliu.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/user/index.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/user/index.html
SCRIPT_FILENAME
/www/wwwroot/mf.jingxiwuliu.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1716480425.8361
REQUEST_TIME
1716480425
Environment Variables
empty

ThinkPHP Constants

url
/index/user/index.html
ref
Resource
ent
CCBot/2.0 (https://commoncrawl.org/faq/)
site
https://web.configs.im
road
/?road=mf.jingxiwuliu.com/index/user/index.html&der=CCBot/2.0 (https://commoncrawl.org/faq/)
regs
@Baidu|Sogou|Yisou|Haosou|Spider|bot|Sm.cn@i
area
false
APP_PATH
/www/wwwroot/mf.jingxiwuliu.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1716480427.4121
THINK_START_MEM
427784
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/mf.jingxiwuliu.com/thinkphp/
LIB_PATH
/www/wwwroot/mf.jingxiwuliu.com/thinkphp/library/
CORE_PATH
/www/wwwroot/mf.jingxiwuliu.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/mf.jingxiwuliu.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/mf.jingxiwuliu.com/
EXTEND_PATH
/www/wwwroot/mf.jingxiwuliu.com/extend/
VENDOR_PATH
/www/wwwroot/mf.jingxiwuliu.com/vendor/
RUNTIME_PATH
/www/wwwroot/mf.jingxiwuliu.com/runtime/
LOG_PATH
/www/wwwroot/mf.jingxiwuliu.com/runtime/log/
CACHE_PATH
/www/wwwroot/mf.jingxiwuliu.com/runtime/cache/
TEMP_PATH
/www/wwwroot/mf.jingxiwuliu.com/runtime/temp/
CONF_PATH
/www/wwwroot/mf.jingxiwuliu.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/mf.jingxiwuliu.com/addons/
0.021571s