Welcome Guest, Not a member yet? Register   Sign In
Pager Error Invalid file: Pagers(slash)bs_full.php
#15

(This post was last modified: 02-23-2021, 03:53 AM by Corsari.)

(02-23-2021, 02:10 AM)InsiteFX Wrote: Your problem is this the bs_full.php is looking in the Pager folder but you have named it Pagers

Make sure that the Pager file paths match the folder paths.

Rename the Pagers folder to Pager and it should work.

hello InsiteFX
I tried this to give you some feedback ("Make sure that the Pager file paths match the folder paths." <--- though it was anyway matching since Pagers was the directory and Pagers was written inside the Pager.php config file, anyway going on..)

- renamed directory Pagers to Pager
- changed Pager.php in \App\Config to this code:

PHP Code:
    public $templates = [
        
'default_full'   => 'CodeIgniter\Pager\Views\default_full',
        
'default_simple' => 'CodeIgniter\Pager\Views\default_simple',
        
'default_head'   => 'CodeIgniter\Pager\Views\default_head',
        
'bs_full'        => 'Pager\bs_full',
        
'bs_simple'      => 'Pager\bs_simple',
    ]; 


same exception error, so at the moment I revert it back to Kenjis suggestion
Reply


Messages In This Thread
RE: Pager Error Invalid file: Pagers(slash)bs_full.php - by Corsari - 02-23-2021, 03:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB