Welcome Guest, Not a member yet? Register   Sign In
My Pagination Work in local, but error when upload to server
#1

(This post was last modified: 01-12-2021, 05:37 AM by MuhAnhar.)

I have some error with my pagination, and it's my controller :

PHP Code:
$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 : 
PHP Code:
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 : 

PHP Code:
CodeIgniter\View\Exceptions\ViewException
Invalid file
: {0}
SYSTEMPATH/Exceptions/FrameworkException.php at line 21 


SYSTEMPATH/View/View.php : 228 — CodeIgniter\Exceptions\FrameworkException::forInvalidFile ( arguments )

PHP Code:
This the an arguments
$path App
\Views\Pagers\photo_pagination.php 

Nothing different between my code in local or server, but i've this error in server, please help.
Reply


Messages In This Thread
My Pagination Work in local, but error when upload to server - by MuhAnhar - 01-12-2021, 05:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB