澳门威斯人(0168·中國)官方網站NO.1-One

[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:template/template\cn\.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 80
  2. at Think->fetch('template/cn/', ['temp' => 'template/cn', 'temp_src' => '/template/cn', 'menu' => [['cate_name' => '产品', 'id' => 360, 'level' => 1, ...], ['cate_name' => '应用', 'id' => 366, 'level' => 0, ...], ['cate_name' => '检测服务', 'id' => 367, 'level' => 0], ...], ...], []) in View.php line 159
  3. at View->fetch('template/cn/', [], [], []) in Controller.php line 111
  4. at Controller->fetch('template/cn/') in Article.php line 150
  5. at Article->news('575')
  6. at ReflectionMethod->invokeArgs(object(Article), ['575']) in App.php line 224
  7. at App::invokeMethod([object(Article), 'news'], []) in App.php line 393
  8. at App::module([null, 'article', 'news'], ['app_namespace' => 'app', 'app_debug' => 1, 'app_trace' => false, ...], false) in App.php line 130
  9. at App::run() in start.php line 18
  10. at require('D:\virtualhost\local...') in index.php line 35

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 1i7mf70djiiss20gpm542rpok5
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-2c7dd283-4be9-488a-83d1-4488346f0453
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\xin_host7002732\xin_host7002732.config
APP_POOL_ID xin_host7002732
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME WNWZ-100
ComSpec C:\Windows\system32\cmd.exe
DriverData C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 8
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 (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;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 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 4f01
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
TD_AGENT_TOPDIR C:\opt\td-agent\
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN WORKGROUP
USERNAME WNWZ-100$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php/news_info/575.html
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/10.0
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 1
SERVER_PORT 443
SERVER_NAME www.sypi.com
SCRIPT_NAME /index.php
SCRIPT_FILENAME d:\virtualhost\localuser\host7002732\www\index.php
REQUEST_URI /news_info/575.html
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 46736
REMOTE_HOST 111.173.76.198
REMOTE_ADDR 111.173.76.198
QUERY_STRING
PATH_TRANSLATED d:\virtualhost\localuser\host7002732\www\index.php\news_info\575.html
PATH_INFO /news_info/575.html
LOGON_USER
LOCAL_ADDR 101.36.223.234
INSTANCE_META_PATH /LM/W3SVC/528
INSTANCE_NAME HOST7002732
INSTANCE_ID 528
HTTPS_SERVER_SUBJECT CN=*.sypi.com
HTTPS_SERVER_ISSUER C=GB, S=Greater Manchester, L=Salford, O=Sectigo Limited, CN=Sectigo RSA Domain Validation Secure Server CA
HTTPS_SECRETKEYSIZE 2048
HTTPS_KEYSIZE 256
HTTPS on
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT d:\virtualhost\localuser\host7002732\www
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:\virtualhost\localuser\host7002732\www\
APPL_MD_PATH /LM/W3SVC/528/ROOT
IIS_UrlRewriteModule 7,1,1993,2336
WEBSOCKET_VERSION 13
UNENCODED_URL /news_info/575.html
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /news_info/575.html
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_HOST www.sypi.com
HTTP_COOKIE PHPSESSID=1i7mf70djiiss20gpm542rpok5
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
FCGI_ROLE RESPONDER
PHP_SELF /index.php/news_info/575.html
REQUEST_TIME_FLOAT 1708596399.8328
REQUEST_TIME 1708596399
Environment Variablesempty
ThinkPHP Constants
APP_PATH D:\virtualhost\localuser\host7002732\www/application/
ADMINIMG D:\virtualhost\localuser\host7002732\www/public/static/admin/uploads/cateimg/
INDEXIMGS D:\virtualhost\localuser\host7002732\www/public/static/index/uploads/cateimg/
ADMIN_STATIC D:\virtualhost\localuser\host7002732\www/public/static/admin/
INDEXIMG D:\virtualhost\localuser\host7002732\www/public/static/index/uploads/img/
INDEXATT D:\virtualhost\localuser\host7002732\www/public/static/index/uploads/att/
INDEXAD D:\virtualhost\localuser\host7002732\www/public/static/index/uploads/ad/
APP_DEBUG true
THINK_VERSION 5.0.6
THINK_START_TIME 1708596399.8339
THINK_START_MEM 255248
EXT .php
DS \
THINK_PATH D:\virtualhost\localuser\host7002732\www\thinkphp\
LIB_PATH D:\virtualhost\localuser\host7002732\www\thinkphp\library\
CORE_PATH D:\virtualhost\localuser\host7002732\www\thinkphp\library\think\
TRAIT_PATH D:\virtualhost\localuser\host7002732\www\thinkphp\library\traits\
ROOT_PATH D:\virtualhost\localuser\host7002732\www\
EXTEND_PATH D:\virtualhost\localuser\host7002732\www\extend\
VENDOR_PATH D:\virtualhost\localuser\host7002732\www\vendor\
RUNTIME_PATH D:\virtualhost\localuser\host7002732\www\runtime\
LOG_PATH D:\virtualhost\localuser\host7002732\www\runtime\log\
CACHE_PATH D:\virtualhost\localuser\host7002732\www\runtime\cache\
TEMP_PATH D:\virtualhost\localuser\host7002732\www\runtime\temp\
CONF_PATH D:\virtualhost\localuser\host7002732\www/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN true
XML 地图