[10501] PDOException in Connection.php line 388

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xcsrmyy.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 (\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 388
  2. at Connection->query('SHOW COLUMNS FROM `c...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('`clt_`') in Query.php line 1763
  4. at Query->getTableInfo('clt_', 'type') in Query.php line 1811
  5. at Query->getFieldsType('clt_') in Query.php line 1817
  6. at Query->getFieldsBind('clt_') in Builder.php line 263
  7. at Builder->buildWhere(['AND' => ['a.catid' => ['in', null]]], ['alias' => ['clt_' => 'a'], 'join' => [[['clt_category' => 'c'], 'LEFT', 'a.catid = c.id']], 'multi' => ['AND' => ['a.catid' => [['in', null]]]], ...]) in Builder.php line 233
  8. at Builder->parseWhere(['AND' => ['a.catid' => ['in', null]]], ['alias' => ['clt_' => 'a'], 'join' => [[['clt_category' => 'c'], 'LEFT', 'a.catid = c.id']], 'multi' => ['AND' => ['a.catid' => [['in', null]]]], ...]) in Builder.php line 697
  9. at Builder->select(['alias' => ['clt_' => 'a'], 'join' => [[['clt_category' => 'c'], 'LEFT', 'a.catid = c.id']], 'multi' => ['AND' => ['a.catid' => [['in', null]]]], ...]) in Query.php line 2295
  10. at Query->getPdo() in Query.php line 427
  11. at Query->value('COUNT(*) AS tp_count', 0, true) in Query.php line 533
  12. at Query->count() in Query.php line 1354
  13. at Query->paginate(15) in EmptyController.php line 591
  14. at EmptyController->index()
  15. at ReflectionMethod->invokeArgs(object(EmptyController), []) in App.php line 343
  16. at App::invokeMethod([object(EmptyController), 'index'], []) in App.php line 595
  17. at App::module(['home', 'shzr', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  18. at App::exec(['type' => 'module', 'module' => ['home', 'shzr', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  19. at App::run() in start.php line 19
  20. at require('D:\wwwroot\xcsrmyy\w...') in index.php line 22

Exception Datas

PDO Error Info
SQLSTATE 42S02
Driver Error Code 1146
Driver Error Message Table 'xcsrmyy.clt_' doesn't exist
Database Status
Error Code 10501
Error Message SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xcsrmyy.clt_' doesn't exist
Error SQL SHOW COLUMNS FROM `clt_`
Database Config
type mysql
hostname localhost
database xcsrmyy
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

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-9f8a8784-7c1d-45a0-a225-247a731c69ea
PHPRC
D:\SOFT_PHP_PACKAGE\php7.0
PHP_FCGI_MAX_REQUESTS
10000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\xcsrmyy\xcsrmyy.config
APP_POOL_ID
xcsrmyy
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
EBS-44897
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
2
OS
Windows_NT
Path
D:\SOFT_PHP_PACKAGE\php;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;d:\SOFT_PHP_PACKAGE\mysql\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn";
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
3f02
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
EBS-44897$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
windows_tracing_flags
3
windows_tracing_logfile
C:\BVTBin\Tests\installpackage\csilogfile.log
ORIG_PATH_INFO
/index.php
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/7.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.jaipurvogue.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\wwwroot\xcsrmyy\wwwroot\index.php
REQUEST_URI
/home-shzr-index-catId-113.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
57780
REMOTE_HOST
45.34.80.242
REMOTE_ADDR
45.34.80.242
QUERY_STRING
s=home-shzr-index-catId-113.html
PATH_TRANSLATED
d:\wwwroot\xcsrmyy\wwwroot\index.php
LOGON_USER
LOCAL_ADDR
116.140.34.105
INSTANCE_META_PATH
/LM/W3SVC/10004
INSTANCE_NAME
XCSRMYY
INSTANCE_ID
10004
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\wwwroot\xcsrmyy\wwwroot
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\wwwroot\xcsrmyy\wwwroot\
APPL_MD_PATH
/LM/W3SVC/10004/ROOT
IIS_UrlRewriteModule
7.1.0871.0
UNENCODED_URL
/home-shzr-index-catId-113.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/home-shzr-index-catId-113.html
HTTP_USER_AGENT
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0); 360Spider(compatible; HaosouSpider; http://www.haosou.com/help/help_3_2.html)
HTTP_HOST
www.jaipurvogue.com
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
HTTP_CONNECTION
keep-alive
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1556949921.6875
REQUEST_TIME
1556949921
PATH_INFO
home-shzr-index-catId-113.html
Environment Variables
empty

ThinkPHP Constants

__PUBLIC__
/public
APP_PATH
D:\wwwroot\xcsrmyy\wwwroot/app/
DATA_PATH
D:\wwwroot\xcsrmyy\wwwroot/runtime/Data/
PLUGIN_PATH
D:\wwwroot\xcsrmyy\wwwroot/plugins/
THINK_VERSION
5.0.15
THINK_START_TIME
1556949921.6875
THINK_START_MEM
379672
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\xcsrmyy\wwwroot\think\
LIB_PATH
D:\wwwroot\xcsrmyy\wwwroot\think\library\
CORE_PATH
D:\wwwroot\xcsrmyy\wwwroot\think\library\think\
TRAIT_PATH
D:\wwwroot\xcsrmyy\wwwroot\think\library\traits\
ROOT_PATH
D:\wwwroot\xcsrmyy\wwwroot\
EXTEND_PATH
D:\wwwroot\xcsrmyy\wwwroot\extend\
VENDOR_PATH
D:\wwwroot\xcsrmyy\wwwroot\vendor\
RUNTIME_PATH
D:\wwwroot\xcsrmyy\wwwroot\runtime\
LOG_PATH
D:\wwwroot\xcsrmyy\wwwroot\runtime\log\
CACHE_PATH
D:\wwwroot\xcsrmyy\wwwroot\runtime\cache\
TEMP_PATH
D:\wwwroot\xcsrmyy\wwwroot\runtime\temp\
CONF_PATH
D:\wwwroot\xcsrmyy\wwwroot/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
shzr
ACTION_NAME
index
DBNAME