title: Yosemite / Mamp Pro / CodeIgniter Errors
body: <p>After i installed Yosemite, i cloned my repo from bitbucket and i setup custom domain with Mamp pro.</p>
  
  <p>I hove this error:</p>
  
  <pre><code>Severity: Notice
  
  Message: Only variable references should be returned by reference
  
  Filename: core/Common.php
  
  Line Number: 257
  </code></pre>
  
  <p>and another Error :</p>
  
  <pre><code>Severity: Warning
  
  Message: Cannot modify header information - headers already sent by (output started at
  /site/system/core/Exceptions.php:185)
  
  Filename: libraries/Session.php
  
  Line Number: 675
  </code></pre>
  
  <p>i looked around but the fix to rename the envvars file to __envvars doesn't work for me. By the way in the Mamp/Library/bin folder i have to files 1: <em>envvars  2: envvars-std</em></p>
  
  <p>How can i resolve this errors ?</p>
  
  <p>Thanks</p>