Unable to locate the specified class: Session.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: Unable to locate the specified class: Session.php (/showthread.php?tid=69100) |
Unable to locate the specified class: Session.php - codebigneer - 10-08-2017 I have created a hook Code: $hook['pre_controller'] = array( My hook File AdminAuthorization.php Code: class AdminAuthorization extends CI_Controller My autoload.php file $autoload['libraries'] = array('session','database','email'); Still I am getting the error Unable to locate the specified class: Session.php Help me if I am doing anything wrong??? RE: Unable to locate the specified class: Session.php - InsiteFX - 10-09-2017 Looks like your hook structure is wrong try this one: PHP Code: $hook['pre_controller'][] = array( You may also need to use a post_controller hook. RE: Unable to locate the specified class: Session.php - XtreemDeveloper - 12-21-2017 Load session library by autoload file $autoload['libraries'] = array('database', 'session', 'form_validation','upload','recaptcha'); RE: Unable to locate the specified class: Session.php - InsiteFX - 12-21-2017 You do know that this thread is over 2 months old right? RE: Unable to locate the specified class: Session.php - poza - 05-02-2019 I am having same issue... please i need help urgently |