【问题标题】:Magento admin blank screen after installing Mailchimp module安装 Mailchimp 模块后 Magento 管理黑屏
【发布时间】:2014-01-20 10:46:21
【问题描述】:

我一直在使用 Mailchimp/Mandrill 的这个模块: http://www.magentocommerce.com/magento-connect/ebizmarts-magemonkey-official-mailchimp-and-mandrill-integration.html

我在本地没有问题,但是当我尝试在生产环境中安装它时,管理界面停止工作!实际上,并没有错误,只是一个空白(令人失望)的屏幕。

在生气之前,请阅读我所做的事情(作为对这个问题的回答):

【问题讨论】:

    标签: magento-1.7 magento


    【解决方案1】:

    index.php 处取消注释以下行:

    ini_set('display_errors', 1);
    

    这将给出问题的一些想法。如果您遇到与我相同的问题,则需要在第 114 行附近编辑以下文件 app\code\community\Ebizmarts\MageMonkey\Model\Feed\Updates.php

            if (count($feedData)) {
                $inbox = Mage::getModel('adminnotification/inbox');
                if ($inbox){
                    $inbox->parse($feedData);
                }
            }
    

    如果您对保持模块安装不感兴趣,您可以通过命令行简单地卸载模块:

    ./mage uninstall community Ebizmarts_MageMonkey
    

    通过添加内部 if 子句,错误不再困扰我。请评论如果您有更好的解决方案

    总是欢迎+1 :D

    【讨论】:

      猜你喜欢
      • 2019-05-07
      • 2012-02-05
      • 2012-10-03
      • 2013-12-18
      • 1970-01-01
      • 1970-01-01
      • 2013-08-27
      • 1970-01-01
      • 2015-10-17
      相关资源
      最近更新 更多