[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:D:\huizhuo\www.wide.org.cn\addons\cms\view\shijiedianzi\outlink.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('D:\huizhuo\www.wide....', ['config' => ['system_user_id' => '0', 'sitename' => '...', 'sitelogo' => '/assets/addons/cms/i...', ...], 'user' => null, 'site' => ['name' => '网站后台', 'beian' => '', 'cdnurl' => '', ...], ...], []) in View.php line 163
  3. at View->fetch('/outlink', ['config' => ['system_user_id' => '0', 'sitename' => '...', 'sitelogo' => '/assets/addons/cms/i...', ...], 'user' => null, 'site' => ['name' => '网站后台', 'beian' => '', 'cdnurl' => '', ...], ...]) in Archives.php line 82
  4. at Archives->index()
  5. at call_user_func_array([object(Archives), 'index'], []) in Route.php line 76
  6. at Route->execute('cms', 'archives', 'index')
  7. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'archives', 'index']) in App.php line 343
  8. at App::invokeMethod(['\think\addons\Route', 'execute'], ['catename' => 'NewsPartner', 'id' => '139', 'addon' => 'cms', ...]) in App.php line 470
  9. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'archives', 'action' => 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('D:\huizhuo\www.wide....') in index.php line 24

Environment Variables

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

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-e33625cf-0465-4485-b919-5a097686adec
PHP_FCGI_MAX_REQUESTS
10000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\www.wide.org.cn\www.wide.org.cn.config
APP_POOL_ID
www.wide.org.cn
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
IZ1L22MT1TIH7IZ
ComSpec
C:\Windows\system32\cmd.exe
DriverData
C:\Windows\System32\Drivers\DriverData
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\;C:\Windows\System32\OpenSSH\;C:\Program Files\python;C:\Program Files\python\Scripts;;D:\BtSoft\panel\script;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 106 Stepping 6, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
6a06
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
IZ1L22MT1TIH7IZ$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/NewsPartner/139.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/10.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
wide.org.cn
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\huizhuo\www.wide.org.cn\public\index.php
REQUEST_URI
/NewsPartner/139.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
41202
REMOTE_HOST
18.213.110.162
REMOTE_ADDR
18.213.110.162
QUERY_STRING
PATH_TRANSLATED
d:\huizhuo\www.wide.org.cn\public\index.php\NewsPartner\139.html
PATH_INFO
/NewsPartner/139.html
LOGON_USER
LOCAL_ADDR
10.28.107.27
INSTANCE_META_PATH
/LM/W3SVC/25
INSTANCE_NAME
WWW.WIDE.ORG.CN
INSTANCE_ID
25
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\huizhuo\www.wide.org.cn\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:\huizhuo\www.wide.org.cn\public\
APPL_MD_PATH
/LM/W3SVC/25/ROOT
IIS_UrlRewriteModule
7.1.0871.0
WEBSOCKET_VERSION
13
UNENCODED_URL
/NewsPartner/139.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/NewsPartner/139.html
HTTP_USER_AGENT
claudebot
HTTP_HOST
wide.org.cn
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/NewsPartner/139.html
REQUEST_TIME_FLOAT
1711631642.6288
REQUEST_TIME
1711631642
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\huizhuo\www.wide.org.cn\public/../application/
WEB_DIR
D:\huizhuo\www.wide.org.cn\public\
THINK_VERSION
5.0.24
THINK_START_TIME
1711631642.6313
THINK_START_MEM
427912
EXT
.php
DS
\
THINK_PATH
D:\huizhuo\www.wide.org.cn\thinkphp\
LIB_PATH
D:\huizhuo\www.wide.org.cn\thinkphp\library\
CORE_PATH
D:\huizhuo\www.wide.org.cn\thinkphp\library\think\
TRAIT_PATH
D:\huizhuo\www.wide.org.cn\thinkphp\library\traits\
ROOT_PATH
D:\huizhuo\www.wide.org.cn\
EXTEND_PATH
D:\huizhuo\www.wide.org.cn\extend\
VENDOR_PATH
D:\huizhuo\www.wide.org.cn\vendor\
RUNTIME_PATH
D:\huizhuo\www.wide.org.cn\runtime\
LOG_PATH
D:\huizhuo\www.wide.org.cn\runtime\log\
CACHE_PATH
D:\huizhuo\www.wide.org.cn\runtime\cache\
TEMP_PATH
D:\huizhuo\www.wide.org.cn\runtime\temp\
CONF_PATH
D:\huizhuo\www.wide.org.cn\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
FILTER_VALIDATE_BOOL
258
ADDON_PATH
D:\huizhuo\www.wide.org.cn\addons\