You should enable error reporting by putting in this php code at the top of your page:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
This should let you know what the problem is, if you have any trouble getting past the error let us know what it says.