#0 [0]TemplateNotFoundException in Think.php line 146

模板文件不存在:E:\site\2023.ncccu.org.cn\app\index\view\login\index.html

  1. }
  2. if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
  3. // 获取模板文件名
  4. $template = $this->parseTemplate($template);
  5. }
  6. // 模板不存在 抛出异常
  7. if (!is_file($template)) {
  8. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  9. }
  10. $this->template->fetch($template, $data);
  11. }
  12. /**
  13. * 渲染模板内容
  14. * @access public
  15. * @param string $template 模板内容

Call Stack

  1. in Think.php line 146
  2. at Think->fetch() in View.php line 90
  3. at View->think\{closure}() in View.php line 126
  4. at View->getContent() in View.php line 91
  5. at View->fetch()
  6. at call_user_func_array() in Facade.php line 96
  7. at Facade::__callStatic() in BaseController.php line 119
  8. at BaseController->fetch() in Index.php line 79
  9. at Index->index()
  10. at ReflectionMethod->invokeArgs() in Container.php line 343
  11. at Container->invokeReflectMethod() in Controller.php line 110
  12. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  13. at Pipeline->think\{closure}() in Pipeline.php line 66
  14. at Pipeline->then() in Controller.php line 113
  15. at Controller->exec() in Dispatch.php line 89
  16. at Dispatch->run() in Route.php line 772
  17. at Route->think\{closure}() in Pipeline.php line 59
  18. at Pipeline->think\{closure}() in Pipeline.php line 66
  19. at Pipeline->then() in Route.php line 773
  20. at Route->dispatch() in Http.php line 216
  21. at Http->dispatchToRoute() in Http.php line 206
  22. at Http->think\{closure}() in Pipeline.php line 59
  23. at Pipeline->think\{closure}() in MultiApp.php line 71
  24. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  25. at Pipeline->think\{closure}() in Pipeline.php line 66
  26. at Pipeline->then() in MultiApp.php line 72
  27. at MultiApp->handle()
  28. at call_user_func() in Middleware.php line 142
  29. at Middleware->think\{closure}() in Pipeline.php line 85
  30. at Pipeline->think\{closure}() in SessionInit.php line 67
  31. at SessionInit->handle()
  32. at call_user_func() in Middleware.php line 142
  33. at Middleware->think\{closure}() in Pipeline.php line 85
  34. at Pipeline->think\{closure}() in TraceDebug.php line 71
  35. at TraceDebug->handle()
  36. at call_user_func() in Middleware.php line 142
  37. at Middleware->think\{closure}() in Pipeline.php line 85
  38. at Pipeline->think\{closure}() in Pipeline.php line 66
  39. at Pipeline->then() in Http.php line 207
  40. at Http->runWithRequest() in Http.php line 170
  41. at Http->run() in index.php line 18

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-ce6fd36c-221a-4963-a955-477a1667310f
PHPRC C:\php7\
PHP_FCGI_MAX_REQUESTS 100000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\www.ncccu.org.cn\www.ncccu.org.cn.config
APP_POOL_ID www.ncccu.org.cn
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME iZhit1svzzjy7nZ
ComSpec C:\Windows\system32\cmd.exe
DriverData C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 16
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Redis;C:\ProgramData\ComposerSetup\bin;C:\Program Files\Bandizip\;C:\imagemaick\ImageMagick-7.1.1-Q16-HDRI;C:\gshost\gs10.02.1\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
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
USERDOMAIN WORKGROUP
USERNAME iZhit1svzzjy7nZ$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php/login.html
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/10.0
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.ncccu.org.cn
SCRIPT_NAME /index.php
SCRIPT_FILENAME E:\site\2023.ncccu.org.cn\public\index.php
REQUEST_URI /login.html
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 30654
REMOTE_HOST 101.200.28.154
REMOTE_ADDR 101.200.28.154
QUERY_STRING
PATH_TRANSLATED E:\site\2023.ncccu.org.cn\public\index.php\login.html
PATH_INFO /login.html
LOGON_USER
LOCAL_ADDR 172.29.177.193
INSTANCE_META_PATH /LM/W3SVC/16
INSTANCE_NAME WWW.NCCCU.ORG.CN
INSTANCE_ID 16
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT E:\site\2023.ncccu.org.cn\public
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH E:\site\2023.ncccu.org.cn\public\
APPL_MD_PATH /LM/W3SVC/16/ROOT
IIS_UrlRewriteModule 7.1.1952.0
UNENCODED_URL /login.html
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /login.html
HTTP_X_ALICDN_DA_VIA 47.246.24.228,163.181.67.248,111.202.96.57
HTTP_ALI_CDN_APPVIEW_NAME cdn-tengine
HTTP_ALI_SWIFT_FORCE_TTL_CODE 400=0
HTTP_X_CLIENT_SCHEME http
HTTP_X_FORWARDED_FOR 44.192.53.34
HTTP_ALI_SWIFT_STAT_HOST www.ncccu.org.cn
HTTP_ALI_SWIFT_LOG_HOST www.ncccu.org.cn
HTTP_ALI_CDN_REAL_IP 44.192.53.34
HTTP_ALI_CDN_REAL_PORT 54114
HTTP_EAGLEEYE_TRACEID 2ff6189717116455267215460e
HTTP_USER_AGENT claudebot
HTTP_HOST www.ncccu.org.cn
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
HTTP_VIA us18.l1, l2us1.l2, l2nu16.l2
FCGI_ROLE RESPONDER
PHP_SELF /index.php/login.html
REQUEST_TIME_FLOAT 1711645526.843
REQUEST_TIME 1711645526
0.067277s