I've helped several users debug why their website is showing a blank page. The blank page is usually caused by a php error. If Your php.ini is configured to hide this error, you'll get a blank page.

To find these error messages, you can either:

  1. enable display_errors in your php.ini
  2. review your error_log file(s).

Updating your php.ini settings to show error messages

Here is my fully functional WordPress site.
site_is_working

 

After I intentionally make a change to cause a problem, you can see the page goes blank.

bad_code   blank_page

 

I don't see an error message because my php.ini is set to hide error messages. To fix this, I'll update it so that it will show error messages.

errors_off   errors_on

 

Now that my php.ini is setup to show errors, I can see this error:
here_is_the_error

Viewing your error_log to find error messages

There is actually an easier way to find the error messages in question. PHP error messages are logged to a file named error_log. This error_log file will reside in the folder that the php script resides in. You can use FTP or the File Manager to view this file and the error messages logged.

error_log   visual_of_error_log

Getting this error message is very important in resolving the issue. You can either pass it on to your programmer or debug it if the code is yours.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 678

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.