bifa88

[0] TemplateNotFoundException in Think.php line 86

模板文件不存在:application/index/view/lists\list.php.html

  1. public function fetch($template, $data = [], $config = [])
  2. {
  3. if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
  4. // 获取模板文件名
  5. $template = $this->parseTemplate($template);
  6. }
  7. // 模板不存在 抛出异常
  8. if (!is_file($template)) {
  9. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  10. }
  11. // 记录视图信息
  12. $this->app
  13. ->log('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]');
  14. $this->template->fetch($template, $data, $config);
  15. }

Call Stack

  1. in Think.php line 86
  2. at Think->fetch('', [], []) in View.php line 192
  3. at View->fetch('', [], [], false) in View.php line 42
  4. at View->output('') in Response.php line 396
  5. at Response->getContent() in Response.php line 128
  6. at Response->send() in index.php line 21

Environment Variables

GET Data
pid 1
ty 31
POST Dataempty
Filesempty
Cookies
_wtsexp 1670048272
_wtscpk 42b50e96cb
_wtsuid 0d111748-c8ea-4e0d-ba61-2483bbe4d7b7
_wtspurl //V5/.git/config
lang cn
PHPSESSID fh2vcjt52k2nm3pa9pk4fbmqr1
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-bdafb6ba-5e3c-4b68-870c-5ff3a295a0c0
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\cdapie2019\cdapie2019.config
APP_POOL_ID cdapie2019
CommonProgramFiles C:\Program Files (x86)\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME EBS-66673
ComSpec C:\Windows\system32\cmd.exe
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 8
OS Windows_NT
Path 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:\php_52;D:\mysql\bin;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 63 Stepping 2, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 3f02
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-66673$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/10.0
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.cdapie.com
SCRIPT_NAME /index.php
SCRIPT_FILENAME d:\wwwroot\cdapie2019\wwwroot\index.php
REQUEST_URI /list.php?pid=1&ty=31
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 63190
REMOTE_HOST 127.0.0.1
REMOTE_ADDR 127.0.0.1
QUERY_STRING s=index/lists/list.php&pid=1&ty=31
PATH_TRANSLATED d:\wwwroot\cdapie2019\wwwroot\index.php
LOGON_USER
LOCAL_ADDR 127.0.0.1
INSTANCE_META_PATH /LM/W3SVC/10247
INSTANCE_NAME CDAPIE2019
INSTANCE_ID 10247
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT d:\wwwroot\cdapie2019\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\cdapie2019\wwwroot\
APPL_MD_PATH /LM/W3SVC/10247/ROOT
IIS_UrlRewriteModule 7.1.1980.0
UNENCODED_URL //list.php?pid=1&ty=31
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /list.php?pid=1&ty=31
HTTP_X_REAL_IP 107.164.18.50
HTTP_X_FORWARDED_FOR 107.164.18.50
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_HOST www.cdapie.com
HTTP_COOKIE _wtsexp=1670048272; _wtscpk=42b50e96cb; _wtsuid=0d111748-c8ea-4e0d-ba61-2483bbe4d7b7; _wtspurl=//V5/.git/config; lang=cn; PHPSESSID=fh2vcjt52k2nm3pa9pk4fbmqr1
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
HTTP_CONNECTION close
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1670422872.7685
REQUEST_TIME 1670422872
Environment Variablesempty
ThinkPHP Constantsempty