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

模板文件不存在:/www/wwwroot/www.16757.com/theme/v3/.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 IndexController.php line 106
  6. at IndexController->fetch() in Wechat.php line 81
  7. at Wechat->index() in route.php line 107
  8. at Config->{closure}() in Container.php line 294
  9. at Container->invokeFunction() in Container.php line 358
  10. at Container->invoke() in Callback.php line 27
  11. at Callback->exec() in Dispatch.php line 80
  12. at Dispatch->run() in Route.php line 793
  13. at Route->think\{closure}() in Pipeline.php line 59
  14. at Pipeline->think\{closure}() in Pipeline.php line 66
  15. at Pipeline->then() in Route.php line 794
  16. at Route->dispatch() in Http.php line 216
  17. at Http->dispatchToRoute() in Http.php line 206
  18. at Http->think\{closure}() in Pipeline.php line 59
  19. at Pipeline->think\{closure}() in MultiApp.php line 51
  20. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  21. at Pipeline->think\{closure}() in Pipeline.php line 66
  22. at Pipeline->then() in MultiApp.php line 52
  23. at MultiApp->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 SessionInit.php line 67
  27. at SessionInit->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 Http.php line 207
  32. at Http->runWithRequest() in Http.php line 170
  33. at Http->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP 52.90.181.205
HTTP_X_FORWARDED_FOR 52.90.181.205
HTTP_CONNECTION close
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.16757.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.16757.com
SERVER_PORT 443
SERVER_ADDR 61.160.195.130
REMOTE_PORT 59106
REMOTE_ADDR 149.104.22.195
SERVER_SOFTWARE nginx/1.25.4
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.16757.com/public
DOCUMENT_URI /index.php
REQUEST_URI /wechat/index/keywords/%E5%A4%A9%E6%B4%A5%E5%B8%82%E4%B8%9C%E4%B8%BD%E5%8C%BA%E6%96%B0%E7%AB%8B%E6%9D%91%E5%B0%8F%E5%AD%A6.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/wechat/index/keywords/%E5%A4%A9%E6%B4%A5%E5%B8%82%E4%B8%9C%E4%B8%BD%E5%8C%BA%E6%96%B0%E7%AB%8B%E6%9D%91%E5%B0%8F%E5%AD%A6.html
SCRIPT_FILENAME /www/wwwroot/www.16757.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710833606.9566
REQUEST_TIME 1710833606