Thinkphp 在windows运行正常,上传至Linux服务器器,出现视图不催在错误的解决办法

出现时图不存在;

肯可能是因为  是,视图模板文件的大小写问题;

例如在控制器内写的展示视图文件为 小驼峰命名; goodsList  ; 则在视图文件命名是,尽量保持一致;

class GoodsController extenfs Controller{

    public function goodsList()

    {

    $this->display();

    }

}

View/Goods/goodsList.html

原文地址:https://www.cnblogs.com/haoxuanchen2014/p/8067517.html