Solution for Installation Blank Page Issue in Magento

Posted on 2 February, 2017

After released Magento 1.9.2.4 version many developers search over the internet to find the solution for 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.

We think the issue is very easy to fix. Because we have 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.

You need to make changes in Layout.php file which are located at app/code/core/Mage/Core/Model/Layout.php. So, for that go to the magento root directory and open Layout.php file from app/code/core/Mage/Core/Model/Layout.php. And find the following code inside function getOutput(). Maybe it's on line number - 555.

$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();

I hope this Magento technical note helped you to solve Magento installation problem. Bookmark it for your future reference. If you have any problem or ideas don’t hesitate to leave comment below.

P.S. Do share this note with your team.


Mayank Zalavadia , eCommerce Project Manager
Magento Technical Notes

Post Your Review

X

Your Review has been posted

0 Comment(s)