[0] TemplateNotFoundException in Think.phphtml line 82

模板文件不存在:/data/wwwroot/default/Home/index/view/c_h_business/aspx/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.phphtml line 82
  2. at Think->fetch('/data/wwwroot/defaul...', ['setinfo' => ['id' => 1, 'website' => 'beplay进入', 'seotitle' => 'beplay进入', ...], 'DHOST' => 'http://hengfengpaper...', 'topnavlist' => [['id' => 1, 'parent_id' => 0, 'c_names' => '首 页', ...], ['id' => 2, 'parent_id' => 0, 'c_names' => '关于我们', ...], ['id' => 3, 'parent_id' => 0, 'c_names' => 'beplay动态', ...], ...], ...], []) in View.phphtml line 163
  3. at View->fetch('', ['setinfo' => ['id' => 1, 'website' => 'beplay进入', 'seotitle' => 'beplay进入', ...], 'DHOST' => 'http://hengfengpaper...', 'topnavlist' => [['id' => 1, 'parent_id' => 0, 'c_names' => '首 页', ...], ['id' => 2, 'parent_id' => 0, 'c_names' => '关于我们', ...], ['id' => 3, 'parent_id' => 0, 'c_names' => 'beplay动态', ...], ...], ...], ['__ROOT__' => '', '__URL__' => '/index/c_h_business....', '__STATIC__' => '/static', ...], []) in Controller.phphtml line 120
  4. at Controller->fetch() in Error.phphtml line 129
  5. at Error->index()
  6. at ReflectionMethod->invokeArgs(object(Error), []) in App.phphtml line 343
  7. at App::invokeMethod([object(Error), 'index'], []) in App.phphtml line 611
  8. at App::module(['index', 'CHBusiness.aspx', null], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...], false) in App.phphtml line 456
  9. at App::exec(['type' => 'module', 'module' => ['index', 'CHBusiness.aspx', null]], ['app_host' => '', 'app_debug' =>true, 'app_trace' =>false, ...]) in App.phphtml line 139
  10. at App::run() in start.phphtml line 19
  11. at require('/data/wwwroot/defaul...') in index.phphtml line 41

Environment Variables

GET Data

liName
79
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
USER
www
HOME
/home/www
PATH_TRANSLATED
redirect:/index.phphtml/CHBusiness.aspx
PATH_INFO
/CHBusiness.aspx
SCRIPT_NAME
/index.phphtml
REQUEST_URI
/CHBusiness.aspx?liName=79
QUERY_STRING
liName=79
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
liName=79
REDIRECT_URL
/CHBusiness.aspx
REMOTE_PORT
40192
SCRIPT_FILENAME
/data/wwwroot/default/index.phphtml
SERVER_ADMIN
admin@example.com
CONTEXT_DOCUMENT_ROOT
/data/wwwroot/default
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/data/wwwroot/default
REMOTE_ADDR
156.255.44.25
SERVER_PORT
80
SERVER_ADDR
172.21.0.16
SERVER_NAME
sddycytz.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
LD_LIBRARY_PATH
/usr/local/apache/lib
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_HOST
sddycytz.com
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.phphtml/CHBusiness.aspx
REQUEST_TIME_FLOAT
1593680575.5657
REQUEST_TIME
1593680575
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/wwwroot/default/Home/
CONF_PATH
/data/wwwroot/default/Common/
APP_DEBUG
false
PUBLIC_PATH
/data/wwwroot/default/public/home/
RUNTIME_PATH
./Home/Temp/
APP_NAMESPACE
Home
BIND_MODULE
index
EXTEND_PATH
./extend/
THINK_VERSION
5.0.20
THINK_START_TIME
1593680575.5658
THINK_START_MEM
359584
EXT
.phphtml
DS
/
THINK_PATH
/data/wwwroot/default/thinkphp/
LIB_PATH
/data/wwwroot/default/thinkphp/library/
CORE_PATH
/data/wwwroot/default/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/default/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/default/
VENDOR_PATH
/data/wwwroot/default/vendor/
LOG_PATH
./Home/Temp/log/
CACHE_PATH
./Home/Temp/cache/
TEMP_PATH
./Home/Temp/temp/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
home88一必发网址兴发游戏网址千赢官方下载