Blank page install.php wordpress hosting

We've had a lot of our customers and WordPress users in general have an issue where their site is showing a blank page. This blank page is typically caused by a PHP error. If you have your php.ini file set to hide php errors, you'll get a blank page displayed.

To find your error messages you have two options:

  1. Enable display_errors in your php.ini file
  2. Review your error_log file(s)

Updating your php.ini file to show error messages

To diagnose PHP errors in WordPress, we will place a line of bad code in the site to show what happens when WordPress encounters and error. The image to the right shows my fully functional WordPress website.

Blank page install.php wordpress hosting In this case, the syntax

We will add code to the site to intentionally break the WordPress site for testing purposes. See image to the right where it says "I am forgetting my closing quote ".

Now that we've added the code to intentionally break the website, you will see the WordPress website displays a blank page.

Note! We don't see the PHP error message because we have set the directive in the php.ini file to hide error message.

Enabling error_reporting in the php.ini

  1. To fix this, we'll simply need to update it so it shows error message. Edit your php.ini in your public_html folder. To learn how to edit your php.ini page, see our tutorial on "How to update your local php settings ".

Find the error_reporting section in your php.ini like the image to the right.

  • Change the display_errors from Off to On.

    Now, since we have adjusted the display_errors in the php.ini file, as you can see our site now displays the exact error message causing the issue and we can start to troubleshoot it! See snapshot to the right.

    How to view your error_log to find error messages

    One way to find error messages is to view the error_log file in file manager. All PHP error messages are logged to this file. You can use FTP or the File Manager in cPanel to view this file and any of the error messages logged.

    1. Login into your cPanel and go to the public_html in your File Manager and click go .
    2. Find the error_log file.

      Now you can see the list of errors that your website is causing. In this case, the syntax error shows because we broke a line of code intentionally.

      Being able to view the actual error message causing your blank screen is important when trying to resolve this issue. You can either attempt to debug the issue yourself or pass it on to your designer.

    3. Watch this video!

      Related articles

      Reduce page width wordpress hostingDo you want to speed up your WordPress site? Want to know the WordPress optimization tricks that can help you reduce your site load time? In this article, we will show you how to speed up...
      Tutorial seo on page wordpress hostingThe Complete WordPress & 000webhost Guide (2017) WordPress definitely doesn’t require any formal introduction, since it's the most popular blogging platform that quickly made a place of its own...
      Change sample page wordpress hostingCreating a WordPress page is very similar to creating a post. Just remember that pages are intended for static content. Creating a WordPress Page 1. To get started adding a new page to your...
      Insert page break wordpress hostingWhen creating or editing a WordPress page or blog post, you can easily add images at any time using the WordPress Media Uploader tool. Here’s how to add an image, step-by-step, using the media...
      Admin page slow wordpress hostingAsked: 2014-07-25 11:58 am EST Navigating around the WordPress admin site is extremely slow. No matter what page I go to or menu I click on, it takes 8-10 sec to load the page. Doesn't matter...