CodeIgniter Forums
CI_Controller error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: CI_Controller error (/thread-46331.html)



CI_Controller error - El Forum - 10-27-2011

[eluser]Unknown[/eluser]
Fairly new to CodeIgniter, but am getting a weird problem and hoping the community can help me solve the issue.

I have a controller 'Currency' that is failing to instantiate with a base constructor.

Code:
class Currency extends REST_Controller
{

function __construct()
{
  parent::__construct();

}
}

so tracing through the parent constructor all the way back to the matriarch CI_Controller
everything is peachy keen until it seems to fail on this line:
Code:
$this->load->set_base_classes()->ci_autoloader();

In the CI_Controller __constructor....
Anyone have any idea why that might be happening?


CI_Controller error - El Forum - 10-02-2012

[eluser]Dirk Basiscode[/eluser]
I stumbled upon the same error. In my case it was the missing table ci_sessions. Just wanted to let you know.

Cheers
Dirk