title: Codeigniter: unable to locate the model
body: <p>I am having a real funny issue loading the model on my AWS ec2 instance.</p>
  
  <p>AWS ec2 Instance is working fine and runs php 5.6 like my localhost.</p>
  
  <p>on localhost the model works perfectly fine, I upload the file to my webpage, and it breaks with the following error:</p>
  
  <pre><code>An uncaught Exception was encountered
  
  Type: RuntimeException
  
  Message: Unable to locate the model you have specified: Dashboard_model
  
  Filename: /var/www/html/poe_dashboard/system/core/Loader.php
  
  Line Number: 314
  
  Backtrace:
  
  File: /var/www/html/poe_dashboard/application/controllers/Dashboard.php
  Line: 7
  Function: __construct
  
  File: /var/www/html/poe_dashboard/index.php
  Line: 292
  Function: require_once
  </code></pre>
  
  <p>To me this does not make sense because if it works locally, with the same PHP version, what is the problem on live?</p>
  
  <p>Class names and file names are all correct according to the codeigniter standards.</p>
  
  <p>here is the link: <a href="http://www.haddad.design/poe_dashboard/" rel="nofollow">http://www.haddad.design/poe_dashboard/</a></p>
  
  <p>If i don't choose to load my model at all and just run the controller to load the view, it loads as it normally should.</p>
  
  <p>Any suggestions?</p>
  
  <p>Controller:</p>
  
  <pre><code>class Dashboard extends CI_Controller {
  
  function __construct() {
      parent::__construct();
      $this-&gt;load-&gt;model('dashboard_model');
  }
  </code></pre>
  
  <p>Filename:</p>
  
  <pre><code>dashboard_model.php
  </code></pre>
  
  <p>Model:</p>
  
  <pre><code>class Dashboard_model extends CI_Model {
  
  public function __construct() {
      parent::__construct();
  }
  </code></pre>