[2002] PDOException in Connection.php line 585

  1. * @param bool $pdo 是否返回PDOStatement
  2. * @param bool $procedure 是否存儲過程
  3. * @return PDOStatement|array
  4. */
  5. protected function getResult($pdo = false, $procedure = false)
  6. {
  7. if ($pdo) {
  8. // 返回PDOStatement對象處理
  9. return $this->PDOStatement;
  10. }
  11. if ($procedure) {
  12. // 存儲過程返回結果
  13. return $this->procedure();
  14. }
  15. $result = $this->PDOStatement->fetchAll($this->fetchType);
  16. $this->numRows = count($result);
  17. return $result;
  18. }

Call Stack

  1. in Connection.php line 585
  2. at PDO->__construct('mysql:host=my7218722...', 'my7218722', '123456789xu', [0, 2, 0, ...]) in Connection.php line 585
  3. at Connection->connect() in Connection.php line 1995
  4. at Connection->initConnect(false) in Connection.php line 693
  5. at Connection->query('SHOW COLUMNS FROM `t...', [], false, true) in Mysql.php line 129
  6. at Mysql->getFields('tp_store_domain') in Query.php line 2299
  7. at Query->parseWhereExp('AND', ['domain' => 'www.abcpaysages.com'], null, null, []) in Query.php line 1791
  8. at Query->where(['domain' => 'www.abcpaysages.com']) in Base.php line 383
  9. at Base->domain() in Base.php line 87
  10. at Base->_initialize() in Controller.php line 161
  11. at Controller->__construct(object(Request))
  12. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 723
  13. at App::invokeClass('app\home\controller\...') in Loader.php line 917
  14. at Loader::controller('index', 'controller', false, 'Error') in App.php line 1149
  15. at App::module(['home', 'index', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 919
  16. at App::exec(['type' => 'module', 'module' => ['home', 'index', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 283
  17. at App::run() in start.php line 37
  18. at require('D:\virtualhost\local...') in index.php line 61

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-71f8e191-d1e3-4fae-b911-086ec7da6dd6
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\xin_WFWZ0400204\xin_WFWZ0400204.config
APP_POOL_ID
xin_WFWZ0400204
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
WFWZ-04002
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
8
OS
Windows_NT
Path
C:\com\Perl\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\windows\system32\inetsrv;C:\Program Files\Microsoft\Web Platform Installer\;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
4f01
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
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
WFWZ-04002$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/home/index/index.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/8.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.abcpaysages.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\virtualhost\localuser\wfwz0400204\www\index.php
REQUEST_URI
/home/index/index.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
48258
REMOTE_HOST
103.61.21.102
REMOTE_ADDR
103.61.21.102
QUERY_STRING
PATH_TRANSLATED
d:\virtualhost\localuser\wfwz0400204\www\index.php\home\index\index.html
PATH_INFO
/home/index/index.html
LOGON_USER
LOCAL_ADDR
119.10.90.79
INSTANCE_META_PATH
/LM/W3SVC/11
INSTANCE_NAME
WFWZ0400204
INSTANCE_ID
11
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\virtualhost\localuser\wfwz0400204\www
CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\virtualhost\localuser\wfwz0400204\www\
APPL_MD_PATH
/LM/W3SVC/11/ROOT
IIS_UrlRewriteModule
7.1.0871.0
UNENCODED_URL
/home/index/index.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/home/index/index.html
HTTP_X_MICROSOFTAJAX
Delta=true
HTTP_X_APPLE_STORE_FRONT
143444,12
HTTP_X_APPLE_TZ
0
HTTP_USER_AGENT
Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1
HTTP_REFERER
http://www.baidu.com/search/spider.htm
HTTP_HOST
www.abcpaysages.com
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
HTTP_CONTENT_LENGTH
0
HTTP_CACHE_CONTROL
no-cache
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/home/index/index.html
REQUEST_TIME_FLOAT
1546630871.65
REQUEST_TIME
1546630871
argv
[ ]
argc
0

Environment Variables

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-71f8e191-d1e3-4fae-b911-086ec7da6dd6
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\xin_WFWZ0400204\xin_WFWZ0400204.config
APP_POOL_ID
xin_WFWZ0400204
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
WFWZ-04002
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
8
OS
Windows_NT
Path
C:\com\Perl\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;c:\windows\system32\inetsrv;C:\Program Files\Microsoft\Web Platform Installer\;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
4f01
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
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
WFWZ-04002$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/home/index/index.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/8.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.abcpaysages.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\virtualhost\localuser\wfwz0400204\www\index.php
REQUEST_URI
/home/index/index.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
48258
REMOTE_HOST
103.61.21.102
REMOTE_ADDR
103.61.21.102
QUERY_STRING
PATH_TRANSLATED
d:\virtualhost\localuser\wfwz0400204\www\index.php\home\index\index.html
PATH_INFO
/home/index/index.html
LOGON_USER
LOCAL_ADDR
119.10.90.79
INSTANCE_META_PATH
/LM/W3SVC/11
INSTANCE_NAME
WFWZ0400204
INSTANCE_ID
11
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\virtualhost\localuser\wfwz0400204\www
CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\virtualhost\localuser\wfwz0400204\www\
APPL_MD_PATH
/LM/W3SVC/11/ROOT
IIS_UrlRewriteModule
7.1.0871.0
UNENCODED_URL
/home/index/index.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/home/index/index.html
HTTP_X_MICROSOFTAJAX
Delta=true
HTTP_X_APPLE_STORE_FRONT
143444,12
HTTP_X_APPLE_TZ
0
HTTP_USER_AGENT
Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1
HTTP_REFERER
http://www.baidu.com/search/spider.htm
HTTP_HOST
www.abcpaysages.com
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded; charset=utf-8
HTTP_CONTENT_LENGTH
0
HTTP_CACHE_CONTROL
no-cache
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/home/index/index.html
REQUEST_TIME_FLOAT
1546630871.65
REQUEST_TIME
1546630871
argv
[ ]
argc
0

ThinkPHP Constants

PLUGIN_PATH
D:\virtualhost\localuser\wfwz0400204\www/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
D:\virtualhost\localuser\wfwz0400204\www/application/
NOW_TIME
1546630871
THINK_VERSION
5.0.15
THINK_START_TIME
1546630871.65
THINK_START_MEM
289832
EXT
.php
DS
\
THINK_PATH
D:\virtualhost\localuser\wfwz0400204\www\thinkphp\
LIB_PATH
D:\virtualhost\localuser\wfwz0400204\www\thinkphp\library\
CORE_PATH
D:\virtualhost\localuser\wfwz0400204\www\thinkphp\library\think\
TRAIT_PATH
D:\virtualhost\localuser\wfwz0400204\www\thinkphp\library\traits\
ROOT_PATH
D:\virtualhost\localuser\wfwz0400204\www\
EXTEND_PATH
D:\virtualhost\localuser\wfwz0400204\www\extend\
VENDOR_PATH
D:\virtualhost\localuser\wfwz0400204\www\vendor\
RUNTIME_PATH
D:\virtualhost\localuser\wfwz0400204\www\runtime\
LOG_PATH
D:\virtualhost\localuser\wfwz0400204\www\runtime\log\
CACHE_PATH
D:\virtualhost\localuser\wfwz0400204\www\runtime\cache\
TEMP_PATH
D:\virtualhost\localuser\wfwz0400204\www\runtime\temp\
CONF_PATH
D:\virtualhost\localuser\wfwz0400204\www/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Index
ACTION_NAME
index
PREFIX
tp_
網站地圖:sitemap
网站地图:sitemap