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

模板文件不存在:/www/wwwroot/www.wangzhan360.com/template/index/default/show/page.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() in Index.php line 225
  6. at Index->show()
  7. at ReflectionMethod->invokeArgs() in Container.php line 344
  8. at Container->invokeReflectMethod() in Controller.php line 110
  9. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in Pipeline.php line 66
  11. at Pipeline->then() in Controller.php line 113
  12. at Controller->exec() in Dispatch.php line 90
  13. at Dispatch->run() in Route.php line 785
  14. at Route->think\{closure}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in Route.php line 786
  17. at Route->dispatch() in Http.php line 216
  18. at Http->dispatchToRoute() in Http.php line 206
  19. at Http->think\{closure}() in Pipeline.php line 59
  20. at Pipeline->think\{closure}() in MultiApp.php line 71
  21. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  22. at Pipeline->think\{closure}() in HtmlCache.php line 26
  23. at HtmlCache->handle()
  24. at call_user_func() in Middleware.php line 142
  25. at Middleware->think\{closure}() in Pipeline.php line 85
  26. at Pipeline->think\{closure}() in LoadLangPack.php line 98
  27. at LoadLangPack->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 Pipeline.php line 66
  31. at Pipeline->then() in MultiApp.php line 72
  32. at MultiApp->handle()
  33. at call_user_func() in Middleware.php line 142
  34. at Middleware->think\{closure}() in Pipeline.php line 85
  35. at Pipeline->think\{closure}() in SessionInit.php line 67
  36. at SessionInit->handle()
  37. at call_user_func() in Middleware.php line 142
  38. at Middleware->think\{closure}() in Pipeline.php line 85
  39. at Pipeline->think\{closure}() in Pipeline.php line 66
  40. at Pipeline->then() in Http.php line 207
  41. at Http->runWithRequest() in Http.php line 170
  42. at Http->run() in index.php line 29

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
index_hkcms_lang zh-cn
old_index_hkcms_lang zh-cn
HKCMSSESSID 639e3523cc159c17cf698bea85d891d5
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_X_ALICDN_DA_VIA 163.181.246.195,42.96.223.43
HTTP_ALI_SWIFT_RANGE_CACHE on
HTTP_ALI_CDN_ADAPTIVE_PORTS 80,443
HTTP_ALI_SWIFT_ORIGIN_PORT 443
HTTP_ALI_SWIFT_ORIGIN_SCHEME https
HTTP_ALI_CDN_APPVIEW_NAME cdn-tengine
HTTP_COOKIE index_hkcms_lang=zh-cn; old_index_hkcms_lang=zh-cn; HKCMSSESSID=639e3523cc159c17cf698bea85d891d5
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_ALI_SWIFT_FORCE_TTL_CODE 400=0
HTTP_ALI_SWIFT_FORCE_CACHE_CONTROL 0
HTTP_X_CLIENT_SCHEME https
HTTP_X_FORWARDED_FOR 216.73.216.255
HTTP_ALI_SWIFT_STAT_HOST www.wangzhan360.com
HTTP_ALI_SWIFT_LOG_HOST www.wangzhan360.com
HTTP_ALI_CDN_REAL_IP 216.73.216.255
HTTP_ALI_CDN_REAL_PORT 58961
HTTP_EAGLEEYE_TRACEID a3b5f6a517799720382534440e
HTTP_VIA us33.l1, l2cm9-2.l2
HTTP_HOST www.wangzhan360.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME wangzhan360.com
SERVER_PORT 443
SERVER_ADDR 172.17.12.16
REMOTE_PORT 43822
REMOTE_ADDR 42.96.223.43
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.wangzhan360.com/public
DOCUMENT_URI /index.php
REQUEST_URI /Team/18.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/Team/18.html
SCRIPT_FILENAME /www/wwwroot/www.wangzhan360.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1779972038.398
REQUEST_TIME 1779972038