Welcome Guest, Not a member yet? Register   Sign In
Getting error in Codeigniter 3.1.4
#1

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

Hello,
I am getting above error while adding "session" in auto load.
I am using hooks. so when I turn off hooks it is working fine.

+---- Hook Class-------+
Code:
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class System extends CI_Controller {
}
Reply
#2

Looks like the session library isn't loaded because autoloading is occurring after your hook.

I'd also recommend sticking to the latest available stable version which is version 3.1.3
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB