[eluser]DJMOHNL[/eluser]
[quote author="CI_avatar" date="1261469663"]you did not initialize your controller
Code:
class Blog extends Controller
{
//you missed this one
//function Blog()
//{
// parent::Controller();
//}
function index()
{
echo “Hello world!”;
}
}
[/quote]
Yup thats true..
Code:
function Test()
{
// you missed this one..
parent::Controller();// must be inside main controller function!
// Below here you load libraries, helpers, configuration files and so on.
$this->load->helper('myhelper'); // example
}