[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('include/top-product') in Template.php line 476
  4. at Template->think\{closure}('<!DOCTYPE html> <ht...') in Template.php line 492
  5. at Template->parseInclude('<!DOCTYPE html> <ht...') in Template.php line 373
  6. at Template->parse('<!DOCTYPE html> <ht...') in Template.php line 333
  7. at Template->compiler('<!DOCTYPE html> <ht...', '/www/wwwroot/ukorico...') in Template.php line 182
  8. at Template->fetch('/www/wwwroot/ukorico...', ['siteid' => 32267, 'module' => 'us', 'controller' => 'Group', ...], []) in Think.php line 86
  9. at Think->fetch('/www/wwwroot/ukorico...', ['siteid' => 32267, 'module' => 'us', 'controller' => 'Group', ...], []) in View.php line 163
  10. at View->fetch() in Group.php line 73
  11. at Group->search()
  12. at ReflectionMethod->invokeArgs(object(Group), []) in App.php line 343
  13. at App::invokeMethod([object(Group), 'search'], []) in App.php line 608
  14. at App::module(['us', 'Group', 'search'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  15. at App::exec(['type' => 'module', 'module' => ['us', 'Group', 'search']], ['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/ukorico...') in index.php line 7

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_REFERER
http://www.orico.cc/us/Group/search
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.orico.cc
PATH_INFO
/us/Group/search
REDIRECT_STATUS
200
SERVER_NAME
www.orico.cc
SERVER_PORT
443
SERVER_ADDR
172.31.211.17
REMOTE_PORT
52406
REMOTE_ADDR
3.85.63.190
SERVER_SOFTWARE
nginx/1.19.8
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/ukoricogroupcom/public
DOCUMENT_URI
/index.php
REQUEST_URI
/us/Group/search
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/us/Group/search
SCRIPT_FILENAME
/www/wwwroot/ukoricogroupcom/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710823976.2785
REQUEST_TIME
1710823976
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/ukoricogroupcom/public/../app/
THINK_VERSION
5.0.20
THINK_START_TIME
1710823976.2786
THINK_START_MEM
356624
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/ukoricogroupcom/thinkphp/
LIB_PATH
/www/wwwroot/ukoricogroupcom/thinkphp/library/
CORE_PATH
/www/wwwroot/ukoricogroupcom/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/ukoricogroupcom/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/ukoricogroupcom/
EXTEND_PATH
/www/wwwroot/ukoricogroupcom/extend/
VENDOR_PATH
/www/wwwroot/ukoricogroupcom/vendor/
RUNTIME_PATH
/www/wwwroot/ukoricogroupcom/runtime/
LOG_PATH
/www/wwwroot/ukoricogroupcom/runtime/log/
CACHE_PATH
/www/wwwroot/ukoricogroupcom/runtime/cache/
TEMP_PATH
/www/wwwroot/ukoricogroupcom/runtime/temp/
CONF_PATH
/www/wwwroot/ukoricogroupcom/public/../app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/ukoricogroupcom/addons/
HTMLPURIFIER_PREFIX
/www/wwwroot/ukoricogroupcom/vendor/ezyang/htmlpurifier/library
COUNTRY_CODE
US