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?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

The Community Support team wrote the article you're looking at now. We like to think it's perfect, but we're sure you have some suggestions. Please, let us know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Email from unknown party re domain transfer
  2. how to make new website with single account.
  3. Internal Server Error

Support 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.