Codeigniter:Grocery CRUD模板不存在

时间:2013-04-11 08:51:04

标签: codeigniter codeigniter-2

帮助......我不知道从哪里开始调试
我下载了codeigniter杂货店。安装了每个要求。现在它给了我。
grocery crud template doesn't exist
libraries / grocery_crud.php
在第1388行...

修改

if(!file_exists($this->theme_path.$this->theme.'/views/list_template.php'))
        {
            throw new Exception('The template does not exist. Please check your files and try again.', 12);
            die();
        }

它与此代码有关.....我无法找到list_template.php 甚至在下载的zip文件中

1 个答案:

答案 0 :(得分:2)

dump($this->theme_path);dump($this->theme);并检查这些对象中的路径,如果根路径正常,则检查您的目录是否包含此文件

your_project_folder\assets\grocery_crud\themes\datatables\views\list_template.php
your_project_folder\assets\grocery_crud\themes\flexigrid\views\list_template.php