【问题标题】:Fatal error: Class 'Magentothem_Sale_Helper_Data' not found in /home/project/public_html/app/Mage.php on line 547致命错误:在第 547 行的 /home/project/public_html/app/Mage.php 中找不到类“Magentothem_Sale_Helper_Data”
【发布时间】:2015-10-05 08:37:14
【问题描述】:

我正在努力解决一个问题,例如 - 致命错误:类

Magentothem_Sale_Helper_Data' 未在 /home/project/public_html/app/Mage.php 在第 547 行

这里是config.xml

<config>
    <modules>
        <Magentothem_Sale>
            <version>0.1.0</version>
        </Magentothem_Sale>
    </modules>
    <frontend>
        <routers>
            <sale>
                <use>standard</use>
                <args>
                    <module>Magentothem_Sale</module>
                    <frontName>sale</frontName>
                </args>
            </sale>
        </routers>
        <layout>
            <updates>
                <sale>
                    <file>sale.xml</file>
                </sale>
            </updates>
        </layout>
    </frontend>
    <global>
        <helpers>
            <sale>
                <class>Magentothem_Sale_Helper</class>
            </sale>
        </helpers>
    </global>
</config>

这里是Helper/Data.php :-

class Magentothem_Sale_Helper_Data extends Mage_Core_Helper_Abstract
{
}

出现错误 - Fatal error: Class 'Magentothem_Sale_Helper_Data' not found。无法理解我在哪里做错了。

请帮忙。

【问题讨论】:

    标签: magento helper magento-1.8


    【解决方案1】:

    首先你需要检查compiler is enable or not

    如果是,那么您需要to Disable and again enable the compiler 来输入Data.php at compiler location

    您还需要检查文件权限。

    【讨论】:

    • 谢谢阿米特。我忘记禁用编译。非常感谢:)
    猜你喜欢
    • 2014-08-25
    • 2016-06-01
    • 1970-01-01
    • 2014-12-28
    • 1970-01-01
    • 1970-01-01
    • 2015-01-18
    • 1970-01-01
    • 2016-01-02
    相关资源
    最近更新 更多