[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/www/wwwroot/zjhfxcl.com/template/huafeng/cn/jobs_details.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/zjhfxcl...', ['site_id' => '11', 'site_lang' => 'cn', 'site_name' => '中文(简体)', ...], []) in View.php line 163
  3. at View->fetch('/www/wwwroot/zjhfxcl...', [], [], []) in Controller.php line 120
  4. at Controller->fetch('/www/wwwroot/zjhfxcl...') in CnController.php line 34
  5. at cnController->_empty()
  6. at ReflectionMethod->invokeArgs(object(cnController), []) in App.php line 343
  7. at App::invokeMethod([object(cnController), '_empty'], ['jobs']) in App.php line 611
  8. at App::module(['index', 'Cn', 'jobs'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  9. at App::exec(['type' => 'module', 'module' => ['index', 'Cn', 'jobs'], '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/zjhfxcl...') in index.php line 22

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
REDIRECT_PATH_INFO
jobs/details-bo-li-gang-che-jian-cao-zuo-gong-18.html
REDIRECT_STATUS
200
proxy-nokeepalive
1
HTTP_USER_AGENT
Mozilla/5.0 (compatible; DataForSeoBot/1.0; +https://dataforseo.com/dataforseo-bot)
HTTP_HOST
www.zjhfxcl.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH
/www/server/apache/lib
SERVER_SIGNATURE
Apache Server at www.zjhfxcl.com Port 80
SERVER_SOFTWARE
Apache
SERVER_NAME
www.zjhfxcl.com
SERVER_ADDR
172.20.91.76
SERVER_PORT
80
REMOTE_ADDR
170.130.200.14
DOCUMENT_ROOT
/www/wwwroot/zjhfxcl.com
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/zjhfxcl.com
SERVER_ADMIN
webmaster@example.com
SCRIPT_FILENAME
/www/wwwroot/zjhfxcl.com/index.php
REMOTE_PORT
34960
REDIRECT_URL
/jobs/details-bo-li-gang-che-jian-cao-zuo-gong-18.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/jobs/details-bo-li-gang-che-jian-cao-zuo-gong-18.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732143320.1179
REQUEST_TIME
1732143320
PATH_INFO
jobs/details-bo-li-gang-che-jian-cao-zuo-gong-18.html
Environment Variables
empty

ThinkPHP Constants

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