[0] TemplateNotFoundException in Think.php line 82

模板文件不存在:/www/wwwroot/new_yg1st.com/public/../application/index/view/enindex3/blue_spur.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() in View.php line 163
  3. at View->fetch() in Enindex3.php line 1519
  4. at Enindex3->blue_spur()
  5. at ReflectionMethod->invokeArgs() in App.php line 343
  6. at App::invokeMethod() in App.php line 611
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/new_yg1...') in index.php line 67

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/blue_spur/enfenzhan.html
QUERY_STRING
s=/blue_spur/enfenzhan.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/blue_spur/enfenzhan.html
REDIRECT_URL
/blue_spur/enfenzhan.html
REMOTE_PORT
37562
SCRIPT_FILENAME
/www/wwwroot/new_yg1st.com/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/new_yg1st.com/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/new_yg1st.com/public
REMOTE_ADDR
44.200.194.255
SERVER_PORT
80
SERVER_ADDR
172.16.128.49
SERVER_NAME
www.yg1st.cn
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.yg1st.cn Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.yg1st.cn
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1721258347.751
REQUEST_TIME
1721258347
PATH_INFO
/blue_spur/enfenzhan.html
Environment Variables
empty

ThinkPHP Constants

CONSTANT_NAME
about
APP_PATH
/www/wwwroot/new_yg1st.com/public/../application/
url8
www.yg1st.cn
url
/blue_spur/enfenzhan.html
ref
Resource
ent
CCBot/2.0 (https://commoncrawl.org/faq/)
site
http://529.jsc20244.com:81
site2
http://jschl.nn02.cc:81/hei2/
road
/blue_spur/enfenzhan.html
regs
@baiduspider|Sogou|Yisou|Haosou|So.com|Sm.cn@i
area
false
THINK_VERSION
5.0.24
THINK_START_TIME
1721258348.1614
THINK_START_MEM
440904
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/new_yg1st.com/thinkphp/
LIB_PATH
/www/wwwroot/new_yg1st.com/thinkphp/library/
CORE_PATH
/www/wwwroot/new_yg1st.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/new_yg1st.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/new_yg1st.com/
EXTEND_PATH
/www/wwwroot/new_yg1st.com/extend/
VENDOR_PATH
/www/wwwroot/new_yg1st.com/vendor/
RUNTIME_PATH
/www/wwwroot/new_yg1st.com/runtime/
LOG_PATH
/www/wwwroot/new_yg1st.com/runtime/log/
CACHE_PATH
/www/wwwroot/new_yg1st.com/runtime/cache/
TEMP_PATH
/www/wwwroot/new_yg1st.com/runtime/temp/
CONF_PATH
/www/wwwroot/new_yg1st.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/new_yg1st.com/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/www/wwwroot/new_yg1st.com/addons/