[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:themes/simpleboot3/portal\list.html

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

Call Stack

  1. in Think.php line 82
  2. at Think->fetch('themes/simpleboot3/p...', ['site_info' => ['site_name' => '新之联', 'site_seo_title' => '', 'site_seo_keywords' => 'UNIFAIR', ...], 'site_id' => 1, 'year' => '2020', ...], []) in View.php line 163
  3. at View->fetch('themes/simpleboot3/p...', [], [], []) in Controller.php line 120
  4. at Controller->fetch('themes/simpleboot3/p...', [], [], []) in HomeBaseController.php line 137
  5. at HomeBaseController->fetch('/list') in ListController.php line 44
  6. at ListController->index()
  7. at ReflectionMethod->invokeArgs(object(ListController), []) in App.php line 343
  8. at App::invokeMethod([object(ListController), 'index'], []) in App.php line 611
  9. at App::module(['portal', 'List', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  10. at App::exec(['type' => 'module', 'module' => ['portal', 'List', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  11. at App::run() in index.php line 68

Environment Variables

GET Data

InNews_html
POST Data
empty
Files
empty

Cookies

SITE_ID
1
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-14ca39ec-bda7-4158-9ec0-5208a803c9cb
PHP_FCGI_MAX_REQUESTS
1000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\unif8v2air\unif8v2air.config
APP_POOL_ID
unif8v2air
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
5BTFP
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
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 6 Stepping 3, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
0603
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
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
5BTFP$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/News/
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/8.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.unifair.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
C:\www\www.unifair.com\index.php
REQUEST_URI
/News/?InNews.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
20003
REMOTE_HOST
154.81.92.249
REMOTE_ADDR
154.81.92.249
QUERY_STRING
InNews.html
PATH_TRANSLATED
C:\www\www.unifair.com\index.php\News\
PATH_INFO
/News/
LOGON_USER
LOCAL_ADDR
122.14.193.241
INSTANCE_META_PATH
/LM/W3SVC/1
INSTANCE_NAME
UNIF8V2AIR
INSTANCE_ID
1
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
C:\www\www.unifair.com
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
C:\www\www.unifair.com\
APPL_MD_PATH
/LM/W3SVC/1/ROOT
IIS_UrlRewriteModule
7,1,1993,2336
WEBSOCKET_VERSION
13
UNENCODED_URL
/News/?InNews.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/News/?InNews.html
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.unifair.com
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/News/
REQUEST_TIME_FLOAT
1582799032.3031
REQUEST_TIME
1582799032
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
C:\www\www.unifair.com/
APP_PATH
C:\www\www.unifair.com/app/
CMF_PATH
C:\www\www.unifair.com/simplewind/cmf/
PLUGINS_PATH
C:\www\www.unifair.com/plugins/
EXTEND_PATH
C:\www\www.unifair.com/simplewind/extend/
VENDOR_PATH
C:\www\www.unifair.com/simplewind/vendor/
RUNTIME_PATH
C:\www\www.unifair.com/data/runtime/
THINKCMF_VERSION
5.0.170927
SO
is_top DESC,list_order DESC,published_time DESC,post_id DESC
GSO
is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC
TMPLSO
order:is_top DESC,list_order DESC,published_time DESC,post_id DESC;
TMPLGSO
order:is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC;
WEB_ROOT
C:/www/www.unifair.com/
TPL_PHONE
false
IS_WAP
false
THINK_VERSION
5.0.24
THINK_START_TIME
1582799032.3048
THINK_START_MEM
280000
EXT
.php
DS
\
THINK_PATH
C:\www\www.unifair.com\simplewind\thinkphp\
LIB_PATH
C:\www\www.unifair.com\simplewind\thinkphp\library\
CORE_PATH
C:\www\www.unifair.com\simplewind\thinkphp\library\think\
TRAIT_PATH
C:\www\www.unifair.com\simplewind\thinkphp\library\traits\
ROOT_PATH
C:\www\www.unifair.com\
LOG_PATH
C:\www\www.unifair.com/data/runtime/log\
CACHE_PATH
C:\www\www.unifair.com/data/runtime/cache\
TEMP_PATH
C:\www\www.unifair.com/data/runtime/temp\
CONF_PATH
C:\www\www.unifair.com/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
HTMLPURIFIER_PREFIX
C:\www\www.unifair.com\simplewind\vendor\ezyang\htmlpurifier\library
QINIU_FUNCTIONS_VERSION
7.2.7