中国·澳门威斯尼斯人网站(官方VIP认证)-BinG百科

[10501] PDOException in Connection.php line 687

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

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

Call Stack

  1. in Connection.php line 687
  2. at Connection->query('SHOW COLUMNS FROM `y...', [], false, true) in Mysql.php line 90
  3. at Mysql->getFields('`yzn_member_token`') in Connection.php line 377
  4. at Connection->getTableInfo('yzn_member_token', 'pk') in Connection.php line 414
  5. at Connection->getPk('yzn_member_token') in Query.php line 2474
  6. at Query->getPk(['where' => ['AND' => [['token', '=', '45f265119bf92ed50014...']]], 'table' => 'yzn_member_token', 'field' => '*', ...]) in Connection.php line 793
  7. at Connection->find(object(Query)) in Query.php line 3152
  8. at Query->find() in Mysql.php line 79
  9. at Mysql->get(null) in Token.php line 119
  10. at Token::get(null) in User.php line 101
  11. at User->init(null) in MemberBase.php line 58
  12. at MemberBase->initialize() in Index.php line 29
  13. at Index->initialize() in Controller.php line 68
  14. at Controller->__construct(object(App))
  15. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  16. at Container->invokeClass('app\message\controll...', []) in Container.php line 284
  17. at Container->make('app\message\controll...', []) in App.php line 723
  18. at App->controller('index', 'controller', false, 'Error') in Module.php line 100
  19. at Module->exec() in Dispatch.php line 168
  20. at Dispatch->run() in App.php line 432
  21. at App->think\{closure}(object(Request), object(Closure), null)
  22. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  23. at Middleware->think\{closure}(object(Request))
  24. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  25. at Middleware->dispatch(object(Request)) in App.php line 435
  26. at App->run() in index.php line 36

Exception Datas

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

Environment Variables

GET Data
/message_html
POST Dataempty
Filesempty
Cookies
PHPSESSID sf0sdeo89rdc86hkbdljc4nn0j
think_shistory think:[""]
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /message.html
QUERY_STRING /message.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /message.html
REDIRECT_URL /message.html
REMOTE_PORT 52040
SCRIPT_FILENAME /data0/wwwroot/www.mirhz.com/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /data0/wwwroot/www.mirhz.com
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /data0/wwwroot/www.mirhz.com
REMOTE_ADDR 50.2.184.210
SERVER_PORT 80
SERVER_ADDR 172.25.12.194
SERVER_NAME www.mirhz.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
Apache Server at www.mirhz.com Port 80
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_COOKIE PHPSESSID=sf0sdeo89rdc86hkbdljc4nn0j; think_shistory=think%3A%5B%22%22%5D
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.mirhz.com
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710831495.2284
REQUEST_TIME 1710831495
Environment Variablesempty
ThinkPHP Constants
ROOT_PATH /data0/wwwroot/www.mirhz.com/
APP_PATH /data0/wwwroot/www.mirhz.com/application/
DS /
ADDON_PATH /data0/wwwroot/www.mirhz.com/addons/
ROOT_URL /
TEMPLATE_PATH /data0/wwwroot/www.mirhz.com/templates/
PHP_FLOAT_DIG 15
PHP_FLOAT_EPSILON 2.2204460492503E-16
PHP_FLOAT_MIN 2.2250738585072E-308
PHP_FLOAT_MAX 1.7976931348623E+308
PHP_OS_FAMILY Linux
PINYIN_DEFAULT 4096
PINYIN_TONE 2
PINYIN_NO_TONE 4
PINYIN_ASCII_TONE 8
PINYIN_NAME 16
PINYIN_KEEP_NUMBER 32
PINYIN_KEEP_ENGLISH 64
PINYIN_UMLAUT_V 128
PINYIN_KEEP_PUNCTUATION 256