[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/qhy/webs/jufy.in60.cn/public/../application/index/view/join/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 82
  2. at Think->fetch('', ['user' => null, 'nav' => [['id' => 61, 'pid' => 0, 'type' => 'nav', ...], ['id' => 62, 'pid' => 0, 'type' => 'nav', ...], ['id' => 63, 'pid' => 0, 'type' => 'nav', ...], ...], 'bottom' => [object(Category), object(Category), object(Category), ...], ...], []) in View.php line 163
  3. at View->fetch() in Join.php line 46
  4. at Join->index()
  5. at ReflectionMethod->invokeArgs(object(Join), []) in App.php line 343
  6. at App::invokeMethod([object(Join), 'index'], []) in App.php line 611
  7. at App::module(['index', 'Join', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  8. at App::exec(['type' => 'module', 'module' => ['index', 'Join', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/qhy/webs/jufy.in60....') in index.php line 24

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/qhy/webs/jufy.in60.cn/public/index.php
QUERY_STRING
s=//join.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/join.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/qhy/webs/jufy.in60.cn/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.10.0
REMOTE_ADDR
154.210.121.24
REMOTE_PORT
20000
SERVER_ADDR
172.31.75.26
SERVER_PORT
80
SERVER_NAME
yanwu021.com
REDIRECT_STATUS
200
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.yanwu021.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1638724548.0052
REQUEST_TIME
1638724548
PATH_INFO
//join.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/qhy/webs/jufy.in60.cn/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1638724548.0058
THINK_START_MEM
260048
EXT
.php
DS
/
THINK_PATH
/qhy/webs/jufy.in60.cn/thinkphp/
LIB_PATH
/qhy/webs/jufy.in60.cn/thinkphp/library/
CORE_PATH
/qhy/webs/jufy.in60.cn/thinkphp/library/think/
TRAIT_PATH
/qhy/webs/jufy.in60.cn/thinkphp/library/traits/
ROOT_PATH
/qhy/webs/jufy.in60.cn/
EXTEND_PATH
/qhy/webs/jufy.in60.cn/extend/
VENDOR_PATH
/qhy/webs/jufy.in60.cn/vendor/
RUNTIME_PATH
/qhy/webs/jufy.in60.cn/runtime/
LOG_PATH
/qhy/webs/jufy.in60.cn/runtime/log/
CACHE_PATH
/qhy/webs/jufy.in60.cn/runtime/cache/
TEMP_PATH
/qhy/webs/jufy.in60.cn/runtime/temp/
CONF_PATH
/qhy/webs/jufy.in60.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PHP_INT_MIN
-9223372036854775808
ADDON_PATH
/qhy/webs/jufy.in60.cn/addons/