[0] TemplateNotFoundException in Think.php line 80

雷竞技网站文件不存在:themes/tenglongyuan/error/../public/404.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 80
  2. at Think->fetch('themes/tenglongyuan/...', ['site_info' => ['site_name' => '雷竞技app源', 'site_seo_title' => '', 'site_seo_keywords' => '...', ...], 'year' => '2019', 'SO' => 'is_top DESC,list_ord...', ...], []) in View.php line 159
  3. at View->fetch('themes/tenglongyuan/...', [], [], []) in Controller.php line 112
  4. at Controller->fetch('themes/tenglongyuan/...', [], [], []) in HomeBaseController.php line 94
  5. at HomeBaseController->fetch('../public/404') in ErrorController.php line 13
  6. at ErrorController->_empty()
  7. at ReflectionMethod->invokeArgs(object(ErrorController), []) in App.php line 197
  8. at App::invokeMethod([object(ErrorController), '_empty'], ['index']) in App.php line 426
  9. at App::module(['404', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 296
  10. at App::exec(['type' => 'module', 'module' => ['404', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 124
  11. at App::run() in index.php line 51

Environment Variables

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

Servers/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
REDIRECT_STATUS
200
proxy-nokeepalive
1
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.topchemical.com
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
LD_LIBRARY_PATH
/www/server/apache/lib
SERVER_SIGNATURE
<address>Apache Server at www.topchemical.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.topchemical.com
SERVER_ADDR
172.16.21.166
SERVER_PORT
80
REMOTE_ADDR
212.95.151.26
DOCUMENT_ROOT
/www/wwwroot/topchemical.com
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/topchemical.com
SERVER_ADMIN
webmaster@example.com
SCRIPT_FILENAME
/www/wwwroot/topchemical.com/index.php
REMOTE_PORT
20000
REDIRECT_URL
/404.html
REDIRECT_QUERY_STRING
s=404.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
s=404.html
REQUEST_URI
/404.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1550625137.2085
REQUEST_TIME
1550625137
PATH_INFO
404.html
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/www/wwwroot/topchemical.com/
APP_PATH
/www/wwwroot/topchemical.com/app/
CMF_PATH
/www/wwwroot/topchemical.com/simplewind/cmf/
PLUGINS_PATH
/www/wwwroot/topchemical.com/plugins/
EXTEND_PATH
/www/wwwroot/topchemical.com/simplewind/extend/
VENDOR_PATH
/www/wwwroot/topchemical.com/simplewind/vendor/
RUNTIME_PATH
/www/wwwroot/topchemical.com/data/runtime/
THINKCMF_VERSION
5.0.170927
SO
is_top DESC,list_order DESC,published_time DESC,post_id DESC
GSO
is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC
TMPLSO
order:is_top DESC,list_order DESC,published_time DESC,post_id DESC;
TMPLGSO
order:is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC;
WEB_ROOT
/www/wwwroot/topchemical.com/
THINK_VERSION
5.0.11
THINK_START_TIME
1550625137.209
THINK_START_MEM
268312
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/topchemical.com/simplewind/thinkphp/
LIB_PATH
/www/wwwroot/topchemical.com/simplewind/thinkphp/library/
CORE_PATH
/www/wwwroot/topchemical.com/simplewind/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/topchemical.com/simplewind/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/topchemical.com/
LOG_PATH
/www/wwwroot/topchemical.com/data/runtime/log/
CACHE_PATH
/www/wwwroot/topchemical.com/data/runtime/cache/
TEMP_PATH
/www/wwwroot/topchemical.com/data/runtime/temp/
CONF_PATH
/www/wwwroot/topchemical.com/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/topchemical.com/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
0.084485s