Kevin Florenz Daus
Kevin Florenz Daus

Reputation: 598

Codeigniter : Grocery CRUD template doesn't exist

help ...I don't know where to start debugging
I downloaded codeigniter grocery crud . installed every requirement. Now its giving me .
grocery crud template doesn't exist
libraries / grocery_crud.php
at line 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

Upvotes: 0

Views: 1255

Answers (1)

M Khalid Junaid
M Khalid Junaid

Reputation: 64476

dump($this->theme_path); and 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

Upvotes: 2

Related Questions