add the following code at line 1 to turn on error reporting:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
i bet you get the headers already sent error.
at line 89, you include the init.php file:
include($_SERVER['DOCUMENT_ROOT'].'/init.php');
in the init.php file, you have some HTML that is being generated.
this HTML is being output to the page before the doctype tag (it also includes it's own doctype tag, causing 2 doctypes, and head sections which is bad HTML format) , and also before the header function to redirect the page.
the header function will fail if there is any output on the page before it.