Disclaimer - I am not very experienced with PHP so forgive me if I am confused.
I found an issue where header("location:index.php"); hung, or failed. I did some basic research on how the header() function works but I still don't understand it well enough to tie into here.
Anyway, I found a solution that worked - adding ob_start(); at the top of the php script in login.php seemed to fix it. I don't understand output buffers much either, but seeing as it is now working, that's what I'm sticking with until somebody has a better idea.
Regardless, I am posting this here because it did not work out of the box, and I hope to help out the next guy and keep him from spending hours trying to figure out why this isn't working.
Disclaimer - I am not very experienced with PHP so forgive me if I am confused.
I found an issue where
header("location:index.php");
hung, or failed. I did some basic research on how theheader()
function works but I still don't understand it well enough to tie into here.Anyway, I found a solution that worked - adding
ob_start();
at the top of the php script inlogin.php
seemed to fix it. I don't understand output buffers much either, but seeing as it is now working, that's what I'm sticking with until somebody has a better idea.Regardless, I am posting this here because it did not work out of the box, and I hope to help out the next guy and keep him from spending hours trying to figure out why this isn't working.