澳门老虎机玩法

[10501] PDOException in Connection.php line 385

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mate_alias' in 'where clause'

  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('SELECT `id` FROM `se...', [], false, true) in Query.php line 255
  3. at Query->query('SELECT `id` FROM `se...', [], false, true) in Query.php line 2470
  4. at Query->getPdo() in Query.php line 441
  5. at Query->value('id') in Content.php line 194
  6. at Content->detail('kfvtgwvbt', '')
  7. at ReflectionMethod->invokeArgs(object(Content), ['kfvtgwvbt', '']) in App.php line 343
  8. at App::invokeMethod([object(Content), 'detail'], []) in App.php line 611
  9. at App::module(['index', 'content', 'detail'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => false, ...], false) in App.php line 456
  10. at App::exec(['type' => 'module', 'module' => ['index', 'content', 'detail'], 'convert' => false], ['app_host' => '', 'app_debug' => '1', 'app_trace' => false, ...]) in App.php line 139
  11. at App::run() in start.php line 19
  12. at require('/www/wwwroot/jiminat...') in index.php line 24

Exception Datas

PDO Error Info
SQLSTATE 42S22
Driver Error Code 1054
Driver Error Message Unknown column 'mate_alias' in 'where clause'
Database Status
Error Code 10501
Error Message SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mate_alias' in 'where clause'
Error SQL SELECT `id` FROM `sent_news` WHERE `mate_alias` = 'kfvtgwvbt' LIMIT 1
Database Config
type mysql
hostname 127.0.0.1
database sentcms
hostport 3306
dsn
params []
charset utf8
prefix sent_
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 true
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_ACCEPT
*/*
HTTP_USER_AGENT
Scrapy/1.7.3 (+https://scrapy.org)
HTTP_HOST
www.ct1069.com
PATH_INFO
//news/detail/kfvtgwvbt.html
REDIRECT_STATUS
200
SERVER_NAME
www.ct1069.com
SERVER_PORT
443
SERVER_ADDR
172.18.1.46
REMOTE_PORT
64583
REMOTE_ADDR
154.85.196.210
SERVER_SOFTWARE
nginx/1.8.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/jiminate/web
DOCUMENT_URI
/index.php
REQUEST_URI
/news/detail/kfvtgwvbt.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//news/detail/kfvtgwvbt.html
SCRIPT_FILENAME
/www/wwwroot/jiminate/web/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1578961751.8643
REQUEST_TIME
1578961751
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/jiminate/web/../application/
BASE_PATH
RUNTIME_PATH
/www/wwwroot/jiminate/web/../data/
THINK_VERSION
5.0.23
THINK_START_TIME
1578961751.8648
THINK_START_MEM
374648
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/jiminate/framework/
LIB_PATH
/www/wwwroot/jiminate/framework/library/
CORE_PATH
/www/wwwroot/jiminate/framework/library/think/
TRAIT_PATH
/www/wwwroot/jiminate/framework/library/traits/
ROOT_PATH
/www/wwwroot/jiminate/
EXTEND_PATH
/www/wwwroot/jiminate/extend/
VENDOR_PATH
/www/wwwroot/jiminate/vendor/
LOG_PATH
/www/wwwroot/jiminate/web/../data/log/
CACHE_PATH
/www/wwwroot/jiminate/web/../data/cache/
TEMP_PATH
/www/wwwroot/jiminate/web/../data/temp/
CONF_PATH
/www/wwwroot/jiminate/web/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
SENTCMS_VERSION
3.6.201803
SENT_ADDON_PATH
/www/wwwroot/jiminate/application/../addons/