[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:/www/web/jtjt_com/public_html/application/view/cases/130.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('/www/web/jtjt_com/pu...', ['namegc' => null, 'gccases' => object(Bootstrap), 'calgc' => [['id' => 41, 'sortname' => '工程展示', 'esortname' => '', ...], ['id' => 42, 'sortname' => '在建工程', 'esortname' => '', ...], ['id' => 43, 'sortname' => '开发项目', 'esortname' => '', ...]], ...], []) in View.php line 159
  3. at View->fetch('', ['namegc' => null, 'gccases' => object(Bootstrap), 'calgc' => [['id' => 41, 'sortname' => '工程展示', 'esortname' => '', ...], ['id' => 42, 'sortname' => '在建工程', 'esortname' => '', ...], ['id' => 43, 'sortname' => '开发项目', 'esortname' => '', ...]], ...], [], []) in Controller.php line 111
  4. at Controller->fetch() in Cases.php line 74
  5. at Cases->product('130') in Cases.php line 13
  6. at Cases->_empty('130')
  7. at ReflectionMethod->invokeArgs(object(Cases), ['130']) in App.php line 196
  8. at App::invokeMethod([object(Cases), '_empty'], ['130']) in App.php line 412
  9. at App::module([null, 'cases', '130'], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...], true) in App.php line 295
  10. at App::exec(['type' => 'module', 'module' => [null, 'cases', '130']], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...]) in App.php line 123
  11. at App::run() in start.php line 18
  12. at require('/www/web/jtjt_com/pu...') in index.php 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_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
marketingladders.com
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
REDIRECT_STATUS
200
SERVER_NAME
jtjt.com
SERVER_PORT
80
SERVER_ADDR
172.17.114.254
REMOTE_PORT
33150
REMOTE_ADDR
172.252.205.18
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/web/jtjt_com/public_html
DOCUMENT_URI
/index.php
REQUEST_URI
/cases/130.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=cases/130.html
SERVER_SOFTWARE
nginx
GATEWAY_INTERFACE
CGI/1.1
PATH_INFO
cases/130.html
SCRIPT_FILENAME
/www/web/jtjt_com/public_html/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1615031325.3546
REQUEST_TIME
1615031325
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/web/jtjt_com/public_html/application/
THINK_VERSION
5.0.9
THINK_START_TIME
1615031325.3549
THINK_START_MEM
366936
EXT
.php
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
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false

新蒲萄京下载app☛「官网进入」