[10501] PDOException in Connection.php line 388

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qdm117251685_db.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_', 'type') in Query.php line 1803
  5. at Query->getFieldsType('clt_') in Query.php line 1809
  6. at Query->getFieldsBind('clt_') in Builder.php line 256
  7. at Builder->buildWhere(['AND' => ['catid' => null]], ['alias' => ['clt_' => 'a', 'clt_category' => 'c'], 'join' => [[['clt_category' => 'c'], 'LEFT', 'a.catid = c.id']], 'multi' => ['AND' => ['catid' => [null]]], ...]) in Builder.php line 226
  8. at Builder->parseWhere(['AND' => ['catid' => null]], ['alias' => ['clt_' => 'a', 'clt_category' => 'c'], 'join' => [[['clt_category' => 'c'], 'LEFT', 'a.catid = c.id']], 'multi' => ['AND' => ['catid' => [null]]], ...]) in Builder.php line 690
  9. at Builder->select(['alias' => ['clt_' => 'a', 'clt_category' => 'c'], 'join' => [[['clt_category' => 'c'], 'LEFT', 'a.catid = c.id']], 'multi' => ['AND' => ['catid' => [null]]], ...]) in Query.php line 2273
  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(200) in EmptyController.php line 64
  14. at EmptyController->index()
  15. at ReflectionMethod->invokeArgs(object(EmptyController), []) in App.php line 197
  16. at App::invokeMethod([object(EmptyController), 'index'], []) in App.php line 411
  17. at App::module(['home', 'deliciousness', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 296
  18. at App::exec(['type' => 'module', 'module' => ['home', 'deliciousness', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 124
  19. at App::run() in start.php line 18
  20. at require('/data/home/qxu205875...') in index.php line 23

Exception Datas

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

DOCUMENT_ROOT
/usr/home/qxu2058750253/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT_LANGUAGE
zh-cn
HTTP_CONNECTION
close
HTTP_HOST
www.rimewall.com.cn
HTTP_USER_AGENT
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5
PATH
/bin:/usr/bin
PHPRC
/var/www/php55/hichina_ini/qxu2058750253
QUERY_STRING
REDIRECT_DOCUMENT_ROOT
/usr/home/qxu2058750253/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT_LANGUAGE
zh-cn
REDIRECT_HTTP_CONNECTION
close
REDIRECT_HTTP_HOST
www.rimewall.com.cn
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5
REDIRECT_PATH
/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR
128.14.137.167
REDIRECT_REMOTE_PORT
63291
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/home-deliciousness-index-catid-79.html
REDIRECT_SCRIPT_FILENAME
/usr/home/qxu2058750253/htdocs/home-deliciousness-index-catid-79.html
REDIRECT_SCRIPT_NAME
/home-deliciousness-index-catid-79.html
REDIRECT_SERVER_ADDR
139.129.175.36
REDIRECT_SERVER_ADMIN
webmaster@qxu2058750253.my3w.com
REDIRECT_SERVER_NAME
www.rimewall.com.cn
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
WziAjgqlLQsAAEAW6GYAAAAE
REDIRECT_URL
/home-deliciousness-index-catid-79.html
REMOTE_ADDR
128.14.137.167
REMOTE_PORT
63291
REQUEST_METHOD
GET
REQUEST_URI
/home-deliciousness-index-catid-79.html
SCRIPT_FILENAME
/usr/home/qxu2058750253/htdocs/index.php
SCRIPT_NAME
/index.php
SERVER_ADDR
139.129.175.36
SERVER_ADMIN
webmaster@qxu2058750253.my3w.com
SERVER_NAME
www.rimewall.com.cn
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
WziAjgqlLQsAAEAW6GYAAAAE
ORIG_PATH_INFO
/home-deliciousness-index-catid-79.html
ORIG_PATH_TRANSLATED
/usr/home/qxu2058750253/htdocs/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1530429582.261
REQUEST_TIME
1530429582
PATH_INFO
/home-deliciousness-index-catid-79.html
Environment Variables
empty

ThinkPHP Constants

__PUBLIC__
/public
APP_PATH
/data/home/qxu2058750253/htdocs/app/
DATA_PATH
/data/home/qxu2058750253/htdocs/runtime/Data/
PLUGIN_PATH
/data/home/qxu2058750253/htdocs/plugins/
THINK_VERSION
5.0.11
THINK_START_TIME
1530429582.2618
THINK_START_MEM
249336
EXT
.php
DS
/
THINK_PATH
/data/home/qxu2058750253/htdocs/think/
LIB_PATH
/data/home/qxu2058750253/htdocs/think/library/
CORE_PATH
/data/home/qxu2058750253/htdocs/think/library/think/
TRAIT_PATH
/data/home/qxu2058750253/htdocs/think/library/traits/
ROOT_PATH
/data/home/qxu2058750253/htdocs/
EXTEND_PATH
/data/home/qxu2058750253/htdocs/extend/
VENDOR_PATH
/data/home/qxu2058750253/htdocs/vendor/
RUNTIME_PATH
/data/home/qxu2058750253/htdocs/runtime/
LOG_PATH
/data/home/qxu2058750253/htdocs/runtime/log/
CACHE_PATH
/data/home/qxu2058750253/htdocs/runtime/cache/
TEMP_PATH
/data/home/qxu2058750253/htdocs/runtime/temp/
CONF_PATH
/data/home/qxu2058750253/htdocs/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
UPLOAD_PATH
./Uploads/
MODULE_NAME
deliciousness
ACTION_NAME
index
DBNAME