title: error Deprecated: __autoload() is deprecated when transfer site magento 1.9 server to localhost
body: <p>I've been going crazy for days. I installed Windows Xampp on my PC and I copied my website (the whole folder from FTP) and the database in the htdocs folder.</p>
  
  <p>Furthermore, the file <code>C:\xampp\htdocs\mysite\app\code\core\Mage\Core\Model\Layout.php</code> does not exist, only 3 files called <code>Data</code>, <code>element</code> and <code>update</code>. </p>
  
  <p>I have tried to use spl_autoload_register() instead, but it doesn't work.</p>
  
  <p>Does anyone have any clue of what's wrong?</p>
  
  <pre><code>Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in C:\xampp\htdocs\mysite\app\code\core\Mage\Core\functions.php on line 60
  
  Fatal error: Uncaught Error: Function name must be a string in C:\xampp\htdocs\mysite\app\code\core\Mage\Core\Model\Layout.php:555 Stack trace: 
  #0 C:\xampp\htdocs\mysite\app\code\core\Mage\Core\Controller\Varien\Action.php(390): Mage_Core_Model_Layout-&gt;getOutput() 
  #1 C:\xampp\htdocs\mysite\app\code\core\Mage\Cms\Helper\Page.php(137): Mage_Core_Controller_Varien_Action-&gt;renderLayout() 
  #2 C:\xampp\htdocs\mysite\app\code\core\Mage\Cms\Helper\Page.php(52): Mage_Cms_Helper_Page-&gt;_renderPage(Object(Mage_Cms_IndexController), 'home') 
  #3 C:\xampp\htdocs\mysite\app\code\core\Mage\Cms\controllers\IndexController.php(45): Mage_Cms_Helper_Page-&gt;renderPage(Object(Mage_Cms_IndexController), 'home') 
  #4 C:\xampp\htdocs\mysite\app\code\core\Mage\Core\Controller\Varien\Action.php(418): Mage_Cms_IndexController-&gt;indexAction() 
  #5 C:\xampp\htdocs\mysite\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action-&gt;dispatch('index') 
  #6 C:\xampp\htdocs\mysite\app\code\core\Mage\Core\Cont in C:\xampp\htdocs\mysite\app\code\core\Mage\Core\Model\Layout.php on line 555
  </code></pre>