[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/www/wwwroot/shop/public/../application/index/view/industry/industry192.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/shop/pu...', ['VUE_ELEMENTPLUS' => ' "> ', 'user' => null, 'site' => ['name' => 'Shop', 'beian' => '', 'cdnurl' => '', ...], ...], []) in View.php line 163
  3. at View->fetch('industry192') in Industry.php line 44
  4. at Industry->index('192')
  5. at ReflectionMethod->invokeArgs(object(Industry), ['192']) in App.php line 343
  6. at App::invokeMethod([object(Industry), 'index'], []) in App.php line 611
  7. at App::module(['index', 'industry', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => ['index', 'industry', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/shop/th...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

think_var
zh-cn
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
think_var=zh-cn
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.liangjing.com
HTTP_USER_AGENT
netEstate NE Crawler (+http://www.website-datenbank.de/)
PATH_INFO
/index/industry/index/id/192
REDIRECT_STATUS
200
SERVER_NAME
liangjing.com
SERVER_PORT
80
SERVER_ADDR
10.0.4.16
REMOTE_PORT
41366
REMOTE_ADDR
104.140.12.242
SERVER_SOFTWARE
nginx/1.22.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/shop/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/industry/index/id/192
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/industry/index/id/192
SCRIPT_FILENAME
/www/wwwroot/shop/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1716148080.1957
REQUEST_TIME
1716148080
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/shop/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1716148080.196
THINK_START_MEM
405280
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/shop/thinkphp/
LIB_PATH
/www/wwwroot/shop/thinkphp/library/
CORE_PATH
/www/wwwroot/shop/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/shop/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/shop/
EXTEND_PATH
/www/wwwroot/shop/extend/
VENDOR_PATH
/www/wwwroot/shop/vendor/
RUNTIME_PATH
/www/wwwroot/shop/runtime/
LOG_PATH
/www/wwwroot/shop/runtime/log/
CACHE_PATH
/www/wwwroot/shop/runtime/cache/
TEMP_PATH
/www/wwwroot/shop/runtime/temp/
CONF_PATH
/www/wwwroot/shop/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/shop/addons/
XML 地图