9499澳门威尼人斯人娱乐场网站|首頁(欢迎您)

[0] TemplateNotFoundException in Think.php line 90

模板文件不存在:/mydata/webapp/product/official/app/admin/view/index/detail.html

  1. public function fetch(string $template, array $data = []): void
  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['log']
  13. ->record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]');
  14. $this->template->fetch($template, $data);
  15. }

Call Stack

  1. in Think.php line 90
  2. at Think->fetch('/mydata/webapp/produ...', []) in View.php line 144
  3. at View->fetch('detail', false) in View.php line 87
  4. at View->output('detail') in Response.php line 384
  5. at Response->getContent() in Response.php line 146
  6. at Response->send() in index.php line 29

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 4c0293afc434e3ac95cb4643415fb9a6
Sessionempty
Server/Request Data
USER www-data
HOME /home/www-data
HTTP_COOKIE PHPSESSID=4c0293afc434e3ac95cb4643415fb9a6
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.tyjfwy.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
SCRIPT_FILENAME /mydata/webapp/product/official//public/index.php
PATH_INFO /index/newsDetail.html
REDIRECT_STATUS 200
SERVER_NAME www.tyjfwy.com
SERVER_PORT 80
SERVER_ADDR 172.26.167.169
REMOTE_PORT 33322
REMOTE_ADDR 107.186.153.2
SERVER_SOFTWARE nginx/1.17.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mydata/webapp/product/official
DOCUMENT_URI /public/index.php/index/newsDetail.html
REQUEST_URI /public/index.php/index/newsDetail.html
SCRIPT_NAME /public/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /public/index.php/index/newsDetail.html
REQUEST_TIME_FLOAT 1652837181.2374
REQUEST_TIME 1652837181
Environment Variablesempty
ThinkPHP Constants
APP_DEBUG true
APP_PATH ./app/
ROOT /
__PUBLIC__ /public