澳门正规电子游戏平台

[0] TemplateNotFoundException in Think.php line 82

template not exists:/www/wwwroot/hgwsxx/addons/cms/view/maintenance/list_news.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/hgwsxx/...', ['config' => ['system_user_id' => '0', 'sitename' => '...', 'sitelogo' => '/uploads/20210721/d4...', ...], 'user' => null, 'site' => ['name' => '...', 'beian' => '15000503号', 'cdnurl' => '', ...], ...], []) in View.php line 163
  3. at View->fetch('/list_news') in Channel.php line 147
  4. at Channel->index()
  5. at call_user_func_array([object(Channel), 'index'], []) in Route.php line 76
  6. at Route->execute('cms', 'channel', 'index')
  7. at ReflectionMethod->invokeArgs(object(Route), ['cms', 'channel', 'index']) in App.php line 343
  8. at App::invokeMethod(['\think\addons\Route', 'execute'], ['diyname' => 'Achievements', 'addon' => 'cms', 'controller' => 'channel', ...]) in App.php line 470
  9. at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'cms', 'controller' => 'channel', 'action' => 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/hgwsxx/...') in index.php line 23

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

X_CACHE_KEY
9989ca62fea1fe63ced9104cf102b8fd
think_var
null
PHPSESSID
3a0n8uc10hqmt68aenfgs79st0
Session
empty

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/html/Achievements.html
QUERY_STRING
s=/html/Achievements.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=/html/Achievements.html
REDIRECT_URL
/html/Achievements.html
REMOTE_PORT
38496
SCRIPT_FILENAME
/www/wwwroot/hgwsxx/public/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/hgwsxx/public
CONTEXT_PREFIX
REQUEST_SCHEME
https
DOCUMENT_ROOT
/www/wwwroot/hgwsxx/public
REMOTE_ADDR
104.206.96.218
SERVER_PORT
443
SERVER_ADDR
172.17.0.10
SERVER_NAME
www.hgwsxx.org.cn
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
Apache Server at www.hgwsxx.org.cn Port 443
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_COOKIE
X_CACHE_KEY=9989ca62fea1fe63ced9104cf102b8fd; think_var=null+; PHPSESSID=3a0n8uc10hqmt68aenfgs79st0
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.hgwsxx.org.cn
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
proxy-nokeepalive
1
SSL_TLS_SNI
www.hgwsxx.org.cn
HTTPS
on
REDIRECT_STATUS
200
REDIRECT_SSL_TLS_SNI
www.hgwsxx.org.cn
REDIRECT_HTTPS
on
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1677927402.8038
REQUEST_TIME
1677927402
PATH_INFO
/html/Achievements.html
Environment Variables
empty

ThinkPHP Constants

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