How to resolve blank page issue in magento after installation?

After released Magento 1.9.2.4 version many developers facing an issue after Magento installation blank page issue. So, for that reason we have written this short technical note for those who are using PHP 7 version and get a blank page instead of setup page during Magento installation.

The issue is very easy to fix that, because here are troubleshoot Magento 1.9.2.4 with PHP 7 and find the solution for that kind of problem.

To solve Magento installation blank page issue. You just need to follow some simple step which are listed below.

  • Login to your Cpanel and click on File Manager
  • Now you have to change in Layout.php file which is below mentioned path.
    • ROOT/app/code/core/Mage/Core/Model/Layout.php

Now open the Layou.php file and change code as per mentioned below.

Find the following code inside function getOutput(). Maybe it’s on line number – 555.

Code:

$out .= $this->getBlock($callback[0])->$callback[1]();

And replace with

$out .= $this->getBlock($callback[0])->{$callback[1]}();

If above solution is not working than try to replace with another one which is listed below.

$customcallback = $callback[1];

$out .= $this->getBlock($callback[0])->$customcallback();

Once done all are changes, clear your magento cache and try it.

 

Leave a Reply

Your email address will not be published. Required fields are marked *