IM体育(中国·在线)官方网址-Mobile Website

[8] ErrorException in Index.php line 23

未定义数组索引: user-agent

  1. ];
  2. public function test()
  3. {
  4. echo 'test';
  5. }
  6. protected function recordSpider()
  7. {
  8. $userAgent = $this->request->header()['user-agent'];
  9. if (strpos($userAgent, "spider")) {
  10. if (strpos($userAgent, "Baiduspider")) {
  11. $spiderName = 'Baiduspider';
  12. } elseif (strpos($userAgent, "Sogou web spider")) {
  13. $spiderName = 'Sogou web spider';
  14. } elseif (strpos($userAgent, "Bytespider")) {
  15. $spiderName = 'Bytespider';

Call Stack

  1. in Index.php line 23
  2. at Error::appError(8, 'Undefined index: use...', 'C:\wwwroot\客户\ce...', 23, []) in Index.php line 23
  3. at Index->recordSpider() in Index.php line 85
  4. at Index->index()
  5. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
  6. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['sid' => '1', 'convert' => false]) in Module.php line 131
  7. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  8. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  9. at Middleware->think\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  11. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  12. at Module->exec() in Dispatch.php line 168
  13. at Dispatch->run() in App.php line 432
  14. at App->think\{closure}(object(Request), object(Closure), null)
  15. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  16. at Middleware->think\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  18. at Middleware->dispatch(object(Request)) in App.php line 435
  19. at App->run() in index.php line 26

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID ukghpmvbpqqibkje9edrnv29ng
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-7a13d5ba-c4a1-4f6f-aec3-b2f5dcc1dd1b
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\ceegpowercom\ceegpowercom.config
APP_POOL_ID ceegpowercom
BT_PANEL C:\BtSoft\panel
BT_PYTHON C:\Program Files\python
BT_SETUP C:\BtSoft
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME iZ51hyt5hbhuwdZ
ComSpec C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK NO
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 2
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Program Files\python;C:\Program Files\python\Scripts;;C:\BtSoft\panel\script;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\nodejs\;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 5507
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
UNRAR_LIB_PATH C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN WORKGROUP
USERNAME iZ51hyt5hbhuwdZ$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/8.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME ceegpowercom.fzmina.com
SCRIPT_NAME /index.php
SCRIPT_FILENAME
REQUEST_URI /
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 53293
REMOTE_HOST 43.224.153.7
REMOTE_ADDR 43.224.153.7
QUERY_STRING
PATH_TRANSLATED
LOGON_USER
LOCAL_ADDR 172.29.125.147
INSTANCE_META_PATH /LM/W3SVC/5
INSTANCE_NAME CEEGPOWERCOM
INSTANCE_ID 5
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
APPL_MD_PATH /LM/W3SVC/5/ROOT
IIS_UrlRewriteModule 7.1.0871.0
HTTP_X_ARR_LOG_ID 2cfd4359-3a13-40b9-996c-26b407a1476b
HTTP_X_FORWARDED_FOR 170.130.206.2:49200
HTTP_X_ORIGINAL_URL /
HTTP_MAX_FORWARDS 10
HTTP_HOST ceegpowercom.fzmina.com
HTTP_COOKIE PHPSESSID=ukghpmvbpqqibkje9edrnv29ng
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
HTTP_CONNECTION Keep-Alive
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1716198578.5016
REQUEST_TIME 1716198578
Environment Variablesempty
ThinkPHP Constants
ROOT_PATH C:\wwwroot\客户\ceegpowercom
WEB_PATH C:\wwwroot\客户\ceegpowercom\wwwroot
BASE_DIRS [ "static", "uploads", "templates", "error" ]
FILTER_VALIDATE_BOOL 258
XML 地图