[10501] PDOException in Connection.php line 388

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

  1. $this->PDOStatement->execute();
  2. // 调试结束
  3. $this->debug(false);
  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 (\Exception $e) {
  12. if ($this->isBreak($e)) {
  13. return $this->close()->query($sql, $bind, $master, $pdo);
  14. }
  15. throw $e;
  16. }
  17. }
  18. /**

Call Stack

  1. in Connection.php line 388
  2. at Connection->query('SHOW COLUMNS FROM `c...', [], false, true) in Mysql.php line 62
  3. at Mysql->getFields('`clt_`') in Query.php line 1755
  4. at Query->getTableInfo('clt_', 'pk') in Query.php line 1789
  5. at Query->getPk(['multi' => ['AND' => ['id' => [['eq', '8']]]], 'where' => ['AND' => ['id' => ['eq', '8']]], 'table' => 'clt_', ...]) in Query.php line 2197
  6. at Query->update(['hits' => ['exp', 'hits+1']]) in Query.php line 595
  7. at Query->setField('hits', ['exp', 'hits+1']) in Query.php line 624
  8. at Query->setInc('hits') in EmptyController.php line 85
  9. at EmptyController->info()
  10. at ReflectionMethod->invokeArgs(object(EmptyController), []) in App.php line 197
  11. at App::invokeMethod([object(EmptyController), 'info'], []) in App.php line 414
  12. at App::module(['home', 'ContactUs', 'info'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 296
  13. at App::exec(['type' => 'module', 'module' => ['home', 'ContactUs', 'info']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 124
  14. at App::run() in start.php line 18
  15. at require('D:\wwwroot\flexfpc.c...') in index.php line 22

Exception Datas

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

Server/Request Data

ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
BT_PANEL
D:\BtSoft\panel
BT_PYTHON
C:\Program Files\python
BT_SETUP
D:\BtSoft
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
COMPUTERNAME
WIN-6E004U03UVN
ComSpec
C:\Windows\system32\cmd.exe
DFSTRACINGON
FALSE
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
2
OS
Windows_NT
Path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Program Files\python;C:\Program Files\python\Scripts;;D:\BtSoft\panel\script;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
170a
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
TRACE_FORMAT_SEARCH_PATH
\\winseqfe\release\Windows6.0\lh_sp2rtm\6002.18005.090410-1830\amd64fre\symbols.pri\TraceFormat
UNRAR_LIB_PATH
C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN
WORKGROUP
USERNAME
WIN-6E004U03UVN$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.flexfpc.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
REDIRECT_STATUS
200
SERVER_NAME
flexfpc.com
SERVER_PORT
80
SERVER_ADDR
192.168.0.19
REMOTE_PORT
20002
REMOTE_ADDR
192.168.0.222
SERVER_SOFTWARE
nginx/1.17.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
D:/wwwroot/flexfpc.com
DOCUMENT_URI
/index.php
REQUEST_URI
/home-ContactUs-info-id-8.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/home-ContactUs-info-id-8.html
PATH_INFO
/home-ContactUs-info-id-8.html
SCRIPT_FILENAME
D:/wwwroot/flexfpc.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1614290486.9336
REQUEST_TIME
1614290486
Environment Variables
empty

ThinkPHP Constants

__PUBLIC__
/public
APP_PATH
D:\wwwroot\flexfpc.com/app/
DATA_PATH
D:\wwwroot\flexfpc.com/runtime/Data/
PLUGIN_PATH
D:\wwwroot\flexfpc.com/plugins/
THINK_VERSION
5.0.11
THINK_START_TIME
1614290486.9336
THINK_START_MEM
381272
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\flexfpc.com\think\
LIB_PATH
D:\wwwroot\flexfpc.com\think\library\
CORE_PATH
D:\wwwroot\flexfpc.com\think\library\think\
TRAIT_PATH
D:\wwwroot\flexfpc.com\think\library\traits\
ROOT_PATH
D:\wwwroot\flexfpc.com\
EXTEND_PATH
D:\wwwroot\flexfpc.com\extend\
VENDOR_PATH
D:\wwwroot\flexfpc.com\vendor\
RUNTIME_PATH
D:\wwwroot\flexfpc.com\runtime\
LOG_PATH
D:\wwwroot\flexfpc.com\runtime\log\
CACHE_PATH
D:\wwwroot\flexfpc.com\runtime\cache\
TEMP_PATH
D:\wwwroot\flexfpc.com\runtime\temp\
CONF_PATH
D:\wwwroot\flexfpc.com/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
UPLOAD_PATH
./Uploads/
MAX_MENU_LENGTH
3
MAX_SUB_MENU_LENGTH
5
MODULE_NAME
contactus
ACTION_NAME
info
DBNAME