我正在使用codeigniter,但每次我尝试加载分页库时,我的应用程序都不再起作用了。我试图在自动加载文件中加载构造函数,但我有同样的错误。
public function index($id = null){
if(!$id) show_404();
$aux = decryptURL($id, 'anuncios');
$getAnuncios = $this->general_model->getProductList($aux);
$getSubcategorieName = $this->general_model->getSubcategorieName($aux);
$getResultNumber = $this->general_model->getTotalResultList($aux);
$this->load->library('pagination');
$config['base_url'] = base_url().'anuncioslist/'.$id.'/';
$config['total_rows'] = $getResultNumber;
$config['per_page'] = 5;
$this->pagination->initialize($config);
// ----> HEADER
$this->header_information();
$this->layout->alernative_view('anuncios_list', compact("getAnuncios", "getSubcategorieName", "getResultNumber"));
$this->layout->alernative_view('footer');
}
`
ERROR。
Warning: include(/Users/Manuel/Sites/anuncios/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /Users/Manuel/Sites/anuncios/system/core/Exceptions.php on line 269
Warning: include(): Failed opening '/Users/Manuel/Sites/anuncios/application/views/errors/html/error_php.php' for inclusion (include_path='.:') in /Users/Manuel/Sites/anuncios/system/core/Exceptions.php on line 269
Warning: include(/Users/Manuel/Sites/anuncios/application/views/errors/html/error_php.php): failed to open stream: No such file or directory in /Users/Manuel/Sites/anuncios/system/core/Exceptions.php on line 269
Warning: include(): Failed opening '/Users/Manuel/Sites/anuncios/application/views/errors/html/error_php.php' for inclusion (include_path='.:') in /Users/Manuel/Sites/anuncios/system/core/Exceptions.php on line 269