Fixes for header.php if database connection is lost