CodeIgniter Forums
Pager Error Invalid file: Pagers(slash)bs_full.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Pager Error Invalid file: Pagers(slash)bs_full.php (/showthread.php?tid=78662)

Pages: 1 2 3


RE: Pager Error Invalid file: Pagers(slash)bs_full.php - includebeer - 09-10-2021

(09-07-2021, 11:11 AM)PwrSrg Wrote: I am running into a VERY SIMILAR (same?) issue.  I spent the last day debugging the hell out of this, and am starting to think it is a PERMISSIONS issue.

Yes, it is a permissions issue. Error message says file is not readable, exceptions occurs at line 60 of DotEnv.php. At this line there's a call to is_readable(). The description is "Tells whether a file exists and is readable".
Make sure the file has not only the right permission (read), but also the right group and owner.


RE: Pager Error Invalid file: Pagers(slash)bs_full.php - akashbadone - 12-04-2021

(02-22-2021, 04:08 PM)kenjis Wrote: Try.
PHP Code:
        public $templates = [
                ...
                'bs_full'   => 'App\Views\Pager\bs_full',
                'bs_simple' => 'App\Views\Pager\bs_simple',
 ]; 

I have been stuck in the same issue for a long time, but thanks to you and your solution, this solution helped me solving the problem.

Thanks a lot.