[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/www/wwwroot/www.softem.cn/application/index/view/pointshop/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('', ['module' => 'index', 'controller' => 'Pointshop', 'action' => 'index', ...], []) in View.php line 163
  3. at View->fetch('', [], [], []) in Controller.php line 120
  4. at Controller->fetch() in Pointshop.php line 37
  5. at Pointshop->index()
  6. at ReflectionMethod->invokeArgs(object(Pointshop), []) in App.php line 343
  7. at App::invokeMethod([object(Pointshop), 'index'], []) in App.php line 611
  8. at App::module(['index', 'pointshop', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  9. at App::exec(['type' => 'module', 'module' => ['index', 'pointshop', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/www.sof...') in index.php line 1

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
/www/wwwroot/www.softem.cn/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/index/pointshop/index.html
DOCUMENT_URI
/index.php/index/pointshop/index.html
DOCUMENT_ROOT
/www/wwwroot/www.softem.cn
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.22.1
REMOTE_ADDR
54.221.110.87
REMOTE_PORT
36700
SERVER_ADDR
172.16.0.7
SERVER_PORT
80
SERVER_NAME
www.softem.cn
REDIRECT_STATUS
200
PATH_INFO
/index/pointshop/index.html
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.softem.cn
PHP_SELF
/index.php/index/pointshop/index.html
REQUEST_TIME_FLOAT
1711659316.0455
REQUEST_TIME
1711659316
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.softem.cn/application/
THINK_VERSION
5.0.21
THINK_START_TIME
1711659316.0459
THINK_START_MEM
258736
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.softem.cn/thinkphp/
LIB_PATH
/www/wwwroot/www.softem.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/www.softem.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.softem.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.softem.cn/
EXTEND_PATH
/www/wwwroot/www.softem.cn/extend/
VENDOR_PATH
/www/wwwroot/www.softem.cn/vendor/
RUNTIME_PATH
/www/wwwroot/www.softem.cn/runtime/
LOG_PATH
/www/wwwroot/www.softem.cn/runtime/log/
CACHE_PATH
/www/wwwroot/www.softem.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/www.softem.cn/runtime/temp/
CONF_PATH
/www/wwwroot/www.softem.cn/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
appsecret
szsdapp
ChannelKey
szsd
domain
newsuodun
url
http://openapi.beyondh.com
IS_POST
false
IS_AJAX
false
IS_GET
true