title: Fatal error: Call to a member function getModelInstance() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/magento/app/Mage.php on line 463
body: <p>I install magento 1.9.0.0 and copy to my xampp htdocts when I run localhost/magento this error shows,i've done the solutions but it didn't work.   </p>
  
  <pre><code>Fatal error: Call to a member function getModelInstance() on a non-object in    
   /Applications/XAMPP/xamppfiles/htdocs/magento/app/Mage.php on line 463
  </code></pre>
  
  <p>Here is the code script:</p>
  
  <pre><code>public static function getModel($modelClass = '', $arguments = array())
    {
      return self::getConfig()-&gt;getModelInstance($modelClass, $arguments);
    }
  </code></pre>