title: header("location") causes [500] internal server error?
body: <p>I cannot figure out what could be causing this error. My Apache log is not recording any errors in the access log or error log regarding the page, yet somehow whenever I uncomment the <code>header()</code> line I get a 500 Internal Server Error. It can't be coming from PHP's fatal error when content is outputted before <code>header()</code> is called, that wouldn't cause a 500 would it?</p>
  
  <pre><code>header("Location: /offices/page-".ceil($cache-&gt;size() / 15));
  </code></pre>
  
  <p>I tested <code>$cache-&gt;size()</code> and it's returning 22, so it should append a 2 to the end of the string and redirect. I did have <code>ob_start()</code> called before the <code>header()</code> but I tried calling <code>ob_end_clean()</code> right before it and it still did nothing...</p>
  
  <p>I even tried putting <code>header("Location: /offices");</code> at the very beginning of the file and it still gives me a 500.</p>