Fix Joomla Blank Page (White Screen of Death)

The infamous Joomla "Blank Page" or "White Screen of Death" (WSOD) can be frustrating, as it provides no error message or clue about the cause. This issue typically occurs due to server misconfigurations, PHP errors, or incompatible extensions. Below is a step-by-step guide to identify and fix the problem.

Enable Error Reporting

Joomla’s error reporting is often turned off by default, which makes troubleshooting difficult.

  1. Log in to your Joomla Administrator Panel.
  2. Navigate to System > Global Configuration > Server Tab.
  3. Set Error Reporting to Maximum and save the changes.
  4. Reload the page where the issue occurs.

If you cannot access the administrator area:

  • Edit the configuration.php file in your Joomla root directory.
  • Find the line starting with $error_reporting and set it to:
public $error_reporting = 'maximum';

Reload the page to see error messages that provide clues about the issue.

Clear Cache

Cached files can sometimes cause display issues.

  1. Go to System > Clear Cache in the admin panel.
  2. Select all cache files and click Delete.

If you cannot access the admin panel, manually delete files in the /cache and /administrator/cache folders using FTP or your file manager.

Disable Third-Party Extensions

Incompatible or faulty extensions are a common cause of the WSOD.

Rename the folder of the suspected extension in /plugins, /components, or /modules via FTP or your file manager. For example, rename /plugins/myplugin to /plugins/myplugin_backup.

Reload the site to see if the issue is resolved.

If renaming the folder resolves the issue, uninstall the extension and look for an updated or alternative version.

Replace the .htaccess File

A misconfigured .htaccess file can prevent Joomla from loading properly.

  1. Rename the current .htaccess file to .htaccess_backup.
  2. Replace it with Joomla’s default .htaccess file, located as htaccess.txt in the root directory.
  3. Rename htaccess.txt to .htaccess.

Reload the site to check if this resolves the issue.

Increase PHP Memory Limit

Joomla may encounter a blank page if it exceeds the server’s memory limit.

Edit your server’s php.ini file or .htaccess file and increase the memory limit. For example: memory_limit = 128M

If you can’t edit these files, contact your hosting provider to increase the limit.

Restore from Backup

If you cannot identify the issue, restoring your site from a backup may be the best option. Always maintain regular backups of your Joomla site.

  1. Use your backup solution (e.g., Akeeba Backup) to restore the website to a previous state.
  2. After restoring, ensure all extensions, templates, and Joomla itself are up to date to avoid repeating the issue.

Contact Your Hosting Provider

If all else fails, your hosting provider may be able to identify server-level issues, such as ModSecurity rules, file permission errors, or other configurations affecting Joomla’s functionality.

Last updated on Jan 27th 2025 10:01