金沙·js55登陆入口主站(中国)有限公司

[10501] PDOException in Connection.php line 385

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fjspmxh_com.by_contact_type' 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 `b...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('`by_contact_type`') in Query.php line 1921
  4. at Query->getTableInfo('by_contact_type', 'type') in Query.php line 1969
  5. at Query->getFieldsType('by_contact_type') in Query.php line 1975
  6. at Query->getFieldsBind('by_contact_type') in Builder.php line 270
  7. at Builder->buildWhere(['AND' => ['on_switch' => ['eq', 1]]], ['multi' => ['AND' => ['on_switch' => [['eq', 1]]]], 'where' => ['AND' => ['on_switch' => ['eq', 1]]], 'table' => 'by_contact_type', ...]) in Builder.php line 240
  8. at Builder->parseWhere(['AND' => ['on_switch' => ['eq', 1]]], ['multi' => ['AND' => ['on_switch' => [['eq', 1]]]], 'where' => ['AND' => ['on_switch' => ['eq', 1]]], 'table' => 'by_contact_type', ...]) in Builder.php line 725
  9. at Builder->select(['multi' => ['AND' => ['on_switch' => [['eq', 1]]]], 'where' => ['AND' => ['on_switch' => ['eq', 1]]], 'table' => 'by_contact_type', ...]) in Query.php line 2511
  10. at Query->select() in Frontend.php line 180
  11. at Frontend->lanmu()
  12. at ReflectionMethod->invokeArgs(object(Contact), []) in App.php line 343
  13. at App::invokeMethod([object(Contact), 'lanmu'], []) in App.php line 611
  14. at App::module(['index', 'contact', 'lanmu'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  15. at App::exec(['type' => 'module', 'module' => ['index', 'contact', 'lanmu']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  16. at App::run() in start.php line 19
  17. at require('/www/wwwroot/fjspmxh...') in index.php line 23

Exception Datas

PDO Error Info
SQLSTATE 42S02
Driver Error Code 1146
Driver Error Message Table 'fjspmxh_com.by_contact_type' doesn't exist
Database Status
Error Code 10501
Error Message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fjspmxh_com.by_contact_type' doesn't exist
Error SQL SHOW COLUMNS FROM `by_contact_type`
Database Config
type mysql
hostname 127.0.0.1
database fjspmxh_com
hostport
dsn
params []
charset utf8mb4
prefix by_
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

PHPSESSID
49lnl8k0clgjg3b5mbdtgrp7p4
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
PHPSESSID=49lnl8k0clgjg3b5mbdtgrp7p4
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.fjspmxh.com
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
/index/contact/lanmu.html
REDIRECT_STATUS
200
SERVER_NAME
fjspmxh.com
SERVER_PORT
80
SERVER_ADDR
172.24.239.27
REMOTE_PORT
55386
REMOTE_ADDR
107.158.144.210
SERVER_SOFTWARE
nginx/1.20.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/fjspmxh.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/contact/lanmu.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/contact/lanmu.html
SCRIPT_FILENAME
/www/wwwroot/fjspmxh.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1705228812.5345
REQUEST_TIME
1705228812
Environment Variables
empty

ThinkPHP Constants

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