简体   繁体   English

Codeigniter:Grocery CRUD模板不存在

[英]Codeigniter : Grocery CRUD template doesn't exist

help ...I don't know where to start debugging 帮助......我不知道从哪里开始调试
I downloaded codeigniter grocery crud . 我下载了codeigniter杂货店。 installed every requirement. 安装了每个要求。 Now its giving me . 现在它给了我。
grocery crud template doesn't exist
libraries / grocery_crud.php libraries / grocery_crud.php
at line 1388... 在1388行......

EDIT 编辑

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();
        }

It has something to do with this code..... I cant find list_template.php even in the downloaded zip file 它与此代码有关.....即使在下载的zip文件中也找不到list_template.php

dump($this->theme_path); and dump($this->theme); dump($this->theme); and check what is the path in these objects if the root path is ok than check your directory that you have this file or not 并检查这些对象的路径,如果根路径正常,则检查您的目录是否有此文件

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM