致命错误:类';Magentothem_Sale_Helper_Data';在第547行的/home/project/public_html/app/Mage.php中找不到
我正在努力解决一个问题,比如:致命错误:类 在中找不到Magentothem\u Sale\u Helper\u数据 /第547行的home/project/public_html/app/Mage.php 下面是致命错误:类';Magentothem_Sale_Helper_Data';在第547行的/home/project/public_html/app/Mage.php中找不到,magento,helper,magento-1.8,Magento,Helper,Magento 1.8,我正在努力解决一个问题,比如:致命错误:类 在中找不到Magentothem\u Sale\u Helper\u数据 /第547行的home/project/public_html/app/Mage.php 下面是config.xml <config> <modules> <Magentothem_Sale> <version>0.1.0</version> </Ma
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>
获取错误-致命错误:未找到类“Magentothem\u Sale\u Helper\u Data”
。无法理解我做错了什么
请帮助。首先您需要检查
编译器是否启用
如果是,则需要禁用并再次启用编译器
,以便将Data.php放在编译器位置
您还需要检查文件权限。谢谢您。我忘了禁用编译。非常感谢:)
class Magentothem_Sale_Helper_Data extends Mage_Core_Helper_Abstract
{
}