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

来源:互联网 发布:抑抑陆生,知言之贯 编辑:程序博客网 时间:2024/06/05 18:27

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 indicatesthat 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 toDisable Magento Compiler andClear 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 afterini_set('display_errors',1):
    ini_set('display_errors', 1);ini_set('memory_limit', '256M');
     
  • Upload the modified index.php file back (you can also rename originalindex.php to index.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> inapp/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
原文地址:http://kb.magenting.com/content/22/38/en/magento-shows-blank-empty-page-how-do-i-solve-this.html
0 0
原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 163邮箱下载的附件没有了怎么办 小米自带浏览器打开网页太慢怎么办 再歪一点授权码忘记了怎么办 注册支付宝的手机号不用了怎么办 手机号被别人注册了支付宝怎么办 支付宝账号密码都忘了怎么办 申请微信公众号邮箱被占用怎么办 邮箱注册微博需要手机验证怎么办 苹果手机的ad码忘记了怎么办 苹果手机酷狗音乐没有声音怎么办 在手机屏上不能缷载软件怎么办? 手机酷狗音乐下载歌曲要钱怎么办 酷狗下载歌曲后歌词不见了怎么办 手机酷我音乐缓冲文件损坏怎么办 苹果手机音乐里的歌删掉了怎么办 上课学生把粉笔擦藏起来了怎么办 手机没法解压10g压缩包怎么办 苹果id被锁邮箱也忘记密码怎么办 手机号注册的微信忘记密码怎么办 qq号注册微信忘记密码怎么办 云课堂密码忘记手机号更改了怎么办 孩子做事才要奖励怎么办的教案 员工做事效率低家庭情况不好怎么办 安全云课堂人脸识别失败怎么办 酷我k歌里音乐太少怎么办 酷狗里面的歌没有了怎么办 第一试用网登录密码忘记了怎么办 第一试用网登录密码忘了怎么办 微博登录直播间帐号被锁定怎么办 硫酸不小心弄到皮肤上怎么办 小米平板进水了开不了机怎么办 U盘被弹出后再插没有显示怎么办 视频从U盘传下来不能播放怎么办 微博账号忘了登录名怎么办 迅雷应版权方要求无法下载怎么办? 微信账号忘记密码上面有钱怎么办 蘑菇街账号忘记了里面有钱怎么办 手机注册的百度云帐号换号怎么办 网易云音乐sd卡写入失败怎么办? 玩客云涌u盘满了怎么办 手机安装杜比音效失败死机该怎么办