(Unix) PHP/7.1.31 X-Powered-By: PHP/7.1.31 Access-Control-Allow-Origin: * Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 8da9 System Error

[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:/data/yaguan/app/home/view/_list.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('/data/yaguan/app/hom...', ['action' => 'index', 'controller' => 'e_nhytd', 'lang' => 'zh-cn', ...], []) in View.php line 163
  3. at View->fetch('_list', ['action' => 'index', 'controller' => 'e_nhytd', 'lang' => 'zh-cn', ...], ['__ROOT__' => '', '__URL__' => '/home/e_nhytd', '__STATIC__' => '/public/static', ...], []) in Controller.php line 120
  4. at Controller->fetch('_list') in EmptyController.php line 78
  5. at EmptyController->index()
  6. at ReflectionMethod->invokeArgs(object(EmptyController), []) in App.php line 346
  7. at App::invokeMethod([object(EmptyController), 'index'], []) in App.php line 599
  8. at App::module(['home', 'ENhytd', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 460
  9. at App::exec(['type' => 'module', 'module' => ['home', 'ENhytd', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 142
  10. at App::run() in start.php line 19
  11. at require('/data/yaguan/think/s...') in index.php line 27

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

_vstime
1602860151
Session
empty

Server/Request Data

REDIRECT_STATUS
200
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_HOST
www.guanya.com.cn
HTTP_ACCEPT
*/*
HTTP_REFERER
/
HTTP_COOKIE
_vstime=1602860151
PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/php/bin
LD_LIBRARY_PATH
/usr/local/apache2//lib
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache/2.4.46 (Unix) PHP/7.1.31
SERVER_NAME
www.guanya.com.cn
SERVER_ADDR
10.0.1.80
SERVER_PORT
80
REMOTE_ADDR
103.80.16.42
DOCUMENT_ROOT
/data/yaguan/
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/data/yaguan/
SERVER_ADMIN
you@example.com
SCRIPT_FILENAME
/data/yaguan/index.php
REMOTE_PORT
45990
REDIRECT_URL
/ENhytd.html
REDIRECT_QUERY_STRING
s=ENhytd.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
s=ENhytd.html
REQUEST_URI
/ENhytd.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1602859549.642
REQUEST_TIME
1602859549
PATH_INFO
ENhytd.html
Environment Variables
empty

ThinkPHP Constants

__PUBLIC__
/public
BASE_PATH
/data/yaguan
APP_PATH
/data/yaguan/app/
DATA_PATH
/data/yaguan/runtime/Data/
PLUGIN_PATH
/data/yaguan/plugins/
THINK_VERSION
5.0.15
THINK_START_TIME
1602859549.6439
THINK_START_MEM
385072
EXT
.php
DS
/
THINK_PATH
/data/yaguan/think/
LIB_PATH
/data/yaguan/think/library/
CORE_PATH
/data/yaguan/think/library/think/
TRAIT_PATH
/data/yaguan/think/library/traits/
ROOT_PATH
/data/yaguan/
EXTEND_PATH
/data/yaguan/extend/
PLUGINS_PATH
/data/yaguan/plugins/
VENDOR_PATH
/data/yaguan/vendor/
RUNTIME_PATH
/data/yaguan/runtime/
LOG_PATH
/data/yaguan/runtime/log/
CACHE_PATH
/data/yaguan/runtime/cache/
TEMP_PATH
/data/yaguan/runtime/temp/
CONF_PATH
/data/yaguan/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
UPLOAD_PATH
./Uploads/
MAX_MENU_LENGTH
3
MAX_SUB_MENU_LENGTH
5
MODULE_NAME
e_nhytd
ACTION_NAME
index
DBNAME
e_nhytd
XML 地图 | Sitemap 地图
0