LoginLogin About

Support » Knowledge Base » General questions » Scripts troubleshooting »

Blank page appears instead of my website

If a blank page appears instead of your website, do the following:

  1. Check whether the file you are opening is not empty. If it is empty, restore the file from a backup.
  2. Make sure that the following PHP parameters have the values recommended below:
    • display_errors sets whether PHP error messages shall be displayed in a browser. To enable error displaying, change its value to On or 1.
    • error_reporting defines what types of diagnostic messages should be displayed in a browser. To enable displaying of all types of messages, change its value to E_ALL. This value is equivalent to 2047 for PHP version 4, 6143 for PHP versions 5.2.* and 30719 for PHP versions 5.3.*.
      More detailed information on allowed values of the error_reporting parameter is available on the official PHP website at http://php.net/manual/en/errorfunc.constants.php.

    Once the parameters' values have been changed, refresh the blank page. Any error messages that may appear will help you understand the cause of the problem and eliminate it.

  3. Clear Smarty cache in WebAsyst Installer section "Diagnostics -> Clear cache". If cache deletion does not work, please follow these instructions to delete cache files manually.