Unable to locate the specified class: Session.php |
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???
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. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Load session library by autoload file
$autoload['libraries'] = array('database', 'session', 'form_validation','upload','recaptcha');
You do know that this thread is over 2 months old right?
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |