金沙集团(186cc·中国)成色在线官网App Green

[2002] PDOException in Connection.php line 528

  1. try {
  2. if (empty($config['dsn'])) {
  3. $config['dsn'] = $this->parseDsn($config);
  4. }
  5. if ($config['debug']) {
  6. $startTime = microtime(true);
  7. }
  8. $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
  9. if ($config['debug']) {
  10. // 记录数据库连接信息
  11. $this->log('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn']);
  12. }
  13. return $this->links[$linkNum];
  14. } catch (\PDOException $e) {
  15. if ($autoConnection) {

Call Stack

  1. in Connection.php line 528
  2. at PDO->__construct('mysql:host=127.0.0.1...', 'root', 'H0pe@2337877~', [0, 2, 0, ...]) in Connection.php line 528
  3. at Connection->connect() in Connection.php line 2024
  4. at Connection->initConnect(false) in Connection.php line 644
  5. at Connection->query('SHOW COLUMNS FROM `h...', [], false, true) in Mysql.php line 90
  6. at Mysql->getFields('`hope_main_city`') in Connection.php line 377
  7. at Connection->getTableInfo('hope_main_city', 'bind') in Connection.php line 454
  8. at Connection->getFieldsBind('hope_main_city') in Builder.php line 292
  9. at Builder->buildWhere(object(Query), ['AND' => [['city_py', '=', 'Singlepage']]]) in Builder.php line 264
  10. at Builder->parseWhere(object(Query), ['AND' => [['city_py', '=', 'Singlepage']]]) in Builder.php line 998
  11. at Builder->select(object(Query)) in Connection.php line 1281
  12. at Connection->value(object(Query), ['city_name'], null) in Query.php line 614
  13. at Query->value('city_name') in Common.php line 56
  14. at Common->initialize() in Controller.php line 68
  15. at Controller->__construct(object(App))
  16. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  17. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  18. at Container->make('app\index\controller...', []) in App.php line 725
  19. at App->controller('article', 'controller', false, 'Error') in Module.php line 94
  20. at Module->exec() in Dispatch.php line 168
  21. at Dispatch->run() in App.php line 432
  22. at App->think\{closure}(object(Request), object(Closure), null)
  23. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  24. at Middleware->think\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  26. at Middleware->dispatch(object(Request)) in App.php line 435
  27. at App->run() in index.php line 29

Environment Variables

GET Data
page 27
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Users\Administrator\AppData\Roaming
CLIENTNAME WIN-9M8VKJTM48G
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME WIN-IV66OGVBB4R
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
HOMEDRIVE C:
HOMEPATH \Users\Administrator
LOCALAPPDATA C:\Users\Administrator\AppData\Local
LOGONSERVER \\WIN-IV66OGVBB4R
NUMBER_OF_PROCESSORS 4
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 62 Stepping 4, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 3e04
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
SESSIONNAME RDP-Tcp#1
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Users\ADMINI~1\AppData\Local\Temp\5
TMP C:\Users\ADMINI~1\AppData\Local\Temp\5
USERDOMAIN WIN-IV66OGVBB4R
USERNAME Administrator
USERPROFILE C:\Users\Administrator
windir C:\Windows
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
HTTP_CONNECTION close
HTTP_X_FORWARDED_FOR 50.2.184.154
HTTP_X_REAL_IP 50.2.184.154
HTTP_HOST www.hncable.com
REDIRECT_STATUS 200
SERVER_NAME 127.0.0.1
SERVER_PORT 8019
SERVER_ADDR 192.168.0.33
REMOTE_PORT 52382
REMOTE_ADDR 192.168.0.9
SERVER_SOFTWARE nginx/1.15.11
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT D:/wwwroot/hncable.com/public
DOCUMENT_URI /index.php
REQUEST_URI /article/Singlepage/xwzx.html?page=27
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/article/Singlepage/xwzx.html&page=27
PATH_TRANSLATED D:/wwwroot/hncable.com/public
PATH_INFO
SCRIPT_FILENAME D:/wwwroot/hncable.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1732413227.7409
REQUEST_TIME 1732413227
Environment Variablesempty
ThinkPHP Constants
DS \
APP_PATH D:\wwwroot\hncable.com\public/../application/
CONF_PATH D:\wwwroot\hncable.com\public/../config/
PUBILC_PATH D:\wwwroot\hncable.com\public/
ROOT_PATH D:\wwwroot\hncable.com\public
CACHE_PATH D:\wwwroot\hncable.com\public/../runtime/
CONFIG_PATH D:\wwwroot\hncable.com\public/../config/
UPLOAD_PATH uploads