title: Codeigniter Fatal error: Class 'CI_Controller' not found in
body: <p>I am stuck with what seem to be quite common. I have seen plenty of this questions so i know that is relates in some way to the others, however i still can not figure out why i am getting this error<br> I have latest codeigniter <br>
  My controller class</p>
  
  <pre><code>class AddLog extends CI_Controller {
  
  public function __construct(){
      parent::__construct();
  }
  public function occupierLog_add(){
      $this-&gt;load-&gt;view('LogViews/LogIncident_Occupier/AddLogIncident');     
  }
  public function add_log(){
      $newLog = $this-&gt;input-&gt;post(null, true);
      var_dump($newLog);
  }
  </code></pre>
  
  <p>}</p>
  
  <p>my Index html </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Hello&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
     &lt;a href="http://localhost/Concierge/application/controllers/Logs/AddLog.php/AddLog/occupierLog_add"&gt;Log Incident - Occupier&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>So as you can see My Controller AddLog is inside contollers/Logs directory. In one of the methods i am trying to call view which is located in views/LogViews/LogIncident_Occupier/...</p>