Problem: Blank Page After Installing Security Patch PATCH_SUPEE-5994

You SSH or manually patch your installation with the security patch PATCH_SUPEE-5994. You wipe your forehead because it was easier than you thought to upload the files, whew!

You go back to refresh your cache and ensure your site is fine. You encounter a blank page.

Thump, thump, your heart beats quickly because your boss trusted you with fixing this!

SMH! As if this great Magento didn't have enough problems!

By the way, I have a Magento installation on a shared server, so most of the patching had to be done manually. You can download the PATCH_SUPEE-5994 here from Magentary.

The Problem

You check the error log and you see this line:

[22-May-2015 21:30:33 UTC] PHP Fatal error:  Class 'Mage_Install_Controller_Router_Install' not found in /home/site/public_html/includes/src/__default.php on line 17899

Your eyes widen. Sweat drips profusely from your brow. What does this mean?

Solution 1

You haven't listened to the instructions that (whatever website you went to) should have given you! Disable your compiler!

What's funny is that some people WILL go check on the compiler, only to find it disabled already. Then you still encounter the blank page.

Many sites have entered this solution below:

Check to see if the file app/code/core/Mage/Install/Controller/Router/Install.php exists.

When you ran the patch, the directory Router didn't exist in app/code/core/Mage/Install/Controller and so the Install.php file did not get created. This means you're missing a class and you get the message:  Fatal error: Class 'Mage_Install_Controller_Router_Install' not found

If the file Install.php is not available in the folder mentioned above, named Router, create it! Here are the contents of Install.php:

class Mage_Install_Controller_Router_Install extends Mage_Core_Controller_Varien_Router_Standard
     * Check if current controller instance is allowed in current router.
     * @param Mage_Core_Controller_Varien_Action $controllerInstance
     * @return boolean
    protected function _validateControllerInstance($controllerInstance)
        return $controllerInstance instanceof Mage_Install_Controller_Action;

Now that you've looked for this file, and probably in your case have realized that it is already there with the right contents, and yet, you still have a blank white empty depressing page, continue on to Solution 2. This one worked for me. ;)

Solution 2

One brilliant forum writer by the name of SolsWebdesign found that because the compiler was apparently not disabled (even though it said disabled in our installation) some people may have to find another way to get in.

Disable your compiler by finding the file config.php in your includes folder.


In this file you will see these two lines:


Comment them both out (One of ours was already commented out, so leave it be!) like so:


Save the file. Go back to your Magento installation and hopefully breathe a sigh of relief! You can login again and see your site again!

Don't stop now. Go to Configuration » Tools » Compilation and rerun compilation process. If you get success message, go back to that config.php file and uncomment the lines. Save.

Hopefully this was an utter success for you! Your silent tears should stop now.


+1 #1 Donna 2015-06-24 19:09
Thank you!!! That was it!

Comments are now closed for this entry


Visit Betfair Review