[10501] PDOException in Connection.php line 385

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'rf_website.product_list' 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 `p...', [], false, true) in Mysql.php line 65
  3. at Mysql->getFields('`product_list`') in Query.php line 1921
  4. at Query->getTableInfo('product_list', 'pk') in Query.php line 1955
  5. at Query->getPk(['table' => 'product_list', 'field' => ['id', 'name', 'info'], 'multi' => ['AND' => ['id' => ['35']]], ...]) in Query.php line 2639
  6. at Query->find() in Product.php line 56
  7. at Product->gongnenglist(object(Request))
  8. at ReflectionMethod->invokeArgs(object(Product), [object(Request)]) in App.php line 343
  9. at App::invokeMethod([object(Product), 'gongnenglist'], []) in App.php line 611
  10. at App::module(['index', 'product', 'gongnenglist'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...], true) in App.php line 456
  11. at App::exec(['type' => 'module', 'module' => ['index', 'product', 'gongnenglist']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '', ...]) in App.php line 139
  12. at App::run() in start.php line 19
  13. at require('/var/www/html/www.ch...') in index.php line 24

Exception Datas

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

id
35
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_UNIQUE_ID
ZgYBSPsGWQfUB3mXacVxwQAAAA0
REDIRECT_HTTPS
on
REDIRECT_SSL_TLS_SNI
www.chinaredflag.cn
REDIRECT_STATUS
200
UNIQUE_ID
ZgYBSPsGWQfUB3mXacVxwQAAAA0
HTTPS
on
SSL_TLS_SNI
www.chinaredflag.cn
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_REFERER
http://www.chinaredflag.cn/product/gongnenglist?id=35
HTTP_HOST
www.chinaredflag.cn
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.4.6 (Asianux) OpenSSL/1.0.1e-fips PHP/7.2.17
SERVER_NAME
www.chinaredflag.cn
SERVER_ADDR
172.17.122.99
SERVER_PORT
443
REMOTE_ADDR
54.163.14.144
DOCUMENT_ROOT
/var/www/html/www.chinaredflag.cn/public
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/var/www/html/www.chinaredflag.cn/public
SERVER_ADMIN
root@localhost
SCRIPT_FILENAME
/var/www/html/www.chinaredflag.cn/public/index.php
REMOTE_PORT
47868
REDIRECT_QUERY_STRING
s=product/gongnenglist&id=35
REDIRECT_URL
/product/gongnenglist
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
s=product/gongnenglist&id=35
REQUEST_URI
/product/gongnenglist?id=35
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711669576.269
REQUEST_TIME
1711669576
PATH_INFO
product/gongnenglist
Environment Variables
empty

ThinkPHP Constants

BIND_MODULE
index
APP_PATH
/var/www/html/www.chinaredflag.cn/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711669576.27
THINK_START_MEM
398312
EXT
.php
DS
/
THINK_PATH
/var/www/html/www.chinaredflag.cn/thinkphp/
LIB_PATH
/var/www/html/www.chinaredflag.cn/thinkphp/library/
CORE_PATH
/var/www/html/www.chinaredflag.cn/thinkphp/library/think/
TRAIT_PATH
/var/www/html/www.chinaredflag.cn/thinkphp/library/traits/
ROOT_PATH
/var/www/html/www.chinaredflag.cn/
EXTEND_PATH
/var/www/html/www.chinaredflag.cn/extend/
VENDOR_PATH
/var/www/html/www.chinaredflag.cn/vendor/
RUNTIME_PATH
/var/www/html/www.chinaredflag.cn/runtime/
LOG_PATH
/var/www/html/www.chinaredflag.cn/runtime/log/
CACHE_PATH
/var/www/html/www.chinaredflag.cn/runtime/cache/
TEMP_PATH
/var/www/html/www.chinaredflag.cn/runtime/temp/
CONF_PATH
/var/www/html/www.chinaredflag.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
U_IDNA_PROHIBITED_ERROR
66560
U_IDNA_ERROR_START
66560
U_IDNA_UNASSIGNED_ERROR
66561
U_IDNA_CHECK_BIDI_ERROR
66562
U_IDNA_STD3_ASCII_RULES_ERROR
66563
U_IDNA_ACE_PREFIX_ERROR
66564
U_IDNA_VERIFICATION_ERROR
66565
U_IDNA_LABEL_TOO_LONG_ERROR
66566
U_IDNA_ZERO_LENGTH_LABEL_ERROR
66567
U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR
66568
U_IDNA_ERROR_LIMIT
66569
U_STRINGPREP_PROHIBITED_ERROR
66560
U_STRINGPREP_UNASSIGNED_ERROR
66561
U_STRINGPREP_CHECK_BIDI_ERROR
66562
IDNA_DEFAULT
0
IDNA_ALLOW_UNASSIGNED
1
IDNA_USE_STD3_RULES
2
IDNA_CHECK_BIDI
4
IDNA_CHECK_CONTEXTJ
8
IDNA_NONTRANSITIONAL_TO_ASCII
16
IDNA_NONTRANSITIONAL_TO_UNICODE
32
INTL_IDNA_VARIANT_2003
0
INTL_IDNA_VARIANT_UTS46
1
IDNA_ERROR_EMPTY_LABEL
1
IDNA_ERROR_LABEL_TOO_LONG
2
IDNA_ERROR_DOMAIN_NAME_TOO_LONG
4
IDNA_ERROR_LEADING_HYPHEN
8
IDNA_ERROR_TRAILING_HYPHEN
16
IDNA_ERROR_HYPHEN_3_4
32
IDNA_ERROR_LEADING_COMBINING_MARK
64
IDNA_ERROR_DISALLOWED
128
IDNA_ERROR_PUNYCODE
256
IDNA_ERROR_LABEL_HAS_DOT
512
IDNA_ERROR_INVALID_ACE_LABEL
1024
IDNA_ERROR_BIDI
2048
IDNA_ERROR_CONTEXTJ
4096
ADDON_PATH
/var/www/html/www.chinaredflag.cn/addons/