Php 找不到Magento 1.9帮助程序错误

Php 找不到Magento 1.9帮助程序错误,php,magento,Php,Magento,我试图在管理面板中创建新的链接,这会导致助手未找到错误。我的配置文件如下 app\code\local\Ddevs\Ebayaff\etc\config.xml 无论何时更改config.xml文件并启用缓存,都需要清除或刷新Magento缓存。 因此,如果在您的案例中启用了Magento缓存,请执行相同的操作。需要在config.xml中将“samplerouter1”更改为“ebayaff” <?xml version="1.0"?> <config> <

我试图在管理面板中创建新的链接,这会导致助手未找到错误。我的配置文件如下

app\code\local\Ddevs\Ebayaff\etc\config.xml


无论何时更改
config.xml
文件并启用缓存,都需要清除或刷新Magento缓存。 因此,如果在您的案例中启用了Magento缓存,请执行相同的操作。

需要在config.xml中将“samplerouter1”更改为“ebayaff”
<?xml version="1.0"?>
<config>
    <modules>
        <Ddevs_Ebayaff>
            <version>0.1.0</version>
        </Ddevs_Ebayaff>
    </modules>
    <global>
        <resources>
            <add_category_attribute>
                <setup>
                    <module>Ddevs_Ebayaff</module>
                    <class>Mage_Eav_Model_Entity_Setup</class>
                </setup>
            </add_category_attribute>
        </resources>
        <helpers>
            <ebayaff>
                <class>Ddevs_Ebayaff_Helper</class>
            </ebayaff>
        </helpers>
    </global>

   <admin>
        <routers>

           <samplerouter1>
                <use>admin</use>
                <args>
                    <module>Ddevs_Ebayaff_AdminControllersHere</module>
                    <frontName>admin</frontName>

                    <modules>
                        <sintax after="Ddevs_Ebayaff_AdminControllersHere">Mage_Adminhtml</sintax>
                    </modules>
                </args>
           </samplerouter1>          



         </routers>     
    </admin>
<?xml version="1.0"?>
<config>

        <menu>
             <mymenu1 translate="title" module="ebayaff">
                <title>Ebay aff</title>
                <sort_order>200</sort_order>
                <children>

                    <myitem1 translate="title" module="samplerouter1">
                        <title>Simple one column layout with custom template file assigned for viewsss</title>
                        <action>samplerouter1/FreakOut</action>
                        <sort_order>1</sort_order>                        
                    </myitem1>
                </children>
             </mymenu1>
        </menu>   
</config>
<?php

class Ddevs_Ebayaff_Helper_Data extends Mage_Core_Helper_Data
{

}
Fatal error: Class 'Mage_Ebayaff_Helper_Data' not found in /var/www/html/demoshop/app/Mage.php on line 547