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

模板文件不存在:/www/wwwroot/www.bonberee.com/template/index/bonberee/page/page_guestbook.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 66
  6. at Index->lists()
  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 772
  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 773
  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 LoadLangPack.php line 92
  23. at LoadLangPack->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 Pipeline.php line 66
  27. at Pipeline->then() in MultiApp.php line 72
  28. at MultiApp->handle()
  29. at call_user_func() in Middleware.php line 142
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in SessionInit.php line 67
  32. at SessionInit->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 Pipeline.php line 66
  36. at Pipeline->then() in Http.php line 207
  37. at Http->runWithRequest() in Http.php line 170
  38. at Http->run() in index.php line 10

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST m.bonberee.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.bonberee.com
SERVER_PORT 80
SERVER_ADDR 172.31.188.169
REMOTE_PORT 49006
REMOTE_ADDR 44.202.90.91
SERVER_SOFTWARE nginx/1.16.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.bonberee.com/public
DOCUMENT_URI /index.php
REQUEST_URI /inquiry/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/inquiry/
SCRIPT_FILENAME /www/wwwroot/www.bonberee.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711666542.2372
REQUEST_TIME 1711666542