[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:C:\wwwroot\haizhizhuangshi.cn\public/../application/index\view\product.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('/product', ['global' => ['site_name' => '新疆万博manbetx官网网页版装饰', 'site_title' => '...', 'site_description' => '...', ...], 'menu' => [['id' => 74, 'title' => '网站首页', 'pid' => 0, ...], ['id' => 75, 'title' => '整装套餐', 'pid' => 0, ...], ['id' => 76, 'title' => '万博官网案例', 'pid' => 0, ...], ...], 'yqlink' => [], ...], []) in View.php line 163
  3. at View->fetch('/product', [], [], []) in Controller.php line 120
  4. at Controller->fetch('/product') in Index.php line 114
  5. at Index->_empty()
  6. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
  7. at App::invokeMethod([object(Index), '_empty'], ['product']) in App.php line 611
  8. at App::module(['index', 'index', 'product'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  9. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'product'], 'convert' => false], ['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('C:\wwwroot\haizhizhu...') in index.php line 17

Environment Variables

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

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-5c4b80c6-1bb3-4b7d-92f7-54b382d63e8b
PHP_FCGI_MAX_REQUESTS
10000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\haizhizhuangshi.cn\haizhizhuangshi.cn.config
APP_POOL_ID
haizhizhuangshi.cn
BT_PANEL
C:\Windows\Baota\BtSoft\panel
BT_PYTHON
C:\Program Files\python
BT_SETUP
C:\Windows\Baota\BtSoft
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
iZifr26xkxfha1Z
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\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\python;C:\Program Files\python\Scripts;C:\Windows\Baota\BtSoft\panel\script
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
5507
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
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
IZIFR26XKXFHA1Z$
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/product/view_45.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.haizhizhuangshi.cn
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
C:\wwwroot\haizhizhuangshi.cn\public\index.php
REQUEST_URI
/product/view_45.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
20000
REMOTE_HOST
154.209.157.46
REMOTE_ADDR
154.209.157.46
QUERY_STRING
PATH_TRANSLATED
C:\wwwroot\haizhizhuangshi.cn\public\index.php\product\view_45.html
PATH_INFO
/product/view_45.html
LOGON_USER
LOCAL_ADDR
172.26.16.15
INSTANCE_META_PATH
/LM/W3SVC/3
INSTANCE_NAME
HAIZHIZHUANGSHI.CN
INSTANCE_ID
3
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
C:\wwwroot\haizhizhuangshi.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
C:\wwwroot\haizhizhuangshi.cn\public\
APPL_MD_PATH
/LM/W3SVC/3/ROOT
IIS_UrlRewriteModule
7.1.0871.0
UNENCODED_URL
/product/view_45.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/product/view_45.html
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.haizhizhuangshi.cn
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/product/view_45.html
REQUEST_TIME_FLOAT
1590746320.7277
REQUEST_TIME
1590746320
Environment Variables
empty

ThinkPHP Constants

APP_PATH
C:\wwwroot\haizhizhuangshi.cn\public/../application/
RUNTIME_PATH
C:\wwwroot\haizhizhuangshi.cn\public/../runtime/
THINK_VERSION
5.0.24
THINK_START_TIME
1590746320.7277
THINK_START_MEM
152992
EXT
.php
DS
\
THINK_PATH
C:\wwwroot\haizhizhuangshi.cn\thinkphp\
LIB_PATH
C:\wwwroot\haizhizhuangshi.cn\thinkphp\library\
CORE_PATH
C:\wwwroot\haizhizhuangshi.cn\thinkphp\library\think\
TRAIT_PATH
C:\wwwroot\haizhizhuangshi.cn\thinkphp\library\traits\
ROOT_PATH
C:\wwwroot\haizhizhuangshi.cn\
EXTEND_PATH
C:\wwwroot\haizhizhuangshi.cn\extend\
VENDOR_PATH
C:\wwwroot\haizhizhuangshi.cn\vendor\
LOG_PATH
C:\wwwroot\haizhizhuangshi.cn\public/../runtime/log\
CACHE_PATH
C:\wwwroot\haizhizhuangshi.cn\public/../runtime/cache\
TEMP_PATH
C:\wwwroot\haizhizhuangshi.cn\public/../runtime/temp\
CONF_PATH
C:\wwwroot\haizhizhuangshi.cn\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true