[2002] PDOException in Connection.php line 589

  1. return $result;
  2. }
  3. /**
  4. * 获得存储过程数据集
  5. * @access protected
  6. * @return array
  7. */
  8. protected function procedure()
  9. {
  10. $item = [];
  11. do {
  12. $result = $this->getResult();
  13. if ($result) {
  14. $item[] = $result;
  15. }
  16. } while ($this->PDOStatement->nextRowset());
  17. $this->numRows = count($item);
  18. return $item;

Call Stack

  1. in Connection.php line 589
  2. at PDO->__construct('mysql:host=10.10.10....', 'yinghejituan', 'yinghejituan', [0, 2, 0, ...]) in Connection.php line 589
  3. at Connection->connect() in Connection.php line 1989
  4. at Connection->initConnect(false) in Connection.php line 695
  5. at Connection->query('SHOW COLUMNS FROM `y...', [], false, true) in Mysql.php line 129
  6. at Mysql->getFields('yh_infolist') in Query.php line 3841
  7. at Query->getTableInfo('yh_infolist', 'type') in Query.php line 3937
  8. at Query->getFieldsType('yh_infolist') in Query.php line 3949
  9. at Query->getFieldsBind('yh_infolist') in Builder.php line 539
  10. at Builder->buildWhere(['AND' => ['picurl' => ['neq', ''], 'parentid' => 16]], ['field' => ['id', 'title', 'posttime', ...], 'multi' => ['AND' => ['picurl' => [['neq', '']], 'parentid' => [16]]], 'where' => ['AND' => ['picurl' => ['neq', ''], 'parentid' => 16]], ...]) in Builder.php line 479
  11. at Builder->parseWhere(['AND' => ['picurl' => ['neq', ''], 'parentid' => 16]], ['field' => ['id', 'title', 'posttime', ...], 'multi' => ['AND' => ['picurl' => [['neq', '']], 'parentid' => [16]]], 'where' => ['AND' => ['picurl' => ['neq', ''], 'parentid' => 16]], ...]) in Builder.php line 1437
  12. at Builder->select(['field' => ['id', 'title', 'posttime', ...], 'multi' => ['AND' => ['picurl' => [['neq', '']], 'parentid' => [16]]], 'where' => ['AND' => ['picurl' => ['neq', ''], 'parentid' => 16]], ...]) in Query.php line 5021
  13. at Query->select() in Infolist.php line 57
  14. at Infolist->getList(16, 0, 5, ['picurl' => ['neq', '']]) in Index.php line 45
  15. at Index->commons(16, 0, 5, ['picurl' => ['neq', '']]) in Index.php line 65
  16. at Index->index()
  17. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 685
  18. at App::invokeMethod([object(Index), 'index'], []) in App.php line 1221
  19. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 913
  20. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 277
  21. at App::run() in start.php line 37
  22. at require('D:\freehost\yingheji...') in index.php line 27

Environment Variables

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

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-2912a2c3-926f-473d-b24e-045ed1a88a41
PHP_FCGI_MAX_REQUESTS
10000
PHPRC
c:\php\5.6
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\1_FreeHost_31\1_FreeHost_31.config
APP_POOL_ID
1_FreeHost_31
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPLUS_ProfAPI_ProfilerCompatibilitySetting
EnableV2Profiler
COMPUTERNAME
HK-E3JP8HOVG7K
ComSpec
C:\Windows\system32\cmd.exe
COR_ENABLE_PROFILING
1
COR_PROFILER
{9598F6D3-9CAA-46BF-A995-0AA1D18A547A}
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
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
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
2d07
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
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
HK-E3JP8HOVG7K$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/web/index.php
URL
/web/index.php
SERVER_SOFTWARE
Microsoft-IIS/8.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.yinghedichan.com
SCRIPT_NAME
/web/index.php
SCRIPT_FILENAME
d:\freehost\yinghejituan1\web\web\index.php
REQUEST_URI
/web/
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
20001
REMOTE_HOST
154.215.202.240
REMOTE_ADDR
154.215.202.240
QUERY_STRING
PATH_TRANSLATED
d:\freehost\yinghejituan1\web\web\index.php
LOGON_USER
LOCAL_ADDR
113.6.251.88
INSTANCE_META_PATH
/LM/W3SVC/22207000
INSTANCE_NAME
YINGHEJITUAN1.SYS88.PKULAB.COM_YINGHEJITUAN1_YINGHEJITUAN
INSTANCE_ID
22207000
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\freehost\yinghejituan1\web
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\freehost\yinghejituan1\web\
APPL_MD_PATH
/LM/W3SVC/22207000/ROOT
IIS_UrlRewriteModule
7.1.1952.0
WEBSOCKET_VERSION
13
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.yinghedichan.com
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/web/index.php
REQUEST_TIME_FLOAT
1575907733.8606
REQUEST_TIME
1575907733
PATH_INFO
false
Environment Variables
empty

ThinkPHP Constants

WEB_PATH
D:\freehost\yinghejituan1\web\web/
APP_PATH
D:\freehost\yinghejituan1\web\web/../source/web/
THINK_VERSION
5.0.24
THINK_START_TIME
1575907733.8625
THINK_START_MEM
157328
EXT
.php
DS
\
THINK_PATH
D:\freehost\yinghejituan1\web\source\thinkphp\
LIB_PATH
D:\freehost\yinghejituan1\web\source\thinkphp\library\
CORE_PATH
D:\freehost\yinghejituan1\web\source\thinkphp\library\think\
TRAIT_PATH
D:\freehost\yinghejituan1\web\source\thinkphp\library\traits\
ROOT_PATH
D:\freehost\yinghejituan1\web\source\
EXTEND_PATH
D:\freehost\yinghejituan1\web\source\extend\
VENDOR_PATH
D:\freehost\yinghejituan1\web\source\vendor\
RUNTIME_PATH
D:\freehost\yinghejituan1\web\source\runtime\
LOG_PATH
D:\freehost\yinghejituan1\web\source\runtime\log\
CACHE_PATH
D:\freehost\yinghejituan1\web\source\runtime\cache\
TEMP_PATH
D:\freehost\yinghejituan1\web\source\runtime\temp\
CONF_PATH
D:\freehost\yinghejituan1\web\web/../source/web/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
QINIU_FUNCTIONS_VERSION
7.2.7