Magento shows blank/empty page. How do I solve this?

Symptoms

Blank page or white screen is shown in Magento Frontend, Backend or Magento Connect Manager.

 

Cause

If you see a blank page / white screen opening your Store in browser, it indicates that there is a PHP fatal error somewhere in the code of your Magento store.

This usually happens when you modified files, theme templates or modules / extensions, or installed a theme or extension which cause fatal PHP errors.

 

Troubleshooting

    Before starting investigation please try to Disable Magento Compiler and Clear cached Magento data , in the most cases it should solve the issue.

    To see the actual error message you need to login via FTP to your Store and use the following instructions:

    • Download the index.php file to your computer
      Note: for troubleshooting Magento Connect Manager changes should be done todownloader/index.php file
    • Edit the downloaded index.php file and uncomment (by removing leading hash character) the following code:
      ini_set('display_errors', 1);
      or insert this line somewhere at the top of the file.
      Note: for troubleshooting Magento Connect Manager changes should be done todownloader/index.php file
    • Try to increase PHP memory limit up to 256Mb or more by adding the following line intoindex.php right after ini_set('display_errors',1):
      1
      2
      ini_set( 'display_errors' , 1);
      ini_set( 'memory_limit' , '256M' );
    • Upload the modified index.php file back (you can also rename original index.php toindex.php.orig to be able to revert the changes)
    • Refresh Magento Store page in your browser, you should see the PHP error message now
    • Look for the solution by narrowing down search results with your error message

    Please do not forget to change 'display_errors' setting back when the issue is solved.

     

      If the error report gives no clue, to solve the issue please use the following steps:

      • Rollback all recent changes you applied to your store
      • Clear cached Magento data 
      • Disable Magento Compiler
      • One by one, disable recently installed modules by changing <active>true</active>to <active>false</active> in app/etc/modules/<MODULE_NAME>.xml, where <MODULE_NAME> should be replaced with actual module name you installed recently.Flush Magento cache after each operation.
      • If you recently installed some theme, try to switch interface to a previously used one. If you can not reach admin interface, you can rename / move out theme directory underapp/design/frontend/<theme_package>/<theme_name>, where<theme_package>/<theme_name> is path to your theme. Flush Magento cache after each operation. Magento will switch to default theme if it can not find a custom one.
      • Contact Support Team, providing the error log record and URL, throwing the error report
      • 0
        点赞
      • 0
        收藏
        觉得还不错? 一键收藏
      • 0
        评论

      “相关推荐”对你有帮助么?

      • 非常没帮助
      • 没帮助
      • 一般
      • 有帮助
      • 非常有帮助
      提交
      评论
      添加红包

      请填写红包祝福语或标题

      红包个数最小为10个

      红包金额最低5元

      当前余额3.43前往充值 >
      需支付:10.00
      成就一亿技术人!
      领取后你会自动成为博主和红包主的粉丝 规则
      hope_wisdom
      发出的红包
      实付
      使用余额支付
      点击重新获取
      扫码支付
      钱包余额 0

      抵扣说明:

      1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
      2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

      余额充值