简体   繁体   English

Magento管理员升级后显示空白页

[英]Magento admin showing blank page after upgrade

I have upgraded Magento from 1.7.x to 1.9.2.4 using Magento connect. 我已经使用Magento connect将Magento从1.7.x升级到1.9.2.4。

Now when I open admin panel it's showing blank page, but the frontend is working fine. 现在,当我打开管理面板时,它显示空白页面,但是前端工作正常。

I have cleared cache and session but it's still showing blank page. 我已经清除了缓存和会话,但仍显示空白页。

You need to debug the system as: 您需要通过以下方式调试系统:

  1. You can enable printing errors by renaming file local.xml.sample to local.xml . 您可以通过将文件local.xml.sample to local.xml重命名local.xml.sample to local.xml来启用打印错误。 file location magentoRootDirectory/errors/ 文件位置magentoRootDirectory/errors/

  2. set permissions 777 to magentoRootDirectory/var folder 将权限777设置为magentoRootDirectory/var文件夹

  3. In Index page change the following: 在索引页面中更改以下内容:

    error_reporting(E_ALL | E_STRICT); error_reporting(E_ALL | E_STRICT);

to

error_reporting(E_ALL);

Set $_SERVER['MAGE_IS_DEVELOPER_MODE'] = true 设置$_SERVER['MAGE_IS_DEVELOPER_MODE'] = true

and uncomment this line 并取消注释此行

#ini_set('display_errors', 1);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM