[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@head') in Template.php line 1034
  3. at Template->parseTemplateName('public@head') in Template.php line 476
  4. at Template->think\{closure}('<!DOCTYPE html> <htm...') in Template.php line 492
  5. at Template->parseInclude('<!DOCTYPE html> <htm...') in Template.php line 373
  6. at Template->parse('<!DOCTYPE html> <htm...') in Template.php line 333
  7. at Template->compiler('<!DOCTYPE html> <htm...', 'D:\wwwroot\schhjd\ww...') in Template.php line 182
  8. at Template->fetch('themes/schhjd/portal...', ['site_info' => ['site_name' => 'ThinkCMF内容管理...', 'site_seo_title' => 'ThinkCMF内容管理...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'theme_vars' => [], ...], []) in Think.php line 86
  9. at Think->fetch('themes/schhjd/portal...', ['site_info' => ['site_name' => 'ThinkCMF内容管理...', 'site_seo_title' => 'ThinkCMF内容管理...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'theme_vars' => [], ...], []) in View.php line 163
  10. at View->fetch('themes/schhjd/portal...', [], [], []) in Controller.php line 120
  11. at Controller->fetch('themes/schhjd/portal...', [], [], []) in HomeBaseController.php line 88
  12. at HomeBaseController->fetch('/default/list') in ListController.php line 29
  13. at ListController->index()
  14. at ReflectionMethod->invokeArgs(object(ListController), []) in App.php line 343
  15. at App::invokeMethod([object(ListController), 'index'], []) in App.php line 606
  16. at App::module(['portal', 'list', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  17. at App::exec(['type' => 'module', 'module' => ['portal', 'list', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  18. at App::run() in index.php line 41

Environment Variables

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

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-48b17446-94e6-4153-9912-62bf4bc166fa
PHPRC
D:\SOFT_PHP_PACKAGE\php5.5
PHP_FCGI_MAX_REQUESTS
10000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\schhjd\schhjd.config
APP_POOL_ID
schhjd
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
EBS-36670
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
4
OS
Windows_NT
Path
D:\SOFT_PHP_PACKAGE\php;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\SOFT_PHP_PACKAGE\mysql5.6\bin;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn";
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
4f01
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
EBS-36670$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
windows_tracing_flags
3
windows_tracing_logfile
C:\BVTBin\Tests\installpackage\csilogfile.log
ORIG_PATH_INFO
/index.php
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/7.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.schhjd.cn
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\wwwroot\schhjd\wwwroot\public\index.php
REQUEST_URI
/portal/list/index/id/12.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
20002
REMOTE_HOST
154.208.124.215
REMOTE_ADDR
154.208.124.215
QUERY_STRING
s=portal/list/index/id/12.html
PATH_TRANSLATED
d:\wwwroot\schhjd\wwwroot\public\index.php
LOGON_USER
LOCAL_ADDR
211.149.227.59
INSTANCE_META_PATH
/LM/W3SVC/10030
INSTANCE_NAME
SCHHJD
INSTANCE_ID
10030
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\wwwroot\schhjd\wwwroot\public
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\wwwroot\schhjd\wwwroot\public\
APPL_MD_PATH
/LM/W3SVC/10030/ROOT
IIS_UrlRewriteModule
7.1.0871.0
UNENCODED_URL
/portal/list/index/id/12.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/portal/list/index/id/12.html
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.schhjd.cn
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1590438258.0078
REQUEST_TIME
1590438258
PATH_INFO
portal/list/index/id/12.html
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
D:\wwwroot\schhjd\wwwroot\public/../
APP_PATH
D:\wwwroot\schhjd\wwwroot\public/../app/
CMF_PATH
D:\wwwroot\schhjd\wwwroot\public/../simplewind/cmf/
PLUGINS_PATH
D:\wwwroot\schhjd\wwwroot\public/plugins/
EXTEND_PATH
D:\wwwroot\schhjd\wwwroot\public/../simplewind/extend/
VENDOR_PATH
D:\wwwroot\schhjd\wwwroot\public/../simplewind/vendor/
RUNTIME_PATH
D:\wwwroot\schhjd\wwwroot\public/../data/runtime/
THINKCMF_VERSION
5.0.180626
THINK_VERSION
5.0.20
THINK_START_TIME
1590438258.0078
THINK_START_MEM
154056
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\schhjd\wwwroot\simplewind\thinkphp\
LIB_PATH
D:\wwwroot\schhjd\wwwroot\simplewind\thinkphp\library\
CORE_PATH
D:\wwwroot\schhjd\wwwroot\simplewind\thinkphp\library\think\
TRAIT_PATH
D:\wwwroot\schhjd\wwwroot\simplewind\thinkphp\library\traits\
ROOT_PATH
D:\wwwroot\schhjd\wwwroot\
LOG_PATH
D:\wwwroot\schhjd\wwwroot\public/../data/runtime/log\
CACHE_PATH
D:\wwwroot\schhjd\wwwroot\public/../data/runtime/cache\
TEMP_PATH
D:\wwwroot\schhjd\wwwroot\public/../data/runtime/temp\
CONF_PATH
D:\wwwroot\schhjd\wwwroot\public/../app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
HTMLPURIFIER_PREFIX
D:\wwwroot\schhjd\wwwroot\simplewind\vendor\ezyang\htmlpurifier\library
QINIU_FUNCTIONS_VERSION
7.2.5