[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('Public/base') in Template.php line 1034
  3. at Template->parseTemplateName('Public/base') in Template.php line 512
  4. at Template->think\{closure}('<{extend name="Publi...') in Template.php line 529
  5. at Template->parseExtend('<{extend name="Publi...') in Template.php line 369
  6. at Template->parse('<{extend name="Publi...') in Template.php line 333
  7. at Template->compiler('<{extend name="Publi...', '/home/l4eg6kanostb/p...') in Template.php line 182
  8. at Template->fetch('/home/l4eg6kanostb/p...', ['catid' => 0, 'id' => null, 'list' => [['id' => 25, 'name' => 'About us', 'url' => 'About-us', ...], ['id' => 53, 'name' => 'Industrial Timing Be...', 'url' => 'Timing-Belts', ...], ['id' => 54, 'name' => 'V-Belts', 'url' => 'V-Belts', ...], ...]], []) in Think.php line 86
  9. at Think->fetch('public/404', ['catid' => 0, 'id' => null, 'list' => [['id' => 25, 'name' => 'About us', 'url' => 'About-us', ...], ['id' => 53, 'name' => 'Industrial Timing Be...', 'url' => 'Timing-Belts', ...], ['id' => 54, 'name' => 'V-Belts', 'url' => 'V-Belts', ...], ...]], []) in View.php line 163
  10. at View->fetch('public/404', ['catid' => 0, 'list' => [['id' => 25, 'name' => 'About us', 'url' => 'About-us', ...], ['id' => 53, 'name' => 'Industrial Timing Be...', 'url' => 'Timing-Belts', ...], ['id' => 54, 'name' => 'V-Belts', 'url' => 'V-Belts', ...], ...]], [], []) in Controller.php line 120
  11. at Controller->fetch('public/404', ['catid' => 0, 'list' => [['id' => 25, 'name' => 'About us', 'url' => 'About-us', ...], ['id' => 53, 'name' => 'Industrial Timing Be...', 'url' => 'Timing-Belts', ...], ['id' => 54, 'name' => 'V-Belts', 'url' => 'V-Belts', ...], ...]]) in Base.php line 185
  12. at Base->_empty() in Product.php line 57
  13. at Product->doPro('product-35-511', 'url') in Product.php line 11
  14. at Product->html()
  15. at ReflectionMethod->invokeArgs(object(Product), []) in App.php line 343
  16. at App::invokeMethod([object(Product), 'html'], []) in App.php line 611
  17. at App::module(['home', 'Product', 'html'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  18. at App::exec(['type' => 'module', 'module' => ['home', 'Product', 'html'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  19. at App::run() in start.php line 19
  20. at require('/home/l4eg6kanostb/p...') in index.php line 20

Environment Variables

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

Server/Request Data

LSPHP_ENABLE_USER_INI
on
PATH
/usr/local/bin:/usr/bin:/bin
TEMP
/tmp
TMP
/tmp
TMPDIR
/tmp
PWD
/
HTTP_ACCEPT
*/*
CONTENT_LENGTH
0
HTTP_HOST
www.industrial-belt.com
HTTP_USER_AGENT
claudebot
HTTP_X_HTTPS
1
REDIRECT_UNIQUE_ID
ZgWbQs6CkYzODul11ZNqkAAAFhE
REDIRECT_SCRIPT_URL
/product/product-35-511.html
REDIRECT_SCRIPT_URI
https://www.industrial-belt.com/product/product-35-511.html
REDIRECT_USER_ID
5477767
REDIRECT_HTTPS
on
REDIRECT_SSL_TLS_SNI
www.industrial-belt.com
REDIRECT_HTTP2
on
REDIRECT_H2PUSH
off
REDIRECT_H2_PUSH
off
REDIRECT_H2_PUSHED
REDIRECT_H2_PUSHED_ON
REDIRECT_H2_STREAM_ID
3
REDIRECT_H2_STREAM_TAG
2303606-987-3
REDIRECT_STATUS
200
UNIQUE_ID
ZgWbQs6CkYzODul11ZNqkAAAFhE
SCRIPT_URL
/product/product-35-511.html
SCRIPT_URI
https://www.industrial-belt.com/product/product-35-511.html
USER_ID
5477767
HTTPS
on
SSL_TLS_SNI
www.industrial-belt.com
HTTP2
on
H2PUSH
off
H2_PUSH
off
H2_PUSHED
H2_PUSHED_ON
H2_STREAM_ID
3
H2_STREAM_TAG
2303606-987-3
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
www.industrial-belt.com
SERVER_ADDR
148.66.136.188
SERVER_PORT
443
REMOTE_ADDR
44.192.107.255
DOCUMENT_ROOT
/home/l4eg6kanostb/public_html
REQUEST_SCHEME
https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/home/l4eg6kanostb/public_html
SERVER_ADMIN
webmaster@industrial-belt.com
SCRIPT_FILENAME
/home/l4eg6kanostb/public_html/index.php
REMOTE_PORT
41828
REDIRECT_URL
/product/product-35-511.html
SERVER_PROTOCOL
HTTP/2.0
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/product/product-35-511.html
SCRIPT_NAME
/index.php
PATH_INFO
/product/product-35-511.html
PATH_TRANSLATED
redirect:/index.php/product/product-35-511.html/product-35-511.html
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711643458.1309
REQUEST_TIME
1711643458

Environment Variables

LSPHP_ENABLE_USER_INI
on
PATH
/usr/local/bin:/usr/bin:/bin
TEMP
/tmp
TMP
/tmp
TMPDIR
/tmp
PWD
/

ThinkPHP Constants

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