HTTP/1.1 500 Internal Server Error
Server: nginx
Date: Thu, 21 Nov 2024 06:56:08 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS, DELETE
Access-Control-Allow-Headers: DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type, Accept-Language, Origin, Accept-Encoding
/* SPAN elements with the classes below are added by prettyprint. */
pre.prettyprint .pln { color: #000 } /* plain text */
pre.prettyprint .str { color: #080 } /* string content */
pre.prettyprint .kwd { color: #008 } /* a keyword */
pre.prettyprint .com { color: #800 } /* a comment */
pre.prettyprint .typ { color: #606 } /* a type name */
pre.prettyprint .lit { color: #066 } /* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 }
pre.prettyprint .tag { color: #008 } /* a markup tag name */
pre.prettyprint .atn { color: #606 } /* a markup attribute name */
pre.prettyprint .atv { color: #080 } /* a markup attribute value */
pre.prettyprint .dec, pre.prettyprint .var { color: #606 } /* a declaration; a variable name */
pre.prettyprint .fun { color: red } /* a function name */
模板文件不存在:/www/wwwroot/yemusocket/public/../application/index/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/yemusoc...', ['user' => null, 'data' => [['id' => 357185, 'pid' => 0, 'invitor' => 0, ...], ['id' => 357184, 'pid' => 0, 'invitor' => 0, ...], ['id' => 357183, 'pid' => 0, 'invitor' => 0, ...], ...]], []) in View.php line 163
-
at View->fetch('', ['user' => null, 'data' => [['id' => 357185, 'pid' => 0, 'invitor' => 0, ...], ['id' => 357184, 'pid' => 0, 'invitor' => 0, ...], ['id' => 357183, 'pid' => 0, 'invitor' => 0, ...], ...]], ['__ROOT__' => '', '__URL__' => '/index/index', '__STATIC__' => '/static', ...], []) in Controller.php line 120
-
at Controller->fetch() in Index.php line 17
-
at Index->index()
-
at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 343
-
at App::invokeMethod([object(Index), 'index'], []) in App.php line 611
-
at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
-
at App::exec(['type' => 'module', 'module' => ['', null, null]], ['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/yemusoc...') in index.php line 23
Environment Variables
Server/Request Data
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
HTTP_HOST
yemuadmin.baicaigongyu.com
SERVER_NAME
yemuadmin.baicaigongyu.com
REMOTE_ADDR
36.139.116.52
SERVER_SOFTWARE
nginx/1.26.2
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
/www/wwwroot/yemusocket/public
SCRIPT_FILENAME
/www/wwwroot/yemusocket/public/index.php
REQUEST_TIME_FLOAT
1732172168.8729
Environment Variables
empty
ThinkPHP Constants
APP_PATH
/www/wwwroot/yemusocket/public/../application/
VEN_ROOT
/www/wwwroot/yemusocket/public/../vendor/
THINK_START_TIME
1732172168.8733
THINK_PATH
/www/wwwroot/yemusocket/thinkphp/
LIB_PATH
/www/wwwroot/yemusocket/thinkphp/library/
CORE_PATH
/www/wwwroot/yemusocket/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/yemusocket/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/yemusocket/
EXTEND_PATH
/www/wwwroot/yemusocket/extend/
VENDOR_PATH
/www/wwwroot/yemusocket/vendor/
RUNTIME_PATH
/www/wwwroot/yemusocket/runtime/
LOG_PATH
/www/wwwroot/yemusocket/runtime/log/
CACHE_PATH
/www/wwwroot/yemusocket/runtime/cache/
TEMP_PATH
/www/wwwroot/yemusocket/runtime/temp/
CONF_PATH
/www/wwwroot/yemusocket/public/../application/
ThinkPHP
V5.0.23
{ 十年磨一剑-为API开发设计的高性能框架 }
|