Error. When you try to access a file that is not in the directory. Check the path in the view carefully
$this->load->view('path');
The default root path function is application / view .
I had the same error. I tried to access such files
$this->load->view('pages/view/file.php');
Actually, I have a Pages class and a function. I built a function with one argument to call any files from the application / view / pages directory. I had the wrong way. The above page path / view / files can be used when you are trying to access the controller. Not for presentation. MVC has given a lot of confusion. I had this problem. I just solve it. Thank you
source share