简体   繁体   中英

magento 1.9 2.2 admin module 404 not found

I update magento 1.9.2.2 the other day and it has caused the admin section of a module I build to throw a 404.

Below is my admin section in config.xml file for the module.

<config>
-----------
<admin>
    <routers>
        <bannerslider>
            <use>admin</use>
            <args>
                <module>Compnay_Bannerslider</module>
                <frontName>bannerslider</frontName>
            </args>
        </bannerslider>
    </routers>
</admin>
--------------
</config>

Can someone help?

Update: Extending the router configuration is the way to go:

<config>
    ...
    <admin>
        <routers>
            <adminhtml>
                <args>
                    <modules>
                        <Limesharp_Playzone before="Mage_Adminhtml">Limesharp_Playzone_Adminhtml</Limesharp_Playzone>
                    </modules>
                </args>
            </adminhtml>
        </routers>
    </admin>
    ...
</config>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM