Magento: View Errors on a Completely Blank Page

Symptom

When navigating to a specific page in Magento the page is completely blank; there is no Magento navigation bar, errors or anything at all on the page.

Cause

An error has occurred on the page that is not being displayed by the default configuration.

Solution

To display the error message that is being hidden the index.php page will need to be edited.

By default the option to display errors is hidden in this PHP file. This is the line that is commented out by default:

#ini_set('display_errors', 1);

Removing the hash symbol (AKA: pound sign) will enable the errors to be displayed:

ini_set('display_errors', 1);

Save the file and reload the page that was being displayed as a blank page. An error message should now be displayed.

Remember to change the index file back when finished!