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

模板文件不存在:./themes/tongyong/cn/product.asp.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 common.php line 394
  8. at sp_page_html() in ErrorController.php line 11
  9. at ErrorController->__call()
  10. at ReflectionMethod->invokeArgs() in Container.php line 344
  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 Stat.php line 19
  14. at Stat->handle()
  15. at call_user_func() in Middleware.php line 142
  16. at Middleware->think\{closure}() in Pipeline.php line 85
  17. at Pipeline->think\{closure}() in Pipeline.php line 66
  18. at Pipeline->then() in Controller.php line 113
  19. at Controller->exec() in Dispatch.php line 80
  20. at Dispatch->run() in Route.php line 793
  21. at Route->think\{closure}() in Pipeline.php line 59
  22. at Pipeline->think\{closure}() in Stat.php line 19
  23. at Stat->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 Route.php line 794
  28. at Route->dispatch() in Http.php line 216
  29. at Http->dispatchToRoute() in Http.php line 206
  30. at Http->think\{closure}() in Pipeline.php line 59
  31. at Pipeline->think\{closure}() in MultiApp.php line 51
  32. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  33. at Pipeline->think\{closure}() in Pipeline.php line 66
  34. at Pipeline->then() in MultiApp.php line 52
  35. at MultiApp->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 SessionInit.php line 67
  39. at SessionInit->handle()
  40. at call_user_func() in Middleware.php line 142
  41. at Middleware->think\{closure}() in Pipeline.php line 85
  42. at Pipeline->think\{closure}() in Pipeline.php line 66
  43. at Pipeline->then() in Http.php line 207
  44. at Http->runWithRequest() in Http.php line 170
  45. at Http->run() in index.php line 20

Environment Variables

GET Data
/cn/product_asp
classid 4
page 2
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /cn/product.asp?classid=4&page=2
QUERY_STRING /cn/product.asp&classid=4&page=2
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /cn/product.asp&classid=4&page=2
REDIRECT_URL /cn/product.asp
REMOTE_PORT 59242
SCRIPT_FILENAME /www/wwwroot/sinogeneral.com/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/sinogeneral.com/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/sinogeneral.com/public
REMOTE_ADDR 44.212.39.149
SERVER_PORT 80
SERVER_ADDR 172.24.43.136
SERVER_NAME sinogeneral.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at sinogeneral.com Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
HTTP_HOST sinogeneral.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711638630.8286
REQUEST_TIME 1711638630