[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('portal@news/left') in Template.php line 1034
  3. at Template->parseTemplateName('portal@news/left') in Template.php line 476
  4. at Template->think\{closure}('<include file="publi...') 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/app/data/runtim...') in Template.php line 182
  8. at Template->fetch('themes/qc/page/conta...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '万博manbetx苹果app_抑尘车_...', 'site_seo_keywords' => '...', ...], 'hotTags' => [['id' => 1980, 'status' => 1, 'recommended' => 0, ...], ['id' => 1986, 'status' => 1, 'recommended' => 0, ...], ['id' => 1983, 'status' => 1, 'recommended' => 0, ...], ...], 'AticleCategories' => [['id' => 173, 'parent_id' => 0, 'post_count' => 0, ...], ['id' => 174, 'parent_id' => 0, 'post_count' => 0, ...], ['id' => 175, 'parent_id' => 0, 'post_count' => 0, ...], ...], ...], []) in Think.php line 86
  9. at Think->fetch('themes/qc/page/conta...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '万博manbetx苹果app_抑尘车_...', 'site_seo_keywords' => '...', ...], 'hotTags' => [['id' => 1980, 'status' => 1, 'recommended' => 0, ...], ['id' => 1986, 'status' => 1, 'recommended' => 0, ...], ['id' => 1983, 'status' => 1, 'recommended' => 0, ...], ...], 'AticleCategories' => [['id' => 173, 'parent_id' => 0, 'post_count' => 0, ...], ['id' => 174, 'parent_id' => 0, 'post_count' => 0, ...], ['id' => 175, 'parent_id' => 0, 'post_count' => 0, ...], ...], ...], []) in View.php line 156
  10. at View->fetch('themes/qc/page/conta...', [], [], []) in Controller.php line 115
  11. at Controller->fetch('themes/qc/page/conta...', [], [], []) in HomeBaseController.php line 97
  12. at HomeBaseController->fetch('../page/contact') in HomeController.php line 178
  13. at HomeController->Show('../page/contact') in PageController.php line 51
  14. at PageController->index()
  15. at ReflectionMethod->invokeArgs(object(PageController), []) in App.php line 343
  16. at App::invokeMethod([object(PageController), 'index'], []) in App.php line 611
  17. at App::module(['portal', 'page', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], false) in App.php line 457
  18. at App::exec(['type' => 'module', 'module' => ['portal', 'page', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
  19. at App::run() in index.php line 53

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

__user__
[]

Server/Request Data

TEMP
/__temp__
TMPDIR
/__temp__
TMP
/__temp__
HOSTNAME
vh1032681
HOME
/
USER
vh1032681
FCGI_ROLE
RESPONDER
QUERY_STRING
s=/contact.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/contact.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
https
HTTPS
on
HTTP_HOST
www.hbxzcc.com
HTTP_PROXYNAME
suduserver
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.16.1
REMOTE_ADDR
161.123.164.225
REMOTE_PORT
20002
SERVER_ADDR
220.167.104.17
SERVER_PORT
443
SERVER_NAME
www.hbxzcc.com
REDIRECT_STATUS
200
SCRIPT_FILENAME
/www/index.php
PATH_INFO
/contact.html
PATH_TRANSLATED
/www
HTTP_X_REAL_IP
161.123.164.225
HTTP_X_FORWARDED_FOR
161.123.164.225
HTTP_CLIENT_IP
161.123.164.225
HTTP_CLIENT_PORT
20002
HTTP_PORT
443
HTTP_SSL
on
HTTP_FROM_HTTPS
on
HTTP_X_FORWARDED_PROTO
https
HTTP_X_SCHEME
https
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1603462322.2283
REQUEST_TIME
1603462322
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
ROOT
/www
CMF_ROOT
/www/app/
APP_PATH
/www/app/app/
APP_UPLOAD
/www/upload/
WEB_URL
CMF_PATH
/www/app/simplewind/cmf/
PLUGINS_PATH
/www/app//plugins/
EXTEND_PATH
/www/app/simplewind/extend/
VENDOR_PATH
/www/app/simplewind/vendor/
__NOPHOTO__
/static/images/logo-nophoto.png
RUNTIME_PATH
/www/app/data/runtime/
THINKCMF_VERSION
5.0.180901
THINK_VERSION
5.0.20
THINK_START_TIME
1603462322.2289
THINK_START_MEM
274672
EXT
.php
DS
/
THINK_PATH
/www/app/simplewind/thinkphp/
LIB_PATH
/www/app/simplewind/thinkphp/library/
CORE_PATH
/www/app/simplewind/thinkphp/library/think/
TRAIT_PATH
/www/app/simplewind/thinkphp/library/traits/
ROOT_PATH
/www/app/
LOG_PATH
/www/app/data/runtime/log/
CACHE_PATH
/www/app/data/runtime/cache/
TEMP_PATH
/www/app/data/runtime/temp/
CONF_PATH
/www/app/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/app/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.5
DOMDOCUMENT
DOMDocument
DOMELEMENT
DOMElement
DOMNODELIST
DOMNodeList
DOMNODE
DOMNode
__TMPL__
/themes//qc
0.174838s