[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('default/left') in Template.php line 476
  4. at Template->think\{closure}('<!DOCTYPE html PUBLI...') in Template.php line 492
  5. at Template->parseInclude('<!DOCTYPE html PUBLI...') in Template.php line 373
  6. at Template->parse('<!DOCTYPE html PUBLI...') in Template.php line 333
  7. at Template->compiler('<!DOCTYPE html PUBLI...', '/www/wwwroot/jmiskf....') in Template.php line 182
  8. at Template->fetch('./template/default/s...', ['site' => ['siteurl' => 'http://www.jmiskf.co...', 'path' => 'htmll', 'logo' => '/uploads/20190325\7b...', ...], 'temp' => '/template/default', 'links' => [['link_id' => 7, 'link_title' => '瑞典SKF轴承', 'link_url' => 'http://www.skf.com', ...]], ...], []) in Think.php line 86
  9. at Think->fetch('./template/default/s...', ['site' => ['siteurl' => 'http://www.jmiskf.co...', 'path' => 'htmll', 'logo' => '/uploads/20190325\7b...', ...], 'temp' => '/template/default', 'links' => [['link_id' => 7, 'link_title' => '瑞典SKF轴承', 'link_url' => 'http://www.skf.com', ...]], ...], []) in View.php line 163
  10. at View->fetch('./template/default/s...') in Show.php line 34
  11. at Show->index('iko_xh', '76025')
  12. at ReflectionMethod->invokeArgs(object(Show), ['iko_xh', '76025']) in App.php line 343
  13. at App::invokeMethod([object(Show), 'index'], []) in App.php line 611
  14. at App::module(['index', 'show', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  15. at App::exec(['type' => 'module', 'module' => ['index', 'show', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  16. at App::run() in start.php line 19
  17. at require('/www/wwwroot/jmiskf....') in index.php line 18

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.jmiskf.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/iko_xh/76025.html
REDIRECT_STATUS
200
SERVER_NAME
jmiskf.com
SERVER_PORT
80
SERVER_ADDR
172.21.55.18
REMOTE_PORT
41246
REMOTE_ADDR
52.90.50.252
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/jmiskf.com
DOCUMENT_URI
/index.php
REQUEST_URI
/iko_xh/76025.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/iko_xh/76025.html
SCRIPT_FILENAME
/www/wwwroot/jmiskf.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711649359.0385
REQUEST_TIME
1711649359
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/jmiskf.com/zmapp/
ROOTDIR
/www/wwwroot/jmiskf.com/
THINK_VERSION
5.0.24
THINK_START_TIME
1711649359.0389
THINK_START_MEM
404256
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/jmiskf.com/zmphp/
LIB_PATH
/www/wwwroot/jmiskf.com/zmphp/library/
CORE_PATH
/www/wwwroot/jmiskf.com/zmphp/library/think/
TRAIT_PATH
/www/wwwroot/jmiskf.com/zmphp/library/traits/
ROOT_PATH
/www/wwwroot/jmiskf.com/
EXTEND_PATH
/www/wwwroot/jmiskf.com/extend/
VENDOR_PATH
/www/wwwroot/jmiskf.com/vendor/
RUNTIME_PATH
/www/wwwroot/jmiskf.com/./data/runtime/
LOG_PATH
/www/wwwroot/jmiskf.com/./data/runtime/log/
CACHE_PATH
/www/wwwroot/jmiskf.com/./data/runtime/cache/
TEMP_PATH
/www/wwwroot/jmiskf.com/./data/runtime/temp/
CONF_PATH
/www/wwwroot/jmiskf.com/zmapp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false