My Joomla Website Displays a Blank Page, What Should I do

We have recently had this experience with two websites. Both websites produced a blank page but they had slightly different approaches to resolve because the extent of the impact or damage were different for both websites. We will take you through our experience with both websites and how we were able to fix the problems while we also explore extensively, how to address this problem of blank page when it affects your website.

You will also like:

Basic Documentation on Joomla Website Administration

 Basic Virtuemart Configuration Tutorial

 Fixing Problems: Notices, Warnings and Errors on Your Joomla Website

 Good Optimization Will Boost The Speed of Your Joomla Website

 How Secure is Your Joomla Website

Causes of The Joomla White Screen of Death

The Joomla white screen of death is definitely one of those extremely annoying problems like error establishing a database connection. It is quite a frustrating experience to be face with a white screen for your important website. You may not even have a clue on how to deal with the situation.

This situation can be caused by everything from damaged extension or outdated installed and published plugin. But what is irritating is that you do not see what is going on, because there wasn't any warning message at all you are left clueless to figure out what is the issue.

The First Steps to Addressing This Problem

So your first steps should be in Joomla admin panel: System -> Global Configuration -> Server ->  Error Reporting [Maxiumum] – This works when you are still able to address the problem

It will be necessary to enable debug function to see what type of errors are being outputted. Once you add this, the blank screen will now have errors, warnings, and notices. These may be able to help you determine the root cause. Note! Default Joomla's error reporting is not good for each case because it's visible to everyone, including your users. That's why please check features of plugin named Easy Error Reporting. This small plugin changes the error reporting level depending on the selected user groups, so for example only. Super Users will see errors on their pages, but other users won't.

What is helpful in most cases the Joomla application displays a blank page due to a corrupted (not Joomla core) plugin that is currently active for the site, so check them all, disable - enable one by one to check which one is a problem. If you suspect the problem is other extension related, you can try uninstalling any component or module you recently installed. After the problematic plugin is found check whether it is compatible with your version of Joomla. If you plan to use it contact the extension's developer and report the issue.

In most cases a blank screen means that there is a php error and because error reporting is set to default the error is not displayed on the screen and so all we see is a blank screen. To investigate and fix this problem, it will require that you check the cause of the error by turning on error reporting. Because the administrator section cannot be accessed, you will need to manually turn on eror reporting in file manager.

Also read:

 How to Copy a Joomla Module and Install on Another Website

 How to Fix The Joomla White Screen of Death

 How to Revert Back to a Previous Version of Joomla

 How to Speed Up Your Joomla Website

 How to manually update a Joomla website

How to turn error reporting on in Joomla when you can't access the administrator.

As I earlier stated above, to confirm the error that you are dealing with you need to turn error reporting. This is easy to do in the global configuration section of your website’s backend. Normally this is accessible via the control panel however since it's not possible to access any pages in the administrator you need to adjust the setting manually.

1.    In your site's root locate the file called configuration.php
2.    Open the file with a text or code editor and edit the current setting for error reporting. In cPanel, you can do this online with the text or code editor.
3.    The default setting is usually "default" and so in order to display errors on the page you need to change this setting to maximum.
4.    After doing this and refreshing the front or back end of your site you should see an error that looks like the following.

<strong style="color: #000000; font-family: Times; font-size: medium; line-height: normal;">Fatal error</strong><span style="color: #000000; font-family: Times; font-size: medium; line-height: normal;">: Call to a member function get() on a non-object in </span><strong style="color: #000000; font-family: Times; font-size: medium; line-height: normal;">/PATH-TO-YOUR-SITE/plugins/system/remember/remember.php</strong><span style="color: #000000; font-family: Times; font-size: medium; line-height: normal;"> on line </span><strong style="color: #000000; font-family: Times; font-size: medium; line-height: normal;">94</strong>

Now we know what we are dealing with

So now that we have a discernible error on the page we know which field is causing the issue and gives us some material to start investigating how to solve the problem.

Also read:

How to move a Joomla website from localhost to a live server and secure it

 How to set an article in a Joomla website to publish on a later date

 Joomla Extensions Manager Tutorial

 Joomla Manual Installation Tutorial

Real Live Cases and How the Problem Was Solved

Case I
Let us approach it from a real case or standpoint. When this problem occurs, there are cases where you are still able to access the back end and there are cases when you just can’t access the backend at all. Let us look at these two scenarios and how we dealt with them for two live websites.

In the situation above and following the reported error, the solution will be to temporarily disable the remember.php file which is a part of the core Joomla installation. Renaming files in your installation with error reporting on is a very useful tool to investigate the cause of errors in your Joomla installation.

If all goes well after you refresh the page you should now be able to navigate around the administrator. Sometimes, after the error is fixed, you can rename the remember.php file back to the original name again the site will still be functioning properly.

In the first case, we noticed the blank page but could still login to the backend of the website.

Option II

This is how we were able to resolve the problem:

•    Go to system>clear cache
•    Click on delete all
•    Return back to system>clear expired cache or simply check the left menu and click on the clear expired cache link
•    From the top left, click clear expired cache.

Return back to the frontend of our website and check if things are working normally.

Remember that checking the error that created the problem as we have discussed in the earlier paragraphs will be a good way to prevent this problem.

In the second case, we were not be able to login to the backend of the website once the blank screen comes up. Just to take you back a little, the blank screen is called a white screen of death.

If you are unable to login to the website backend, then you need to take a more resource and time consuming approach to fix this problem.

Also read:

Joomla Menu Manager Tutorial

 Joomla User Manager Tutorial

A Comprehensive Guide to Joomla Article Creation and Editing

 Why The Progressive Caching in Joomla Should Be Avoided

Recommendation

You will need to try to detect the error following the steps discussed above in which case you will turn on error reporting and attempt to disable the error causing code or plugin or extension.

Option III

Here is what we did to fix a problem with a Joomla website which showed this problem but did not give us access to the backend of the website.

1.    Check up for updates on your joomla website by going to components > updates
2.    Copy the update link and download it to your local computer
3.    Unzip the package.
4.    Carefully delete any folder or files you do not intend to overwrite. Recommended: delete the images folder so that you do not loose your image customizations.
5.    Login with an FTP software like Filezilla or WS-FTPPro by Ipswitch. I use the Ipswitch software because it gets frequent updates.
6.    Upload and overwrite the files with your newly downloaded files.

That should fix your problem and your website should function well without issues.

What Net?

It is possible that you installed custom components, modules and plugins. These may not be compatible with your latest update and could become a source of problem for your website. You will need to update the software to be assured of your safety. This is just the best and recommended option. Once you run the necessary updates, you should be fine and you can take it that you have addressed the problem.

How to Avoid the Problem

The Joomla white screen of death is predominantly caused by outdated plugins, modules or components. Sometimes, after your installation, new versions of Joomla are released and you are tempted to update especially in cases where the new release happens to be a security release and you appear not to have any option than to update.

After you run an update, you will like have a situation where the extensions – modules, plugins and components, you are currently running on your website will no longer be compatible with your version leading to some security problems. Such can be exploited by attackers causing the White Screen of Death which is the blank white page you see.

Final Words

You need to be mindful with turning on updates. You need to secure your Joomla websites using the .htaccess file and avoid unnecessary updating of the Joomla core while your extensions remain un-updated. Using the .htaccess file is a good way to prevent exploitation especially when you are running a slightly outdated joomla version. Ultimately, as Joomla installation requirements change and web hosts demand compliance with most recent versions, you will likely be force to run the required updates. This is important to avoid any problems which your old version can create on the hosting server. In most cases, old versions can be exploited and forced to send out massive unsolicited emails. It can also create load issues on the server and all these will be a problem which can cause the website to be suspended.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to manually update a Joomla website

Traditionally, Joomla website update had involved three methods: writing files directly, updating...

How to move a Joomla website from localhost to a live server and secure it

We have received numerous questions regarding how to upload a Joomla website from localhost to a...

Joomla Extensions Manager Tutorial

The Joomla Extensions manager in version 3x, 2.5 and the previous versions 1.7 and 1.6 are...

How to Speed Up Your Joomla Website

Think of Joomla! as a framework over which one can develop, integrate components and launch...

Fixing Problems: Notices, Warnings and Errors on Your Joomla Website

Websites will inevitably have problems. Sometimes, they can be as frustrating as a White Screen...

Powered by WHMCompleteSolution