title: codeigniter model is not loading - 500 internal server error
body: <p>i have a machine on which the model is not loading at all, its 500 internal server error all the time</p>
  
  <p>here is my controller</p>
  
  <pre><code>&lt;?php
  /*
   *
   * Controller to activate new subscriber with details from partner initiated activation
   *
   */
  
  class PartnerActivation extends CI_Controller
  {
      /*
       *
       * Constructor that will call automatically
       *
       * Helper Loading for url and form which is inbuilt feature of code igniter we are using
       *
       *
       */
      public function __construct()
  
      {
          parent::__construct();
  
          $this-&gt;load-&gt;helper(array('url','form'));   
      }
  
      public function index()
      {
  
          if(isset($_POST['invoicedate']))
          {
              $invoicedate = $_POST['invoicedate'];
          }
          else 
          {
              $invoicedate = '';
          }
  
  
          if(isset($_POST['deviceid']))
          {
              $deviceid = $_POST['deviceid'];
          }
          else 
          {
              $deviceid = '';
          }
  
              //save all these fields to a table, and do a http request
              $this-&gt;load-&gt;model('activation_model','activationmodel',TRUE);
              $this-&gt;activationmodel-&gt;addPartnerActivation($deviceid,$invoicedate);
  
  
      }
  }
  </code></pre>
  
  <p>and here is my model - filename is Activation_model.php</p>
  
  <pre><code>&lt;?php
  class Activation_model extends CI_Model
  {
  
  
  /*
   * partner initiated activation, store this in the database
   */
  public function addPartnerActivation($deviceid,$invoicedate)
  {
      //never reaches here
          return true;
  }
  
  }
  </code></pre>
  
  <p>its grinding my gears</p>