安装完毕,提示错误

BUG反馈
4 964
http://www.tmdbox.com[0] TemplateNotFoundException in Think.php line 82模板文件不存在:./template//pc/index_index.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('./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
  3. 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
  4. at View->output('') in Response.php line 309
  5. at Response->getContent() in Response.php line 94
  6. at Response->send() in start.php line 19
  7. at require('/www/wwwroot/tmdbox....') in index.php line 20
Environment Variables

GET DataemptyPOST DataemptyFilesempty

Cookies

PHPSESSID g6erq97s597768ro6679tlk514 Sessionempty

Server/Request Data

USER 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 Constants

WEB_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开发设计的高性能框架 }


  • 梦雨 梦雨 高级授权
    2019-06-23 07:14:56
    #1楼 回复

    开启伪静态看下

  • 梦雨 梦雨 高级授权
    2019-06-23 02:39:39
    #2楼 回复

    重新下载新版安装

  • 梦雨 梦雨 高级授权
    2019-06-23 06:33:30
    #3楼 回复

    网站配置基本配置里面要填写东西不能为空



  • 桔子 桔子
    2019-06-24 01:02:48
    #4楼 回复

    搞定了,模板哪里要写默认default


  • 自助授权 官方qq群826939491 Guojiz网址新版演示 Guojiz成功案例展示 影视速看APP
    精选帖子
    国际导航采集扩展 108
    Guojiz下载系统V1.2版本 983
    api接口使用教程【v3.1.3】 654
    使用本系统搭建违法,触犯,站点公告 675
    虚拟主机安装出现数据连接失败解决方案 555
    国际网址导航新版标签大全 2141
    关于2.4之前版本想转3.0新版教程 1657
    国际网址导航全新3.2版本下载(20200316) 6084
    Guojiz网址导航系统V2.3.7正式版 1624
    热门帖子
    Guojiz下载系统V1.2版本 983
    网站地图打开是代码如何解决? 98
    这是不是BUG啊,求助 求助 975
    安装完毕,提示错误 963
    导航系统的ioc图片建议 96
    https网站引入http文件导致提示证书不安全,解决方案 957
    提一个小建议,嘿嘿 952
    版面两边能不能增加个广告位呢? 94
    网站导航栏意见,望采纳! 94