[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:/www/wwwroot/tsinghua-eiri.org/qinghua/Theme/Home/public/index.html

  1. */
  2. public function fetch($template, $data = [], $config = [])
  3. {
  4. if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
  5. // 获取模板文件名
  6. $template = $this->parseTemplate($template);
  7. }
  8. // 模板不存在 抛出异常
  9. if (!is_file($template)) {
  10. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  11. }
  12. // 记录视图信息
  13. App::$debug && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');
  14. $this->template->fetch($template, $data, $config);
  15. }
  16. /**
  17. * 渲染模板内容
  18. * @access public

Call Stack

  1. in Think.php line 80
  2. at Think->fetch('/www/wwwroot/tsinghu...', ['modulename' => '404', 'actionname' => 'index', 'hot_keywords' => '亚博体育网页版登录|亚博体育app下载官网|互联...', ...], []) in View.php line 163
  3. at View->fetch('/www/wwwroot/tsinghu...', ['modulename' => '404', 'actionname' => 'index', 'hot_keywords' => '亚博体育网页版登录|亚博体育app下载官网|互联...', ...], []) in View.php line 36
  4. at View->output('/www/wwwroot/tsinghu...') in Response.php line 305
  5. at Response->getContent() in Response.php line 94
  6. at Response->send() in start.php line 18
  7. at require('/www/wwwroot/tsinghu...') in index.php line 21

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

think
{ "language": 1 }

Server/Request Data

USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.tsinghua-eiri.org
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH_INFO
/404.html
REDIRECT_STATUS
200
SERVER_NAME
tsinghua-eiri.org
SERVER_PORT
80
SERVER_ADDR
172.24.141.97
REMOTE_PORT
20000
REMOTE_ADDR
154.214.184.147
SERVER_SOFTWARE
nginx/1.12.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/tsinghua-eiri.org/qinghua
DOCUMENT_URI
/index.php
REQUEST_URI
/gnld/qdrtksr/qdrtksr.gslk?sxod=5&eqnl=0
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/404.html
SCRIPT_FILENAME
/www/wwwroot/tsinghua-eiri.org/qinghua/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1582913748.5232
REQUEST_TIME
1582913748
Environment Variables
empty

ThinkPHP Constants

APP_NAME
ZhiMengCMS
WEB_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua
EXTEND_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/ZhiMengApp/extend/
VENDOR_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/Vendor/
LOG_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/RunTime/log/
TEMP_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/RunTime/temp/
HTML_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/RunTime/html/
CACHE_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/RunTime/cache/
DATA_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/RunTime/field/
APP_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/ZhiMengApp/
RUNTIME_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/RunTime/
THINK_VERSION
5.0.7
THINK_START_TIME
1582913748.5236
THINK_START_MEM
379952
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/ZhiMengCore/thinkphp/
LIB_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/ZhiMengCore/thinkphp/library/
CORE_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/ZhiMengCore/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/ZhiMengCore/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/
CONF_PATH
/www/wwwroot/tsinghua-eiri.org/qinghua/ZhiMengApp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
LANGUAGE
1
CONTROLLER_NAME
404
ACTION_NAME
index