When I open my website I only see a white screen. Why? Print

  • 0

Encountering  a white screen upon opening a website usually indicates there is a PHP error with the website. Displaying PHP errors has been disabled by default for security reasons.

In order to display errors, please follow these steps:

  1. Open cpanel and click on File Manager.
  2.  Open the public_html directory. If your website is in a subdirectory, then navigate there.
  3.  From the top-right corner click on Settings.
  4.  Check the box for Show Hidden Files and then click save.
  5. You should now see the .htaccess file. If you do not see it, create it.
  6. Open the .htaccess file and copy the code blew into it:
    php_flag display_errors on
  7.  Save the .htaccess file and exit.

Now upon refreshing your website, you can see the PHP errors. Make sure to reverse these steps after you have resolved the issue.

 

 

 


Was this answer helpful?

« Back