[0] TemplateNotFoundException in Think.phphtml line 80

模板文件不存在:/www/web/jtjt_com/public_html/application/view/news/index.htm.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 80
  2. at Think->fetch('/www/web/jtjt_com/pu...', ['getConfig' => ['id' => 1, 'webname' => '南昌竞技宝集团', 'title' => '', ...], 'picpath' => '/public/uploads/', 'spath' => '/www/web/jtjt_com/pu...', ...], []) in View.phphtml line 159
  3. at View->fetch('', ['getConfig' => ['id' => 1, 'webname' => '南昌竞技宝集团', 'title' => '', ...], 'picpath' => '/public/uploads/', 'spath' => '/www/web/jtjt_com/pu...', ...], [], []) in Controller.phphtml line 111
  4. at Controller->fetch() in News.phphtml line 50
  5. at News->center('index.htm') in News.phphtml line 17
  6. at News->_empty('index.htm')
  7. at ReflectionMethod->invokeArgs(object(News), ['index.htm']) in App.phphtml line 196
  8. at App::invokeMethod([object(News), '_empty'], ['index.htm']) in App.phphtml line 412
  9. at App::module([null, 'news', 'index.htm'], ['app_debug' =>true, 'app_trace' =>false, 'app_status' => '', ...], true) in App.phphtml line 295
  10. at App::exec(['type' => 'module', 'module' => [null, 'news', 'index.htm']], ['app_debug' =>true, 'app_trace' =>false, 'app_status' => '', ...]) in App.phphtml line 123
  11. at App::run() in start.phphtml line 18
  12. at require('/www/web/jtjt_com/pu...') in index.phphtml line 17

Environment Variables

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

Server/Request Data

USER
www
HOME
/dev/null
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_HOST
www.cxjifu.com
REDIRECT_STATUS
200
SERVER_NAME
jtjt.com
SERVER_PORT
80
SERVER_ADDR
172.17.114.254
REMOTE_PORT
50806
REMOTE_ADDR
154.222.79.147
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/web/jtjt_com/public_html
DOCUMENT_URI
/index.phphtml
REQUEST_URI
/news/index.htm
SCRIPT_NAME
/index.phphtml
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=news/index.htm
SERVER_SOFTWARE
nginx
GATEWAY_INTERFACE
CGI/1.1
PATH_INFO
news/index.htm
SCRIPT_FILENAME
/www/web/jtjt_com/public_html/index.phphtml
FCGI_ROLE
RESPONDER
PHP_SELF
/index.phphtml
REQUEST_TIME_FLOAT
1596878905.855
REQUEST_TIME
1596878905
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/web/jtjt_com/public_html/application/
THINK_VERSION
5.0.9
THINK_START_TIME
1596878905.8554
THINK_START_MEM
366936
EXT
.phphtml
DS
/
THINK_PATH
/www/web/jtjt_com/public_html/thinkphp/
LIB_PATH
/www/web/jtjt_com/public_html/thinkphp/library/
CORE_PATH
/www/web/jtjt_com/public_html/thinkphp/library/think/
TRAIT_PATH
/www/web/jtjt_com/public_html/thinkphp/library/traits/
ROOT_PATH
/www/web/jtjt_com/public_html/
EXTEND_PATH
/www/web/jtjt_com/public_html/extend/
VENDOR_PATH
/www/web/jtjt_com/public_html/vendor/
RUNTIME_PATH
/www/web/jtjt_com/public_html/runtime/
LOG_PATH
/www/web/jtjt_com/public_html/runtime/log/
CACHE_PATH
/www/web/jtjt_com/public_html/runtime/cache/
TEMP_PATH
/www/web/jtjt_com/public_html/runtime/temp/
CONF_PATH
/www/web/jtjt_com/public_html/application/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
龙8国际app下载龙8娱乐官方网站手机版龙8国际app下载