How to make Magento site display an error message instead of a blank page

Step 1: Log in to your cPanel.
Step 2: Click File Manager under Files panel.
Step 3: Locate your Magento directory.
Step 4: Select index.php and edit the file.
Step 5: Click Edit.
Step 6: You will be prompted with a pop up window. Click Edit.
Step 7: View the content of the index file and check if it has the following comment.

#ini_set(‘display_errors’, 1);

You need to edit the file and remove the hashtag (#). In case it does not have the comment, insert the following code on the first line:

@ini_set(‘display_errors’, 1);

Step 8: Click Save Changes button.

Related Articles