[10501] PDOException in Connection.php line 385

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ttsp.tv.mac_vod_search' 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() in Mysql.php line 65
  3. at Mysql->getFields() in Query.php line 1921
  4. at Query->getTableInfo() in Query.php line 1955
  5. at Query->getPk() in Query.php line 2639
  6. at Query->find() in VodSearch.php line 38
  7. at VodSearch->getResultIdList() in VodSearch.php line 31
  8. at VodSearch->getResultIdList() in Vod.php line 435
  9. at Vod->listCacheData() in c088d3c980cd780e0cb44138322caf35.php line 544
  10. at include('/home/www/tiantian58...') in File.php line 53
  11. at File->read() in Template.php line 188
  12. at Template->fetch() in Think.php line 86
  13. at Think->fetch() in View.php line 163
  14. at View->fetch() in Controller.php line 120
  15. at Controller->fetch() in All.php line 45
  16. at All->label_fetch() in Vod.php line 27
  17. at Vod->show()
  18. at ReflectionMethod->invokeArgs() in App.php line 343
  19. at App::invokeMethod() in App.php line 611
  20. at App::module() in App.php line 456
  21. at App::exec() in App.php line 139
  22. at App::run() in start.php line 19
  23. at require('/home/www/tiantian58...') in index.php line 39

Exception Datas

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

USER
www
HOME
/home/www
HTTP_CF_IPCOUNTRY
US
HTTP_CDN_LOOP
cloudflare
HTTP_CF_CONNECTING_IP
3.239.214.173
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_X_FORWARDED_PROTO
https
HTTP_CF_RAY
866b89e25f4820ae-IAD
HTTP_X_FORWARDED_FOR
3.239.214.173
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.tiantian58.com
PATH_INFO
/vodshow/3-港台--情感--------.html
REDIRECT_STATUS
200
SERVER_NAME
tiantian58.com
SERVER_PORT
80
SERVER_ADDR
27.124.47.111
REMOTE_PORT
33504
REMOTE_ADDR
172.71.223.27
SERVER_SOFTWARE
nginx/1.21.4
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/www/tiantian58.com
DOCUMENT_URI
/index.php
REQUEST_URI
/index.php/vodshow/3-%E6%B8%AF%E5%8F%B0--%E6%83%85%E6%84%9F--------.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/vodshow/3-%E6%B8%AF%E5%8F%B0--%E6%83%85%E6%84%9F--------.html
SCRIPT_FILENAME
/home/www/tiantian58.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710831135.4596
REQUEST_TIME
1710831135
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/home/www/tiantian58.com/
APP_PATH
/home/www/tiantian58.com/application/
MAC_COMM
/home/www/tiantian58.com/application/common/common/
MAC_HOME_COMM
/home/www/tiantian58.com/application/index/common/
MAC_ADMIN_COMM
/home/www/tiantian58.com/application/admin/common/
MAC_START_TIME
1710831135.4599
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1710831135.4605
THINK_START_MEM
427848
EXT
.php
DS
/
THINK_PATH
/home/www/tiantian58.com/thinkphp/
LIB_PATH
/home/www/tiantian58.com/thinkphp/library/
CORE_PATH
/home/www/tiantian58.com/thinkphp/library/think/
TRAIT_PATH
/home/www/tiantian58.com/thinkphp/library/traits/
EXTEND_PATH
/home/www/tiantian58.com/extend/
VENDOR_PATH
/home/www/tiantian58.com/vendor/
RUNTIME_PATH
/home/www/tiantian58.com/runtime/
LOG_PATH
/home/www/tiantian58.com/runtime/log/
CACHE_PATH
/home/www/tiantian58.com/runtime/cache/
TEMP_PATH
/home/www/tiantian58.com/runtime/temp/
CONF_PATH
/home/www/tiantian58.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/home/www/tiantian58.com/addons/
MAC_URL
http://www.maccms.la/
MAC_NAME
苹果CMS
MAC_PATH
/
MAC_MOB
0
MAC_ROOT_TEMPLATE
/home/www/tiantian58.com/template/conch/html/
MAC_PATH_TEMPLATE
/template/conch/
MAC_PATH_TPL
/template/conch/html/
MAC_PATH_ADS
/template/conch/ads/
MAC_PAGE_SP
_
MAC_PLAYER_SORT
1
MAC_ADDON_PATH
/home/www/tiantian58.com/addons/
MAC_ADDON_PATH_STATIC
/home/www/tiantian58.com/static/addons/