Joomla White Screen of Death

Sometimes you may change some code in your site or even install an extension, and then you refresh your website and all you see is a blank white screen.

In this tutorial, we’re going to show you how to recover from the White Screen of Death (WSOD).

We’ll show you how to find the error that’s causing your WSOD, and we’ll show you how to fix it.

The first thing we need to do is find the error. Here are 4 options for finding that fatal error:

Option #1. Change Error Reporting to Maximum

media_1372884404561_67b6d7f588cc763d572beb0f259f1fa3.png

Try logging into your Joomla administrator area.

If you can get in, go to Global Configuration > Error Reporting and set it to Maximum. You can find a more details tutorial for this here.

Now check the front of your site to see if any errors are displaying.

Option #2. Edit Files in FTP

Login to your Joomla site files via FTP.

Find your index.php file located in the root of your site.

Open the index.php and add this code directly after the very first line of the file:

 

1.ini_set('display_errors', TRUE); error_reporting(E_ALL);

 

Option #3. Edit PHP.ini file

The PHP.ini file is a vitally important file that controls many of your server’s settings. If you don’t know where it is, use this tutorial to find it.

We recommend that you change these two settings:

  • Set Display error to On:

 

1.display_errors = On

 

  • Set error reporting:

 

1.error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

 

Option #4. Check Your Server Log

media_1372886061798_ff4136bb7c361f80079845c9fb17624d.png

Check your server error log for any indication of what is causing the issue.

If you are not sure how to access this, you can contact your hosting company. If you are on localhost, you can usually find it in a directory called “logs” within the installation folder of your local server.

You’ve found the error message. Now what?

When you have discovered what is causing the error message, it’s time to analyze it. You will hopefully see errors that resemble those in the image below.

In these examples, the errors come from sh404SEF and from Xmap. Even if you don’t understand the message, you know which extension is causing problems.

media_1372886111565_da6f3dc13e22221f82136361ed2d2e6a.png

If the name of an extension can’t be found, you might see an error message like the ones below. This may mean that there’s a problem with the Joomla core files.

 

What can you do now that you’ve identified the troublesome extension?

media_1372886720427_1cf21719654b089e5773cdf7a5163a63.png

Problems with extension? Disable the extension

This tutorial shows how to disable a plugin, but applies to other types of extension also.

The quickest and easiest solution is to login to your site via FTP.

If the troublesome extension is a component, go to the /components/ folder and change the name of the extension folder. For example, change /com_sh404SEF/ to /com_sh404SEF_disabled/

You may also need to change the directory name within the component in the /administrator/components/ directory as well.

Problems with the Joomla core? Reupload the core files

If you didn’t install any extensions and you think it may be caused by the core Joomla files, try reinstalling all of Joomla core files. You can do this by downloading the latest version found on joomla.org and overwriting all the directories to your servers FTP.

If you have access to the administrator area, you can also try Step 5 from this tutorial.

 

http://www.ostraining.com

Comments

comments

Καλέστε μας