I have some error with my pagination, and it's my controller :
$data =
[
'title' => "The Memories Story - Photography",
'validation' => $this->validation,
'photos' => $this->CoverFotoModel->getPhotos(),
'pager' => $this->CoverFotoModel->pager,
'provinces' => $this->ProvinsiModel->provinsi()
];
return view('index/photograph', $data);
My Model :
public function getPhotos()
{
return $this->table('cover_foto')
->join('provinces', 'provinces.id=cover_foto.provinsi_cover')
->join('regencies', 'regencies.id=cover_foto.kabupaten_cover')
->paginate(8, 'cover_foto');
}
and this message error :
CodeIgniterViewExceptionsViewException
Invalid file: {0}
SYSTEMPATH/Exceptions/FrameworkException.php at line 21
SYSTEMPATH/View/View.php : 228 — CodeIgniterExceptionsFrameworkException::forInvalidFile ( arguments )
This the arguments:
$path AppViewsPagersphoto_pagination.php
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…