本文介绍了未找到Magento Admin Helper_Data的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了BrandAmmo的扩展程序,名为ProNav.我去清除了缓存,并在管理员中给了我这个错误,

I've installed an extension by BrandAmmo named ProNav. I went to clear the cache and it gave me this error in the admin,

Fatal error: Class **Brandammo_Pronav_Helper_Data' not found in 
/home/content/r/e/d/redr1225/html/app/Mage.php on line 516**

知道我需要做什么吗?

推荐答案

确保此文件存在:/home/content/r/e/d/redr1225/html/app/code/local/BrandAmmo/Pronav/Helper/Data.php

它创建了这个类:

class BrandAmmo_Pronav_Helper_Data
    extends Mage_Core_Helper_Abstract
{
}

并确保在此文件中:/home/content/r/e/d/redr1225/html/app/code/local/BrandAmmo/Pronav/etc/config.xml

您要声明您的助手:

<?xml version="1.0"?>
<config>
    <global>
        <helpers>
            <pronav>
                <class>BrandAmmo_Pronav_Helper</class>
            </pronav>
        </helpers>
    </global>
</config>

请注意BrandAmmo中的大写字母,并确保其正确.大写或小写都无所谓,只要它们都相同即可.

Pay attention to the capitalization in BrandAmmo and make sure it's correct. Upper or lower case shouldn't matter, so long as they're all the same.

这篇关于未找到Magento Admin Helper_Data的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 07:48