安装Mailchimp模块后,Magento管理空白屏幕

时间:2014-01-02 21:27:40

标签: magento-1.7 magento

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

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

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

1 个答案:

答案 0 :(得分: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

相关问题