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:
or insert this line somewhere at the top of the file.ini_set('display_errors', 1);
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
- Magento shows blank/empty page. How do I solve this?
- Magento shows blank/empty page. How do I solve this?
- Android WebView with https loadUrl shows blank/empty page
- How do I disable Magento Compiler?
- How do I disable Magento Compiler?
- This page intentionally left blank.
- How do I get this result via SNMP?
- How to solve this issue?
- How do I?
- OpenXML: How do I?
- How do I determine if a web page exists with shell scripting?
- This Article shows you how to create ajax based gridview
- How to solve this problem oC
- How do I remove all partitions, data and create clean empty hard disk under Linux operating systems?
- How do I love thee
- How do I love thee
- How do I control appearance?
- How do I Install VE?
- OSX: 读书笔记-Plist偏好配置文件编程-附用Python访问
- View requires API level 14 (current min is 8): <GridLayout>
- 我对工作的理解
- 你用的浏览器速度如何?最快浏览器引擎内核实测与回顾
- LeetCode之Remove Duplicates from Sorted List
- Magento shows blank/empty page. How do I solve this?
- Linux基本配置和管理 7 ---- 软件安装:源码和Tarball
- DBCC大全集之(适用版本MS SQLServer 2008 R2)----DBCC SHOWCONTIG显示指定的表或视图的数据和索引的碎片信息
- ZeroMQ,史上最快的消息队列 —– ZMQ的学习和研究
- 解决ListView、gridview滚动过程中checkbox错位问题
- 移动应用软件及耗电量–基本知识(1)
- Java类体中的this和super的用法
- WinCE同步(ActiveSync)问题
- 【算法导论】每对顶点之间的最短路径算法