[0] TemplateNotFoundException in Think.php line 86

模板文件不存在:D:\wwwroot\www.lzfire.com\public/themes/lzfire/portal\article.html

  1. public function fetch($template, $data = [], $config = [])
  2. {
  3. if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
  4. // 获取模板文件名
  5. $template = $this->parseTemplate($template);
  6. }
  7. // 模板不存在 抛出异常
  8. if (!is_file($template)) {
  9. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  10. }
  11. // 记录视图信息
  12. $this->app
  13. ->log('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]');
  14. $this->template->fetch($template, $data, $config);
  15. }

Call Stack

  1. in Think.php line 86
  2. at Think->fetch('D:\wwwroot\www.lzfir...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'article' => object(PortalPostModel), ...], []) in View.php line 192
  3. at View->fetch('D:\wwwroot\www.lzfir...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'category' => object(PortalCategoryModel), 'article' => object(PortalPostModel), ...], []) in HomeBaseController.php line 86
  4. at HomeBaseController->fetch('D:\wwwroot\www.lzfir...') in ArticleController.php line 81
  5. at ArticleController->index()
  6. at ReflectionMethod->invokeArgs(object(ArticleController), []) in Container.php line 395
  7. at Container->invokeReflectMethod(object(ArticleController), object(ReflectionMethod), ['id' => '16']) in Module.php line 131
  8. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  9. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  10. at Middleware->think\{closure}(object(Request))
  11. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  12. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  13. at Module->exec() in Dispatch.php line 168
  14. at Dispatch->run() in App.php line 484
  15. at App->think\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request)) in App.php line 487
  20. at App->run() in index.php line 33

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
_FCGI_X_PIPE_
\\.\pipe\IISFCGI-c6efb071-7131-42fb-b67e-b9c26b6940f5
PHP_FCGI_MAX_REQUESTS
10000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\www.lzfire.com\www.lzfire.com.config
APP_POOL_ID
www.lzfire.com
BT_PANEL
D:\BtSoft\panel
BT_PYTHON
C:\Program Files\python
BT_SETUP
D:\BtSoft
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
iZ8vb62jf4kqs4Z
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
2
OS
Windows_NT
Path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\python;C:\Program Files\python\Scripts;;D:\BtSoft\panel\script;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
5504
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
UNRAR_LIB_PATH
C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN
WORKGROUP
USERNAME
iZ8vb62jf4kqs4Z$
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/portal/article/index/id/16.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/7.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.lzfire.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
D:\wwwroot\www.lzfire.com\public\index.php
REQUEST_URI
/portal/article/index/id/16.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
20000
REMOTE_HOST
154.221.145.181
REMOTE_ADDR
154.221.145.181
QUERY_STRING
PATH_TRANSLATED
D:\wwwroot\www.lzfire.com\public\index.php\portal\article\index\id\16.html
PATH_INFO
/portal/article/index/id/16.html
LOGON_USER
LOCAL_ADDR
172.26.30.177
INSTANCE_META_PATH
/LM/W3SVC/3
INSTANCE_NAME
WWW.LZFIRE.COM
INSTANCE_ID
3
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
D:\wwwroot\www.lzfire.com\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\www.lzfire.com\public\
APPL_MD_PATH
/LM/W3SVC/3/ROOT
IIS_UrlRewriteModule
7.1.0871.0
UNENCODED_URL
/portal/article/index/id/16.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/portal/article/index/id/16.html
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.lzfire.com
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/portal/article/index/id/16.html
REQUEST_TIME_FLOAT
1586404961.9433
REQUEST_TIME
1586404961
Environment Variablesempty
ThinkPHP Constants
APP_DEBUG
true
CMF_ROOT
D:\wwwroot\www.lzfire.com/
CMF_DATA
D:\wwwroot\www.lzfire.com/data/
APP_PATH
D:\wwwroot\www.lzfire.com/app/
WEB_ROOT
D:\wwwroot\www.lzfire.com\public/
HTMLPURIFIER_PREFIX
D:\wwwroot\www.lzfire.com\vendor\ezyang\htmlpurifier\library
0.156250s