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

模板文件不存在:/www/wwwroot/xl/app/index/view/pc/informationd.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 View.php line 92
  6. at View->output() in Response.php line 388
  7. at Response->getContent() in Response.php line 131
  8. at Response->send() in RuntimeService.php line 212
  9. at RuntimeService::doWebsiteInit() in index.php line 23

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.nabenxinli.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.nabenxinli.com
SERVER_PORT 443
SERVER_ADDR 172.23.246.65
REMOTE_PORT 49320
REMOTE_ADDR 3.236.111.234
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/xl/public
DOCUMENT_URI /index.php
REQUEST_URI /informationd/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/informationd/
SCRIPT_FILENAME /www/wwwroot/xl/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710823516.8243
REQUEST_TIME 1710823516