[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/data/www/cloud.zhilanit.com/public/../application/index/view/user/findpwd.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('/data/www/cloud.zhil...', ['user' => null, 'site' => ['name' => '...', 'keywords' => '...', 'cdnurl' => '', ...], 'config' => ['site' => ['name' => '...', 'cdnurl' => '', 'timezone' => 'Asia/Shanghai', ...], 'upload' => ['cdnurl' => '', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]], []) in View.php line 163
  3. at View->fetch() in User.php line 226
  4. at User->findpwd()
  5. at ReflectionMethod->invokeArgs(object(User), []) in App.php line 343
  6. at App::invokeMethod([object(User), 'findpwd'], []) in App.php line 611
  7. at App::module(['index', 'user', 'findpwd'], ['app_host' => '', 'app_debug' => 1, 'app_trace' => false, ...], true) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['index', 'user', 'findpwd']], ['app_host' => '', 'app_debug' => 1, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/www/cloud.zhil...') in index.php line 26

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

__fa2eb5d4878464bdfaae45a598674047
0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
cloud.zhilanit.com
PATH_INFO
/index/user/findpwd.html
REDIRECT_STATUS
200
SERVER_NAME
cloud.zhilanit.com
SERVER_PORT
443
SERVER_ADDR
112.192.16.152
REMOTE_PORT
35442
REMOTE_ADDR
100.26.35.111
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/data/www/cloud.zhilanit.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/user/findpwd.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/user/findpwd.html
SCRIPT_FILENAME
/data/www/cloud.zhilanit.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711675219.8655
REQUEST_TIME
1711675219
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/www/cloud.zhilanit.com/public/../application/
SITE_
1
THINK_VERSION
5.0.24
THINK_START_TIME
1711675221.1388
THINK_START_MEM
428840
EXT
.php
DS
/
THINK_PATH
/data/www/cloud.zhilanit.com/thinkphp/
LIB_PATH
/data/www/cloud.zhilanit.com/thinkphp/library/
CORE_PATH
/data/www/cloud.zhilanit.com/thinkphp/library/think/
TRAIT_PATH
/data/www/cloud.zhilanit.com/thinkphp/library/traits/
ROOT_PATH
/data/www/cloud.zhilanit.com/
EXTEND_PATH
/data/www/cloud.zhilanit.com/extend/
VENDOR_PATH
/data/www/cloud.zhilanit.com/vendor/
RUNTIME_PATH
/data/www/cloud.zhilanit.com/runtime/
LOG_PATH
/data/www/cloud.zhilanit.com/runtime/log/
CACHE_PATH
/data/www/cloud.zhilanit.com/runtime/cache/
TEMP_PATH
/data/www/cloud.zhilanit.com/runtime/temp/
CONF_PATH
/data/www/cloud.zhilanit.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/data/www/cloud.zhilanit.com/addons/