CodeIgniter Forums

Full Version: Unable to locate session.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good day to All,

Currently, i am using CI 3.1.2.
There is an error like below.

"unable to locate the specified class: Session.php"

Below is my code. ci_sessions table also created.
Please help me if you guy already faced such error.

config.php
PHP Code:
$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE

autoload.php
PHP Code:
$autoload['libraries'] = array('session'); 
Are you sure that your paths are correct? It works fine on my system.
(11-07-2016, 12:08 PM)InsiteFX Wrote: [ -> ]Are you sure that your paths are correct? It works fine on my system.

Dear InsiteFX,

Thank you for your reply.

Last time CI version allows the library to extend CI controller and use all controller functions.
After ci3 migration, that library cause issue.

Regards,
fokhwar
sess_save_path should be your database table name, also make sure that if you upgraded that you copied the whole system directory over.