[0] TemplateNotFoundException in Template.php line 1074

模板文件不存在:

  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 1074
  2. at Template->parseTemplateFile(false) in Template.php line 1034
  3. at Template->parseTemplateName('index@public/bord') in Template.php line 476
  4. at Template->think\{closure}(' ...') in Template.php line 492
  5. at Template->parseInclude(' ...') in Template.php line 373
  6. at Template->parse(' ...') in Template.php line 333
  7. at Template->compiler(' ...', '/home/zslx0s3umzpsul...') in Template.php line 182
  8. at Template->fetch('/home/zslx0s3umzpsul...', ['sites' => object(Site), 'title' => '...', 'info' => object(SpecialContent)], []) in Think.php line 86
  9. at Think->fetch('/home/zslx0s3umzpsul...', ['sites' => object(Site), 'title' => '...', 'info' => object(SpecialContent)], []) in View.php line 164
  10. at View->fetch('xbn@index/show_pc_bs', ['sites' => object(Site), 'title' => '...', 'info' => object(SpecialContent)], ['__ROOT__' => '', '__URL__' => '/m/index', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  11. at Controller->fetch('xbn@index/show_pc_bs', ['title' => '...', 'info' => object(SpecialContent)]) in Index.php line 79
  12. at Index->m('275')
  13. at ReflectionMethod->invokeArgs(object(Index), ['275']) in App.php line 343
  14. at App::invokeMethod([object(Index), 'm'], []) in App.php line 611
  15. at App::module(['m', 'index', 'm'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  16. at App::exec(['type' => 'module', 'module' => ['m', 'index', 'm'], '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/zslx0s3umzpsul...') in index.php line 17

Environment Variables

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

Server/Request Data

REDIRECT_REDIRECT_UNIQUE_ID
ZgXN8FLy@N5j-V73ItB-JAAAAAQ
REDIRECT_REDIRECT_PHPRC
/home/zslx0s3umzpsulmx40usd33u/others
REDIRECT_REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
ZgXN8FLy@N5j-V73ItB-JAAAAAQ
REDIRECT_PHPRC
/home/zslx0s3umzpsulmx40usd33u/others
REDIRECT_HANDLER
php-cgi
REDIRECT_STATUS
200
UNIQUE_ID
ZgXN8FLy@N5j-V73ItB-JAAAAAQ
PHPRC
/home/zslx0s3umzpsulmx40usd33u/others
HTTP_X_FORWARDED_FOR
44.200.145.114
HTTP_X_REAL_IP
211.149.140.180
HTTP_HOST
www.zyxbn.com
HTTP_CONNECTION
close
HTTP_ACCEPT_ENCODING
gzip
HTTP_X_FORWARDED_PROTO
http
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
<address>Apache Server at www.zyxbn.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.zyxbn.com
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
44.200.145.114
DOCUMENT_ROOT
/home/zslx0s3umzpsulmx40usd33u/wwwroot/
REQUEST_SCHEME
http
CONTEXT_PREFIX
/php-run-as-cgi
CONTEXT_DOCUMENT_ROOT
/usr/php7.2/bin
SERVER_ADMIN
webmaster@zslx0s3u
SCRIPT_FILENAME
/home/zslx0s3umzpsulmx40usd33u/wwwroot/index.php
REMOTE_PORT
42258
REDIRECT_URL
/index.php/xbn/special/2020/0318/275.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/xbn/special/2020/0318/275.html
SCRIPT_NAME
/index.php
PATH_INFO
/xbn/special/2020/0318/275.html
PATH_TRANSLATED
/home/zslx0s3umzpsulmx40usd33u/wwwroot/xbn/special/2020/0318/275.html
ORIG_PATH_INFO
/index.php/xbn/special/2020/0318/275.html
ORIG_SCRIPT_NAME
/php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME
/usr/php7.2/bin/php-cgi
ORIG_PATH_TRANSLATED
/home/zslx0s3umzpsulmx40usd33u/wwwroot/index.php/xbn/special/2020/0318/275.html
PHP_SELF
/index.php/xbn/special/2020/0318/275.html
REQUEST_TIME_FLOAT
1711656432.9649
REQUEST_TIME
1711656432
Environment Variables
empty

ThinkPHP Constants

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