headers already sent debug http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php