[0] TemplateNotFoundException in Template.php line 1086

模板文件不存在:

  1. }
  2. $template = realpath($path . $template . '.' . ltrim($this->config['view_suffix'], '.'));
  3. }
  4. if (is_file($template)) {
  5. // 记录模板文件的更新时间
  6. $this->includeFile[$template] = filemtime($template);
  7. return $template;
  8. } else {
  9. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  10. }
  11. }
  12. /**
  13. * 按标签生成正则
  14. * @access private
  15. * @param string $tagName 标签名
  16. * @return string
  17. */

Call Stack

  1. in Template.php line 1086
  2. at Template->parseTemplateFile(false) in Template.php line 1046
  3. at Template->parseTemplateName('public:index') in Template.php line 524
  4. at Template->think\{closure}('{extend name="public...') in Template.php line 541
  5. at Template->parseExtend('{extend name="public...') in Template.php line 381
  6. at Template->parse('{extend name="public...') in Template.php line 345
  7. at Template->compiler('{extend name="public...', '/home/wwwroot/home.m...') in Template.php line 194
  8. at Template->fetch('/home/wwwroot/home.m...', ['domain_info' => ['id' => 45, 'company_id' => 24, 'templete_id' => 5, ...], 'company_info' => ['company_id' => 24, 'company_name' => '...', 'company_alias' => '讲文科技', ...], 'static_dir' => '/resource/5', ...], []) in Think.php line 84
  9. at Think->fetch('/home/wwwroot/home.m...', ['domain_info' => ['id' => 45, 'company_id' => 24, 'templete_id' => 5, ...], 'company_info' => ['company_id' => 24, 'company_name' => '...', 'company_alias' => '讲文科技', ...], 'static_dir' => '/resource/5', ...], []) in View.php line 163
  10. at View->fetch('index5/author', ['domain_info' => ['id' => 45, 'company_id' => 24, 'templete_id' => 5, ...], 'company_info' => ['company_id' => 24, 'company_name' => '...', 'company_alias' => '讲文科技', ...], 'static_dir' => '/resource/5', ...], ['__ROOT__' => '', '__URL__' => '/contribute/index.in...', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  11. at Controller->fetch('index5/author') in Index.php line 95
  12. at Index->author(object(Request), object(Bootstrap))
  13. at ReflectionMethod->invokeArgs(object(Index), [object(Request), object(User)]) in App.php line 343
  14. at App::invokeMethod([object(Index), 'author'], []) in App.php line 600
  15. at App::module(['contribute', 'index.index', 'author'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  16. at App::exec(['type' => 'module', 'module' => ['contribute', 'index.index', 'author'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  17. at App::run() in start.php line 19
  18. at require('/home/wwwroot/home.m...') in index.php line 37

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
www.jwkejibk.cn
HTTP_REFERER
http://www.jwkejibk.cn/author
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
PATH_INFO
//author
REDIRECT_STATUS
200
SERVER_NAME
www.jwkejibk.cn
SERVER_PORT
443
SERVER_ADDR
192.168.20.76
REMOTE_PORT
8730
REMOTE_ADDR
18.191.235.210
SERVER_SOFTWARE
nginx/1.10.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/home/wwwroot/home.manhua.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/author
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//author
SCRIPT_FILENAME
/home/wwwroot/home.manhua.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT
1714458983.9897
REQUEST_TIME
1714458983
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/home.manhua.com/public/../application/
THINK_VERSION
5.0.15
THINK_START_TIME
1714458983.9899
THINK_START_MEM
407072
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/home.manhua.com/thinkphp/
LIB_PATH
/home/wwwroot/home.manhua.com/thinkphp/library/
CORE_PATH
/home/wwwroot/home.manhua.com/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/home.manhua.com/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/home.manhua.com/
EXTEND_PATH
/home/wwwroot/home.manhua.com/extend/
VENDOR_PATH
/home/wwwroot/home.manhua.com/vendor/
RUNTIME_PATH
/home/wwwroot/home.manhua.com/runtime/
LOG_PATH
/home/wwwroot/home.manhua.com/runtime/log/
CACHE_PATH
/home/wwwroot/home.manhua.com/runtime/cache/
TEMP_PATH
/home/wwwroot/home.manhua.com/runtime/temp/
CONF_PATH
/home/wwwroot/home.manhua.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false