The requested file could not be loaded: products / list_table.php

0

I'm trying to display a view data coming from the database, when I tried to run the following message appeared:

Um erro encontrado    
Não foi possível carregar o arquivo solicitado: produtos / lista_tabela.php

products = name of my folder table_list = name of my view

and no controller:

$this->load->view("produtos/lista_tabela", $dados); 

What could be causing this problem?

    
asked by anonymous 04.10.2018 / 22:13

1 answer

1

Hello, one of the possible reasons would be that you entered the wrong file, check again if all the names are correct.

Another reason is that as far as I know, the codeigniter only looks for view files with the .php , so if your lista_tabela is as .html , change to .php and see if it works .

    
08.10.2018 / 03:45