[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/www/wwwroot/eordert.xaxuandou.com//Template/home/lists/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('/www/wwwroot/eordert...', ['site' => ['id' => 1, 'site_name' => 'default', 'title' => 'St.Martin Cabinetry', ...], 'id' => 'index', 'ci' => null], []) in View.php line 163
  3. at View->fetch(null, ['site' => ['id' => 1, 'site_name' => 'default', 'title' => 'St.Martin Cabinetry', ...], 'id' => 'index', 'ci' => null], ['__ROOT__' => '', '__URL__' => '/index/lists', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  4. at Controller->fetch(null) in Lists.php line 32
  5. at Lists->index()
  6. at ReflectionMethod->invokeArgs(object(Lists), []) in App.php line 343
  7. at App::invokeMethod([object(Lists), 'index'], []) in App.php line 611
  8. at App::module(['index', 'Lists', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  9. at App::exec(['type' => 'module', 'module' => ['index', 'Lists', 'index'], 'convert' => false], ['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/eordert...') in index.php line 28

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/list/index.html
QUERY_STRING
s=/list/index.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/2.0
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/list/index.html
REDIRECT_URL
/list/index.html
REMOTE_PORT
36631
SCRIPT_FILENAME
/www/wwwroot/eordert.xaxuandou.com/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/eordert.xaxuandou.com
CONTEXT_PREFIX
REQUEST_SCHEME
https
DOCUMENT_ROOT
/www/wwwroot/eordert.xaxuandou.com
REMOTE_ADDR
3.17.156.200
SERVER_PORT
443
SERVER_ADDR
172.18.132.85
SERVER_NAME
www.stmartincabinetry.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.stmartincabinetry.com Port 443</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST
www.stmartincabinetry.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
proxy-nokeepalive
1
H2_STREAM_TAG
10981-2714-3
H2_STREAM_ID
3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH
off
H2PUSH
off
HTTP2
on
SSL_TLS_SNI
www.stmartincabinetry.com
HTTPS
on
REDIRECT_STATUS
200
REDIRECT_H2_STREAM_TAG
10981-2714-3
REDIRECT_H2_STREAM_ID
3
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSH
off
REDIRECT_H2PUSH
off
REDIRECT_HTTP2
on
REDIRECT_SSL_TLS_SNI
www.stmartincabinetry.com
REDIRECT_HTTPS
on
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1713457285.2448
REQUEST_TIME
1713457285
PATH_INFO
/list/index.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/eordert.xaxuandou.com/application/
WXPAY_PATH
/www/wwwroot/eordert.xaxuandou.com/vendor
THINK_VERSION
5.0.24
THINK_START_TIME
1713457285.2452
THINK_START_MEM
409648
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/eordert.xaxuandou.com/thinkphp/
LIB_PATH
/www/wwwroot/eordert.xaxuandou.com/thinkphp/library/
CORE_PATH
/www/wwwroot/eordert.xaxuandou.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/eordert.xaxuandou.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/eordert.xaxuandou.com/
EXTEND_PATH
/www/wwwroot/eordert.xaxuandou.com/extend/
VENDOR_PATH
/www/wwwroot/eordert.xaxuandou.com/vendor/
RUNTIME_PATH
/www/wwwroot/eordert.xaxuandou.com/runtime/
LOG_PATH
/www/wwwroot/eordert.xaxuandou.com/runtime/log/
CACHE_PATH
/www/wwwroot/eordert.xaxuandou.com/runtime/cache/
TEMP_PATH
/www/wwwroot/eordert.xaxuandou.com/runtime/temp/
CONF_PATH
/www/wwwroot/eordert.xaxuandou.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false