Welcome Guest, Not a member yet? Register   Sign In
Unable to locate the specified class: Session.php
#6

(This post was last modified: 11-11-2014, 11:27 PM by agriz.)

I am sorry. In 3.0
i saw this following line

Code:
| Prototype:
|
|    $autoload['drivers'] = array('session', 'cache');

That is why i was using drivers.

In doc,

Code:
To initialize the Session class manually in your controller constructor, use the $this->load->driver function:

$this->load->driver('session');
Once loaded, the Sessions library object will be available using:

$this->session

So, should i use $this->load->library('session'); ?

I disabled hooks.
autoloaded session library.

Code:
Fatal error: Class 'CI_Driver_Library' not found in C:\codeigniter\system\libraries\Session\Session.php on line 64
Reply


Messages In This Thread
RE: Unable to locate the specified class: Session.php - by agriz - 11-11-2014, 11:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB