[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/mnt/data/www/mlabc/back/public/../application/www/view/maliang/www/www/ml_software/index_list/index.php

  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() in View.php line 163
  3. at View->fetch() in Controller.php line 120
  4. at Controller->fetch() in ModuleList.php line 114
  5. at ModuleList->classList() in ModuleList.php line 26
  6. at ModuleList->index()
  7. at ReflectionMethod->invokeArgs() in App.php line 343
  8. at App::invokeMethod() in App.php line 611
  9. at App::module() in App.php line 456
  10. at App::exec() in App.php line 139
  11. at App::run() in start.php line 19
  12. at require('/mnt/data/www/mlabc/...') in index.php line 22

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
www.maliang.com
PATH_INFO
//shineisheji/
REDIRECT_STATUS
200
SERVER_NAME
www.maliang.com
SERVER_PORT
443
SERVER_ADDR
172.18.8.59
REMOTE_PORT
47546
REMOTE_ADDR
54.166.234.171
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/mnt/data/www/mlabc/back/public
DOCUMENT_URI
/index.php
REQUEST_URI
/shineisheji/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//shineisheji/
SCRIPT_FILENAME
/mnt/data/www/mlabc/back/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710820575.659
REQUEST_TIME
1710820575
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/mnt/data/www/mlabc/back/public/../application/
EXTEND_PATH
/mnt/data/www/mlabc/back/public/../extend/
THINK_VERSION
5.0.24
THINK_START_TIME
1710820575.6592
THINK_START_MEM
354760
EXT
.php
DS
/
THINK_PATH
/mnt/data/www/mlabc/back/thinkphp/
LIB_PATH
/mnt/data/www/mlabc/back/thinkphp/library/
CORE_PATH
/mnt/data/www/mlabc/back/thinkphp/library/think/
TRAIT_PATH
/mnt/data/www/mlabc/back/thinkphp/library/traits/
ROOT_PATH
/mnt/data/www/mlabc/back/
VENDOR_PATH
/mnt/data/www/mlabc/back/vendor/
RUNTIME_PATH
/mnt/data/www/mlabc/back/runtime/
LOG_PATH
/mnt/data/www/mlabc/back/runtime/log/
CACHE_PATH
/mnt/data/www/mlabc/back/runtime/cache/
TEMP_PATH
/mnt/data/www/mlabc/back/runtime/temp/
CONF_PATH
/mnt/data/www/mlabc/back/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PINYIN_DEFAULT
4096
PINYIN_TONE
2
PINYIN_NO_TONE
4
PINYIN_ASCII_TONE
8
PINYIN_NAME
16
PINYIN_KEEP_NUMBER
32
PINYIN_KEEP_ENGLISH
64
PINYIN_UMLAUT_V
128
PINYIN_KEEP_PUNCTUATION
256