title: CakePHP Error: Unable to configure the session, setting session.auto_start failed
body: <p>I'm getting this error:</p>
  
  <p><code>Error: [CakeSessionException] Unable to configure the session, setting session.auto_start failed.</code></p>
  
  <p>I'm using Cakephp 2.2.4.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>It seems this guy had the same issue: <a href="https://stackoverflow.com/q/9583573/434171">Cakephp Session error on live site</a> and using this</p>
  
  <pre><code>if(!isset($_SESSION)) session_start(); 
  </code></pre>
  
  <p>inside <code>beforefilter</code> method of <code>AppController</code> fix the error.</p>
  
  <p>So my question is: why this happened? Everything was working fine and then suddendly this error appeared.
  Additionally I've realized that the folder <code>app/tmp/sessions</code> is empty and I have configured the session to be handled by Cake (in <code>Config/core.php</code>).</p>