  
[0] TemplateNotFoundException in Think.php line 82
模板文件不存在:/www/wwwroot/www.gustack.net/addons/leescore/view/index/index.html
*/
public function fetch($template, $data = [], $config = [])
{
if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
// 获取模板文件名
$template = $this->parseTemplate($template);
}
// 模板不存在 抛出异常
if (!is_file($template)) {
throw new TemplateNotFoundException('template not exists:' . $template, $template);
}
// 记录视图信息
App: debug && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');
$this->template->fetch($template, $data, $config);
}
/**
* 渲染模板内容
* @access public
Call Stack
in Think.php line 82
at Think->fetch('/www/wwwroot/www.gus...', ['config' => ['enterimg' => '', 'logo' => '', 'scorestatus' => '1', ...], 'user' => null, 'site' => ['name' => 'Gustack', 'beian' => '沪ICP备19004506号...', 'cdnurl' => '', ...], ...], []) in View.php line 163
at View->fetch('index/index', ['config' => ['enterimg' => '', 'logo' => '', 'scorestatus' => '1', ...], 'user' => null, 'site' => ['name' => 'Gustack', 'beian' => '沪ICP备19004506号...', 'cdnurl' => '', ...], ...], ['__ROOT__' => '/', '__URL__' => '//index', '__STATIC__' => '/static', ...], []) in Controller.php line 120
at Controller->fetch('index/index', [], [], []) in Controller.php line 198
at Controller->fetch('index/index') in Index.php line 140
at Index->index()
at call_user_func_array([object(Index), 'index'], []) in Route.php line 76
at Route->execute('leescore', 'index', 'index')
at ReflectionMethod->invokeArgs(object(Route), ['leescore', 'index', 'index']) in App.php line 343
at App::invokeMethod(['\think\addons\Route', 'execute'], ['addon' => 'leescore', 'controller' => 'index', 'action' => 'index']) in App.php line 470
at App::exec(['type' => 'method', 'method' => ['\think\addons\Route', 'execute'], 'var' => ['addon' => 'leescore', 'controller' => 'index', 'action' => 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
at App::run() in start.php line 19
at require('/www/wwwroot/www.gus...') in index.php line 29
Environment Variables
GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID bt5utlq5dmc6oao1c3bnntja89
Session
think { "cateActive": false, "cateMenu": [ { "id": 1, "weigh": 21, "url": "\/server.html?cateType=23", "open": "0", "name": "\u6700\u65b0\u6d3b\u52a8" }, { "id": 3, "weigh": 6, "url": "\/server.html?cateType=25", "open": "0", "name": "\u6302\u673a\u5b9d" }, { "id": 5, "weigh": 5, "url": "\/server.html?cateType=26", "open": "0", "name": "\u62e8\u53f7VPS" }, { "id": 4, "weigh": 4, "url": "\/server.html?cateType=20", "open": "0", "name": "\u4e91\u670d\u52a1\u5668" }, { "id": 6, "weigh": 2, "url": "\/server.html?cateType=28", "open": "0", "name": "\u72ec\u7acb\u670d\u52a1\u5668" }, { "id": 21, "weigh": 1, "url": "\/news", "open": null, "name": "\u5b98\u7f51\u8d44\u8baf" }, { "id": 20, "weigh": 1, "url": "\/virtual_index.html?cateType=20", "open": "0", "name": "\u865a\u62df\u7a7a\u95f4" } ] }
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /index.html
QUERY_STRING s=/index.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=/index.html
REDIRECT_URL /index.html
REMOTE_PORT 1239
SCRIPT_FILENAME /www/wwwroot/www.gustack.net/public/index.php
SERVER_ADMIN [email protected]
CONTEXT_DOCUMENT_ROOT /www/wwwroot/www.gustack.net/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/www.gustack.net/public
REMOTE_ADDR 183.17.225.49
SERVER_PORT 80
SERVER_ADDR 222.187.220.224
SERVER_NAME www.gustack.net
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.gustack.net Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_COOKIE PHPSESSID=bt5utlq5dmc6oao1c3bnntja89
HTTP_ACCEPT_LANGUAGE zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_REFERER http://www.gustack.cn/p/index
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_CACHE_CONTROL max-age=0
HTTP_CONNECTION keep-alive
HTTP_HOST www.gustack.net
proxy-nokeepalive 1
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1555667839.4166
REQUEST_TIME 1555667839
PATH_INFO /index.html
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/wwwroot/www.gustack.net/public/../application/
THINK_VERSION 5.0.24
THINK_START_TIME 1555667839.4183
THINK_START_MEM 369080
EXT .php
DS /
THINK_PATH /www/wwwroot/www.gustack.net/thinkphp/
LIB_PATH /www/wwwroot/www.gustack.net/thinkphp/library/
CORE_PATH /www/wwwroot/www.gustack.net/thinkphp/library/think/
TRAIT_PATH /www/wwwroot/www.gustack.net/thinkphp/library/traits/
ROOT_PATH /www/wwwroot/www.gustack.net/
EXTEND_PATH /www/wwwroot/www.gustack.net/extend/
VENDOR_PATH /www/wwwroot/www.gustack.net/vendor/
RUNTIME_PATH /www/wwwroot/www.gustack.net/runtime/
LOG_PATH /www/wwwroot/www.gustack.net/runtime/log/
CACHE_PATH /www/wwwroot/www.gustack.net/runtime/cache/
TEMP_PATH /www/wwwroot/www.gustack.net/runtime/temp/
CONF_PATH /www/wwwroot/www.gustack.net/public/../application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
ADDON_PATH /www/wwwroot/www.gustack.net/addons/
ThinkPHP V5.0.24 { 十年磨一剑-为API开发设计的高性能框架 } |