this is bad code on the page.
you added the error reporting code missing a "," character.
at line 1 you have:
?php error_reporting(E_ALL); ini_set('display_errors','on'); ?>
that code should be:
<?php error_reporting(E_ALL); ini_set('display_errors','on'); ?>