安装完毕,提示错误
Call Stack
*/
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
- in Think.php line 82
- at Think->fetch('./template//pc/index...', ['tpto' => [['id' => 1, 'tid' => 0, 'name' => '设计素材', ...], ['id' => 2, 'tid' => 0, 'name' => '灵感酷站', ...], ['id' => 3, 'tid' => 0, 'name' => '高清图库', ...], ...], 'GZdh' => [['id' => 1, 'name' => '新闻', 'links' => '/news.html', ...], ['id' => 2, 'name' => '排行榜', 'links' => '/top.html?type=today', ...], ['id' => 3, 'name' => '社区', 'links' => 'https://www.guojiz.c...', ...]], 'guojizgg' => [['id' => 5, 'pic' => '/uploads/20190613/9a...', 'time' => '1560080841', ...], ['id' => 2, 'pic' => '/uploads/20190613/61...', 'time' => '1559729270', ...], ['id' => 1, 'pic' => '/uploads/20190613/cf...', 'time' => '1559657278', ...]], ...], []) in View.php line 163
- at View->fetch('', ['tpto' => [['id' => 1, 'tid' => 0, 'name' => '设计素材', ...], ['id' => 2, 'tid' => 0, 'name' => '灵感酷站', ...], ['id' => 3, 'tid' => 0, 'name' => '高清图库', ...], ...], 'GZdh' => [['id' => 1, 'name' => '新闻', 'links' => '/news.html', ...], ['id' => 2, 'name' => '排行榜', 'links' => '/top.html?type=today', ...], ['id' => 3, 'name' => '社区', 'links' => 'https://www.guojiz.c...', ...]], 'guojizgg' => [['id' => 5, 'pic' => '/uploads/20190613/9a...', 'time' => '1560080841', ...], ['id' => 2, 'pic' => '/uploads/20190613/61...', 'time' => '1559729270', ...], ['id' => 1, 'pic' => '/uploads/20190613/cf...', 'time' => '1559657278', ...]], ...], ['__ROOT__' => '', '__URL__' => '/index/index', '__STATIC__' => '/static', ...]) in View.php line 36
- at View->output('') in Response.php line 309
- at Response->getContent() in Response.php line 94
- at Response->send() in start.php line 19
- at require('/www/wwwroot/tmdbox....') in index.php line 20
GET DataemptyPOST DataemptyFilesempty
CookiesPHPSESSID g6erq97s597768ro6679tlk514 Sessionempty
Server/Request DataUSER www HOME /home/www HTTP_COOKIE PHPSESSID=g6erq97s597768ro6679tlk514 HTTP_CONNECTION Keep-Alive HTTP_HOST www.tmdbox.com HTTP_ACCEPT_ENCODING gzip, deflate HTTP_UPGRADE_INSECURE_REQUESTS 1 HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_LANGUAGE zh-CN HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134 PATH_INFOREDIRECT_STATUS 200 SERVER_NAME tmdbox.com SERVER_PORT 80 SERVER_ADDR 172.16.0.10 REMOTE_PORT 40264 REMOTE_ADDR 120.229.11.225 SERVER_SOFTWARE nginx/1.8.1 GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 DOCUMENT_ROOT /www/wwwroot/tmdbox.com DOCUMENT_URI /index.php REQUEST_URI / SCRIPT_NAME /index.php CONTENT_LENGTHCONTENT_TYPEREQUEST_METHOD GET QUERY_STRINGSCRIPT_FILENAME /www/wwwroot/tmdbox.com/index.php FCGI_ROLE RESPONDER PHP_SELF /index.php REQUEST_TIME_FLOAT 1561231985.4657 REQUEST_TIME 1561231985 Environment Variablesempty
ThinkPHP ConstantsWEB_URLAPP_PATH ./application/ BIND_MODULE index THINK_VERSION 5.0.24 THINK_START_TIME 1561231985.4661 THINK_START_MEM 383152 EXT .php DS / THINK_PATH /www/wwwroot/tmdbox.com/thinkphp/ LIB_PATH /www/wwwroot/tmdbox.com/thinkphp/library/ CORE_PATH /www/wwwroot/tmdbox.com/thinkphp/library/think/ TRAIT_PATH /www/wwwroot/tmdbox.com/thinkphp/library/traits/ ROOT_PATH /www/wwwroot/tmdbox.com/ EXTEND_PATH /www/wwwroot/tmdbox.com/extend/ VENDOR_PATH /www/wwwroot/tmdbox.com/vendor/ RUNTIME_PATH /www/wwwroot/tmdbox.com/runtime/ LOG_PATH /www/wwwroot/tmdbox.com/runtime/log/ CACHE_PATH /www/wwwroot/tmdbox.com/runtime/cache/ TEMP_PATH /www/wwwroot/tmdbox.com/runtime/temp/ CONF_PATH ./application/ CONF_EXT .php ENV_PREFIX PHP_ IS_CLI false IS_WIN false ThinkPHP
V5.0.24
{ 十年磨一剑-为API开发设计的高性能框架 }
最新会员
- 精选帖子
- 新版4.2授权码的填写方式 6869
- 国际导航30多款模板进行免费 8684
- 国际导航采集扩展 13362
- api接口使用教程【v3.1.3】 9173
- 使用本系统搭建违法,触犯,站点公告 9964
- 虚拟主机安装出现数据连接失败解决方案 21529
- 国际网址导航新版标签大全 19354
- 关于2.4之前版本想转3.0新版教程 10280
- GUOJIZ国际网址导航系统全新V5.8(2022-04-26) 78274
- 热门帖子
- 使用本系统搭建违法,触犯,站点公告 9964
- MyuCMS社区+商城内容管理系统V2.0正式版 9677
- 广告添加万能调用方法 9669
- api接口使用教程【v3.1.3】 9173
- Guojiz导航系统手机模板【xin】 9163
- 国际导航30多款模板进行免费 8684
- Guojiz导航系统升级到2.3.6丁【20191015】 8629
- 关于安装后登录后台账号密码 8136
- 安装完成 但是后台无法打开, 7990