Welcome Guest, Not a member yet? Register   Sign In
Unable to locate session.php
#1

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'); 
Reply
#2

Are you sure that your paths are correct? It works fine on my system.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(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
Reply
#4

sess_save_path should be your database table name, also make sure that if you upgraded that you copied the whole system directory over.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB