Knowledge Base

Visiting my site results in a blank page.

There are a few reasons why going to the front page on an EE site would result in a blank page:

1. The path to the system directory in path.php is incorrect.  This needs to be a relative path.
2. There is a blank space after the ?> of path.php or index.php.

If neither of these are the case, changing

error_reporting(0)

to:

error_reporting(E_ALL);

near the top of your index.php file, will force it to output errors when visited, so that a cause can be determined.

NOTE: If your host has disabled the PHP ‘display_errors’ directive, you will need to ask them to enable it, or if the server allows scripts to override the setting, you can add the following to your index.php file:

ini_set('display_errors', 1);
Last Updated on Jan 13, 2009 at 06:19   ( Permalink )
Category: Technical Issues, Troubleshooting