[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/www/wwwroot/wordpress.microsensor.cn/public/../application/index/view/page/index.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('/www/wwwroot/wordpre...', ['cateres' => [['id' => 19, 'name' => '产品中心', 'url_mark' => '/productgroup-sensor', ...], ['id' => 601, 'name' => '解决方案', 'url_mark' => 'solution', ...], ['id' => 35, 'name' => '关于我们', 'url_mark' => '', ...], ...], 'footercatetmp' => [['id' => 36, 'name' => '关于我们', 'url_mark' => '', ...], ['id' => 73, 'name' => '产品资料下载', 'url_mark' => '', ...], ['id' => 82, 'name' => '常见问题', 'url_mark' => '', ...], ...], 'fzpj' => [], ...], []) in View.php line 163
  3. at View->fetch('', ['cateres' => [['id' => 19, 'name' => '产品中心', 'url_mark' => '/productgroup-sensor', ...], ['id' => 601, 'name' => '解决方案', 'url_mark' => 'solution', ...], ['id' => 35, 'name' => '关于我们', 'url_mark' => '', ...], ...], 'footercatetmp' => [['id' => 36, 'name' => '关于我们', 'url_mark' => '', ...], ['id' => 73, 'name' => '产品资料下载', 'url_mark' => '', ...], ['id' => 82, 'name' => '常见问题', 'url_mark' => '', ...], ...], 'fzpj' => [], ...], ['__ROOT__' => '/', '__URL__' => '/index/page', '__STATIC__' => '/static', ...]) in View.php line 36
  4. at View->output('') in Response.php line 309
  5. at Response->getContent() in Response.php line 94
  6. at Response->send() in start.php line 19
  7. at require('/www/wwwroot/wordpre...') in index.php line 193

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
905udhis6dss023r4voqcp63k0

Session

think
{ "__flash__": [] }

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
PHPSESSID=905udhis6dss023r4voqcp63k0
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.microsensor.cn
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
/productgroup-level_transmitters/
REDIRECT_STATUS
200
SERVER_NAME
www.microsensor.cn
SERVER_PORT
443
SERVER_ADDR
172.30.141.14
REMOTE_PORT
45612
REMOTE_ADDR
50.2.190.10
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/wordpress.microsensor.cn/public
DOCUMENT_URI
/index.php
REQUEST_URI
/productgroup-level_transmitters/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/productgroup-level_transmitters/
SCRIPT_FILENAME
/www/wwwroot/wordpress.microsensor.cn/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1718381652.0639
REQUEST_TIME
1718381652
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/wordpress.microsensor.cn/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1718381652.0645
THINK_START_MEM
410208
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/wordpress.microsensor.cn/thinkphp/
LIB_PATH
/www/wwwroot/wordpress.microsensor.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/wordpress.microsensor.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/wordpress.microsensor.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/wordpress.microsensor.cn/
EXTEND_PATH
/www/wwwroot/wordpress.microsensor.cn/extend/
VENDOR_PATH
/www/wwwroot/wordpress.microsensor.cn/vendor/
RUNTIME_PATH
/www/wwwroot/wordpress.microsensor.cn/runtime/
LOG_PATH
/www/wwwroot/wordpress.microsensor.cn/runtime/log/
CACHE_PATH
/www/wwwroot/wordpress.microsensor.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/wordpress.microsensor.cn/runtime/temp/
CONF_PATH
/www/wwwroot/wordpress.microsensor.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
XML 地图