a blank page means that a php error is occurring.
add the following code at line 1 to turn on error reporting, once we know the error, we will be able to tell more about what is causing it:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>