?错误语句:SELECT * FROM `tp_article` WHERE ( article_id=tel:027-87129205 ) LIMIT 1

[10501] PDOException in Connection.php line 391

5福彩票网计划

  1. // 调试结束
  2. $this->debug(false);
  3. // 返回结果集
  4. return $this->getResult($pdo, $procedure);
  5. } catch (\PDOException $e) {
  6. if ($this->isBreak($e)) {
  7. return $this->close()->query($sql, $bind, $master, $pdo);
  8. }
  9. echo '错误语句:'. $sql;
  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. echo '错误语句:'. $sql;
  16. throw $e;
  17. } catch (\Exception $e) {
  18. if ($this->isBreak($e)) {
  19. return $this->close()->query($sql, $bind, $master, $pdo);

Call Stack

  1. in Connection.php line 391
  2. at Connection->query('SELECT * FROM `tp_ar...', [], false, false) in Query.php line 227
  3. at Query->query('SELECT * FROM `tp_ar...', [], false, false) in Query.php line 2501
  4. at Query->find() in Index.php line 257
  5. at Index->article()
  6. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 346
  7. at App::invokeMethod([object(Index), 'article'], []) in App.php line 614
  8. at App::module(['Home', 'Index', 'article'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 460
  9. at App::exec(['type' => 'module', 'module' => ['Home', 'Index', 'article']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 142
  10. at App::run() in start.php line 19
  11. at require('/webapp/wwwroot/www....') in index.php line 60

5福彩票网计划

PDO Error Info
SQLSTATE 42000
Driver Error Code 1064
Driver Error Message You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':027-87129205 ) LIMIT 1' at line 1
Database Status
Error Code 10501
Error Message SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':027-87129205 ) LIMIT 1' at line 1
Error SQL SELECT * FROM `tp_article` WHERE ( article_id=tel:027-87129205 ) LIMIT 1
Database Config
type mysql
hostname localhost
database www_mlhjz_cn
hostport 3306
dsn
params []
charset utf8
prefix tp_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
fields_strict true
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

5福彩票网计划

GET Data

id
tel:027-87129205
POST Data
empty
Files
empty

Cookies

is_mobile
0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/webapp/wwwroot/www.mlhjz.cn/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/Home/Index/article/id/tel:027-87129205
DOCUMENT_URI
/index.php/Home/Index/article/id/tel:027-87129205
DOCUMENT_ROOT
/webapp/wwwroot/www.mlhjz.cn
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.14.0
REMOTE_ADDR
172.82.160.170
REMOTE_PORT
52382
SERVER_ADDR
10.0.0.23
SERVER_PORT
80
SERVER_NAME
www.mlhjz.cn
REDIRECT_STATUS
200
PATH_INFO
/Home/Index/article/id/tel:027-87129205
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
HTTP_HOST
www.mlhjz.cn
HTTP_ACCEPT
*/*
HTTP_REFERER
http://www.653887.com/Home/Index/article/id/tel:027-87129205
PHP_SELF
/index.php/Home/Index/article/id/tel:027-87129205
REQUEST_TIME_FLOAT
1558810553.7902
REQUEST_TIME
1558810553
Environment Variables
empty

ThinkPHP Constants

PLUGIN_PATH
/webapp/wwwroot/www.mlhjz.cn/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
http://www.653887.com
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/webapp/wwwroot/www.mlhjz.cn/application/
NOW_TIME
1558810553
THINK_VERSION
5.0.15
THINK_START_TIME
1558810553.7905
THINK_START_MEM
242192
EXT
.php
DS
/
THINK_PATH
/webapp/wwwroot/www.mlhjz.cn/thinkphp/
LIB_PATH
/webapp/wwwroot/www.mlhjz.cn/thinkphp/library/
CORE_PATH
/webapp/wwwroot/www.mlhjz.cn/thinkphp/library/think/
TRAIT_PATH
/webapp/wwwroot/www.mlhjz.cn/thinkphp/library/traits/
ROOT_PATH
/webapp/wwwroot/www.mlhjz.cn/
EXTEND_PATH
/webapp/wwwroot/www.mlhjz.cn/extend/
VENDOR_PATH
/webapp/wwwroot/www.mlhjz.cn/vendor/
RUNTIME_PATH
/webapp/wwwroot/www.mlhjz.cn/runtime/
LOG_PATH
/webapp/wwwroot/www.mlhjz.cn/runtime/log/
CACHE_PATH
/webapp/wwwroot/www.mlhjz.cn/runtime/cache/
TEMP_PATH
/webapp/wwwroot/www.mlhjz.cn/runtime/temp/
CONF_PATH
/webapp/wwwroot/www.mlhjz.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
DOMAINNAME_MLH
https://www.mlhjz.cn/
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Index
ACTION_NAME
article
PREFIX
tp_
SESSION_ID