a 500 error message is very vague.
try adding the following code to line one of the problem page to turn on error reporting:
<?php
error_reporting(E_All);
ini_set('display_errors','on');
?>
once we know the actual error, we can begin debugging the cause.