CodeIgniter Forums

Full Version: CI_Controller error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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?

El Forum

[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