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

模板文件不存在:/www/wwwroot/alzhtest.ohyu.cn/view/404.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('/www/wwwroot/alzhtes...', []) in View.php line 90
  3. at View->think\{closure}() in View.php line 126
  4. at View->getContent(object(Closure)) in View.php line 91
  5. at View->fetch('404', []) in View.php line 92
  6. at View->output('404') in Response.php line 388
  7. at Response->getContent() in TraceDebug.php line 75
  8. at TraceDebug->handle(object(Request), object(Closure))
  9. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  10. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  11. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  12. at Pipeline->then(object(Closure)) in Http.php line 207
  13. at Http->runWithRequest(object(Request)) in Http.php line 170
  14. at Http->run() in index.php line 20

Environment Variables

GET Data
classid 185
classname ����ϵ��
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.ezhiti.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME alzhtest.ohyu.cn
SERVER_PORT 80
SERVER_ADDR 172.19.92.25
REMOTE_PORT 38808
REMOTE_ADDR 34.203.242.200
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/alzhtest.ohyu.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /cp.asp?classid=185&classname=%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%CF%B5%EF%BF%BD%EF%BF%BD
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/cp.asp&classid=185&classname=%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%CF%B5%EF%BF%BD%EF%BF%BD
SCRIPT_FILENAME /www/wwwroot/alzhtest.ohyu.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711627541.3614
REQUEST_TIME 1711627541