2.4.3.11. Blank page displayed instead of site

Attention!

The article lists common causes of a white page; in reality, there may be many more reasons. For diagnosing such issues, it is advisable to consult specialists in the field of site development.

A blank page on the site is displayed due to an internal error on the site, which may be triggered by one of the three cases described below.

Try enabling PHP error reporting or logging. Often, this will display the error text, which can assist in identifying the cause of the site's malfunction.

Check the information about disk space.

When the site is opened, it accesses certain scripts of the site. After being called, they may physically overwrite on the server, but due to a lack of disk space, they simply reset. In this situation, only increasing the disk space or deleting unnecessary files (clearing directories with temporary files, cache, etc.) will help. After this, you will need to reload the reset scripts and restore the site from a backup for the date when no issues were observed in its operation.

There are also situations when a blank page is displayed after the user incorrectly specifies the database connection settings in the site's configuration file. It is advisable to double-check the specified database connection credentials (instructions for various CMS can be found here). Sometimes the cause is an incorrect database prefix (the database tables have one prefix, while a different one is specified in the configuration file — there should be no discrepancies).

Content