[0] TemplateNotFoundException in Think.php line 86

模板文件不存在:C:\HwsHostMaster\wwwroot\mrs_enroll_22fqiz\web\application\home\view\mypage\sszx_g.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('mypage/sszx_g', ['site_info' => object(SiteMd), 'jssdk' => ['appid' => 'wxb8d811e4b7bb8b92', 'timestamp' => 1711696934, 'noncestr' => '66066c26471e2', ...], 'arts' => object(Bootstrap), ...], []) in View.php line 189
  3. at View->fetch('mypage/sszx_g', [], []) in Controller.php line 161
  4. at Controller->fetch('mypage/sszx_g') in Content.php line 62
  5. at Content->artList()
  6. at ReflectionMethod->invokeArgs(object(Content), []) in Container.php line 395
  7. at Container->invokeReflectMethod(object(Content), object(ReflectionMethod), ['v' => 'banner', 'cat_id' => '47']) in Module.php line 132
  8. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  9. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  10. at Middleware->think\{closure}(object(Request))
  11. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  12. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  13. at Module->exec() in Dispatch.php line 168
  14. at Dispatch->run() in App.php line 432
  15. at App->think\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request)) in App.php line 435
  20. at App->run() in index.php line 21

Environment Variables

GET Data
v banner
POST Dataempty
Filesempty
Cookiesempty
Session
think { "lj": "banner" }
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-da991976-1c63-4545-94a7-3a67c93fe1d3
PHP_FCGI_MAX_REQUESTS 10000
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\mrs_enroll\mrs_enroll.config
APP_POOL_ID mrs_enroll
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME ait
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:\Program Files (x86)\Subversion\bin;C:\HwsHostMaster\phpweb\php56;C:\ProgramData\ComposerSetup\bin;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 5504
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 ait$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php/home/content/artlist/cat_id/47.html
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/8.5
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME enroll.maruisha.com.cn
SCRIPT_NAME /index.php
SCRIPT_FILENAME C:\HwsHostMaster\wwwroot\mrs_enroll_22fqiz\web\public\index.php
REQUEST_URI /index.php/home/content/artlist/cat_id/47.html?v=banner
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 55804
REMOTE_HOST 3.80.155.163
REMOTE_ADDR 3.80.155.163
QUERY_STRING v=banner
PATH_TRANSLATED C:\HwsHostMaster\wwwroot\mrs_enroll_22fqiz\web\public\index.php\home\content\artlist\cat_id\47.html
PATH_INFO /home/content/artlist/cat_id/47.html
LOGON_USER
LOCAL_ADDR 172.17.69.115
INSTANCE_META_PATH /LM/W3SVC/6007
INSTANCE_NAME MRS_ENROLL
INSTANCE_ID 6007
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT C:\HwsHostMaster\wwwroot\mrs_enroll_22fqiz\web\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 C:\HwsHostMaster\wwwroot\mrs_enroll_22fqiz\web\public\
APPL_MD_PATH /LM/W3SVC/6007/ROOT
IIS_UrlRewriteModule 7.1.0871.0
HTTP_USER_AGENT claudebot
HTTP_HOST enroll.maruisha.com.cn
HTTP_ACCEPT */*
FCGI_ROLE RESPONDER
PHP_SELF /index.php/home/content/artlist/cat_id/47.html
REQUEST_TIME_FLOAT 1711696934.2116
REQUEST_TIME 1711696934
Environment Variablesempty
ThinkPHP Constantsempty