银河游戏国际网站·(2023)会员登录中心

[8] ErrorException in Cases.php line 70

未定义数组索引: cat_id

  1. $template = $this->template_pub.'case.html';
  2. return $this->fetch($template);
  3. }
  4. public function case_list()
  5. {
  6. $params = input('param.');
  7. $cat_id = $params['cat_id'];
  8. $where_cat[] = ['cat_id','=',$cat_id];
  9. $cat_name = Db::name('case_cat')->field("*")->limit(1)->where($where_cat)->order("sort_order ASC,cat_id ASC")->find();
  10. $cat_name_title = $cat_name['cat_name'];
  11. $where_case_lang[0] = ['is_show','=',1];
  12. $where_case_lang[1] = ['cat_ids','=',$cat_id];

Call Stack

  1. in Cases.php line 70
  2. at Error::appError(8, 'Undefined index: cat...', 'D:\wwwroot\shtulong\...', 70, ['params' => ['lang' => 'zh-cn']]) in Cases.php line 70
  3. at Cases->case_list()
  4. at ReflectionMethod->invokeArgs(object(Cases), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Cases), object(ReflectionMethod), ['lang' => 'zh-cn']) in Module.php line 132
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 21

Environment Variables

GET Data
lang zh-cn
POST Dataempty
Filesempty
Cookies
PHPSESSID pd382e1o2nkv8p79j2665l9fb2
Session
admin { "lang": "zh-cn" }
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-fae16e76-a9f0-4fb2-870d-093b73e3432a
PHP_FCGI_MAX_REQUESTS 1000
PHPRC C:\php_56
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\shtulong\shtulong.config
APP_POOL_ID shtulong
CommonProgramFiles C:\Program Files (x86)\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME EBS-6797
ComSpec C:\Windows\system32\cmd.exe
DriverData C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 12
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\php_52;D:\mysql\bin;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE x86
PROCESSOR_ARCHITEW6432 AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 4f01
ProgramData C:\ProgramData
ProgramFiles C:\Program Files (x86)
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
USERDOMAIN WORKGROUP
USERNAME EBS-6797$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php/index/cases/case_list/cat_id/
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/10.0
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.shtulong.com
SCRIPT_NAME /index.php
SCRIPT_FILENAME D:\wwwroot\shtulong\wwwroot\index.php
REQUEST_URI /index/cases/case_list/cat_id/?lang=zh-cn
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 61543
REMOTE_HOST 127.0.0.1
REMOTE_ADDR 127.0.0.1
QUERY_STRING lang=zh-cn
PATH_TRANSLATED D:\wwwroot\shtulong\wwwroot\index.php\index\cases\case_list\cat_id\
PATH_INFO /index/cases/case_list/cat_id/
LOGON_USER
LOCAL_ADDR 127.0.0.1
INSTANCE_META_PATH /LM/W3SVC/10731
INSTANCE_NAME SHTULONG
INSTANCE_ID 10731
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\wwwroot\shtulong\wwwroot
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:\wwwroot\shtulong\wwwroot\
APPL_MD_PATH /LM/W3SVC/10731/ROOT
IIS_UrlRewriteModule 7,1,1993,2336
WEBSOCKET_VERSION 13
UNENCODED_URL /index/cases/case_list/cat_id/?lang=zh-cn
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /index/cases/case_list/cat_id/?lang=zh-cn
HTTP_X_REAL_IP 50.2.188.210
HTTP_X_FORWARDED_FOR 50.2.188.210
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_HOST www.shtulong.com
HTTP_COOKIE PHPSESSID=pd382e1o2nkv8p79j2665l9fb2
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
HTTP_CONNECTION close
FCGI_ROLE RESPONDER
PHP_SELF /index.php/index/cases/case_list/cat_id/
REQUEST_TIME_FLOAT 1713410390.1693
REQUEST_TIME 1713410390
Environment Variablesempty
ThinkPHP Constantsempty
XML 地图