[0] TemplateNotFoundException in Think.php line 86

模板文件不存在:application/index/view/en/service-sh.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('application/index/vi...', ['cate_search_list' => [['cat_id' => 1, 'cat_name' => '班台', 'cat_name_en' => 'Desk', ...], ['cat_id' => 3, 'cat_name' => '会议', 'cat_name_en' => 'Meeting', ...], ['cat_id' => 6, 'cat_name' => '员工桌', 'cat_name_en' => 'Staff table', ...], ...], 'case_serise' => [['cat_id' => 1, 'cat_name' => '成功案例', 'cat_name_en' => 'Our Case', ...]], 'product_serise' => [['cat_id' => 1, 'cat_name' => '班台', 'cat_name_en' => 'Desk', ...], ['cat_id' => 3, 'cat_name' => '会议', 'cat_name_en' => 'Meeting', ...], ['cat_id' => 6, 'cat_name' => '员工桌', 'cat_name_en' => 'Staff table', ...], ...], ...], []) in View.php line 189
  3. at View->fetch('application/index/vi...', [], []) in Controller.php line 161
  4. at Controller->fetch('application/index/vi...') in Service.php line 53
  5. at Service->aftersale()
  6. at ReflectionMethod->invokeArgs(object(Service), []) in Container.php line 395
  7. at Container->invokeReflectMethod(object(Service), object(ReflectionMethod), []) in Module.php line 132
  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 137
  13. at Module->exec() in Dispatch.php line 168
  14. at Dispatch->run() in App.php line 432
  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 435
  20. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
$Version 1
PHPSESSID am02dri248qqssivhl80mfbvk3
$Path /
Session
admin { "lang": "en" }
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-0a3deeda-b99c-4e4f-ac29-034d02d61d41
PHP_FCGI_MAX_REQUESTS 1000
PHPRC C:\php_56
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\zjlangtong\zjlangtong.config
APP_POOL_ID zjlangtong
CommonProgramFiles C:\Program Files (x86)\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME EBS-26389
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:\php_52;D:\mysql\bin;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
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 4, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 5504
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
USERDOMAIN WORKGROUP
USERNAME EBS-26389$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php/index/Service/aftersale
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/10.0
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.rumdom.com
SCRIPT_NAME /index.php
SCRIPT_FILENAME D:\wwwroot\zjlangtong\wwwroot\index.php
REQUEST_URI /index/Service/aftersale
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 65191
REMOTE_HOST 127.0.0.1
REMOTE_ADDR 127.0.0.1
QUERY_STRING
PATH_TRANSLATED D:\wwwroot\zjlangtong\wwwroot\index.php\index\Service\aftersale
PATH_INFO /index/Service/aftersale
LOGON_USER
LOCAL_ADDR 127.0.0.1
INSTANCE_META_PATH /LM/W3SVC/11252
INSTANCE_NAME ZJLANGTONG
INSTANCE_ID 11252
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\wwwroot\zjlangtong\wwwroot
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\zjlangtong\wwwroot\
APPL_MD_PATH /LM/W3SVC/11252/ROOT
IIS_UrlRewriteModule 7,1,1993,2336
WEBSOCKET_VERSION 13
UNENCODED_URL /index/Service/aftersale
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /index/Service/aftersale
HTTP_X_FORWARDED_PROTO http
HTTP_X_REAL_IP 118.123.10.130
HTTP_X_FORWARDED_FOR 49.217.179.79
HTTP_USER_AGENT Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
HTTP_REFERER http://www.rumdom.com/
HTTP_HOST www.rumdom.com
HTTP_COOKIE $Version=1; PHPSESSID=am02dri248qqssivhl80mfbvk3; $Path=/
HTTP_ACCEPT_LANGUAGE zh, en, *
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1
HTTP_CONTENT_LENGTH 0
HTTP_CONNECTION close
FCGI_ROLE RESPONDER
PHP_SELF /index.php/index/Service/aftersale
REQUEST_TIME_FLOAT 1640153785.9812
REQUEST_TIME 1640153785
Environment Variablesempty
ThinkPHP Constantsempty