title: CakePHP: Cannot modify header information - headers already sent by
body: <p>Complete error:</p>
  
  <pre><code>Warning (2): Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/trunk/dafe/cake/basics.php:355) [CORE/cake/libs/controller/controller.php, line 743]
  </code></pre>
  
  <p>As far as I can tell it happens after I try to redirect. I know it's caused by a whitespace but I can't find it anywhere, where does this error tend to be?</p>
  
  <p>EDIT: Forgot to mention, this problem only happens on my Mac, my partner working on windows does not have this issue, redirection works appropriately for him. </p>