Magento 1.8.1.0致命错误:类'Mage_Shoppersettings_Helper_Image'未在

时间:2014-05-15 10:19:49

标签: php magento magento-1.8

我已经安装了一个扩展程序,安装后它开始给我这个错误:

Fatal error: Class ‘Mage_Shoppersettings_Helper_Image’ not found in /home/default/public_html/app/Mage.php on line 547

即使在禁用扩展程序后,错误仍然存​​在。我试着看看是否是我在Mage.php中更改的内容,但我的文件仍然是默认文件。

有谁知道导致问题的原因是什么?

1 个答案:

答案 0 :(得分:0)

在该模块的config.xml中未正确定义帮助程序类

将以下代码添加到此

<global>
......
<helpers>
            <custommodule>
                <class>Amit_Custommodule_Helper</class>
            </custommodule>
        </helpers>
...
</global>

您的代码应该

<global>
    ......
    <helpers>
                <shoppersettings>
                    <class>YourModulenamaSpace_Shoppersettings_Helper</class>
                </shoppersettings>
            </helpers>
    ...
    </global>