Welcome Guest, Not a member yet? Register   Sign In
issue with controllers Help!!! :(

[quote author="CI_avatar" date="1261469663"]you did not initialize your controller

class Blog extends Controller
   //you missed this one
   //function Blog()
   //   parent::Controller();    

   function index()
      echo “Hello world!”;      

Yup thats true..

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

Theme © iAndrew 2016 - Forum software by © MyBB