安装完毕,提示错误

BUG反馈
4 17293
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-24 01:02:48
    #1楼 回复

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


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

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



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

    重新下载新版安装

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

    开启伪静态看下

  • 自助授权 官方qq群826939491
    精选帖子
    新版4.2授权码的填写方式 6964
    国际导航30多款模板进行免费 8775
    国际导航采集扩展 13452
    api接口使用教程【v3.1.3】 9265
    使用本系统搭建违法,触犯,站点公告 10067
    虚拟主机安装出现数据连接失败解决方案 21745
    国际网址导航新版标签大全 19461
    关于2.4之前版本想转3.0新版教程 10383
    GUOJIZ国际网址导航系统全新V5.8(2022-04-26) 78937
    热门帖子
    MyuCMS社区+商城内容管理系统V2.0正式版 9783
    广告添加万能调用方法 9765
    api接口使用教程【v3.1.3】 9265
    Guojiz导航系统手机模板【xin】 9260
    国际导航30多款模板进行免费 8775
    Guojiz导航系统升级到2.3.6丁【20191015】 8727
    关于安装后登录后台账号密码 8237
    安装完成 但是后台无法打开, 8078
    收集导航案例 为5.0做发布演示准备 7935