title: Magento - Mage::getModel not working on Linux server
body: <p>I'm struggling with an issue for which I can't find an explanation. I have two development environments that I use for my projects. I created a simple module for Magento and I tested it on one environment. After overcoming all Magento's complications, the module works as expected. This is on XAMPP.</p>
  
  <p>I then copied the module to the development Linux environment, on a hosted server, and it crashes miserably. I did some debugging, and I found out that a call to Mage::getModel() returns <em>bool(false)</em> instead of the instance of the Model I requested.</p>
  
  <p>I double checked all files and directories, and they match. Database is not involved (not from my side, at least, I don't need tables) and both environments have only me as a User, with Admin permissions.</p>
  
  <p>Any suggestion on where should I start looking is welcome, thanks.</p>
  
  <p><strong>Added on 2012/07/09</strong><br>
  Model contains a class named <code>Diego_ClientCustomModule_Model_ExternalUserData</code>, which is invoked with <code>$model = Mage::getModel('clientcustommodule/externaluserdata');</code>. Model file resides in <code>Diego_ClientCustomModule\code\local\Diego\ClientCustomModule\Model\</code>. The curious thing is:</p>
  
  <ul>
  <li>If model file is named <code>Externaluserdata.php</code>, it works.</li>
  <li>If model file is named <code>ExternalUserData.php</code> (i.e. it matches the class name), it doesn't work.</li>
  </ul>
  
  <p>I'm aware of case sensitivity stuff etc, but, if the alias is all lower-case, how comes it can load a file having the first letter capitalized?</p>
  
  <p><strong>Configuration file</strong>
      
      
        
          
            0.1.0
              
        
        
          
            
              Diego_ClientCustomModule_Helper
            
          
          
            
              Diego_ClientCustomModule_Model
            
          
          
            
              Diego_ClientCustomModule_Block
            
          
        
        
          
            
              standard
              
                Diego_ClientCustomModule
                ClientCustomModule
              
            
          
        
      </p>