I have uploaded patch SUPEE-6788 on Magento 1.9.2.1 and tried the following:
- Using This file I have fixed all the modules through command line after uploading the patch.
- I have also fixed whitelisting issues using the same file.
- Tried logging out of admin and re logged in.
- Removed all cache from /var/cache.
- Reindexed my store.
But still all custom modules are showing page 404 in admin.
Note: All the code of custom module is as per This Solution
The functionality is working fine on frontend but admin pages of these modules are not working.
As I have checked after using the FIX code the action in config is the same before and after fix. Check below:
<menu>
<banners module="banners">
<title>Banners</title>
<sort_order>100</sort_order>
<children>
<banners module="banners">
<title>Manage Banners</title>
<sort_order>0</sort_order>
<action>admin_banners/adminhtml_banners</action>
</banners>
</children>
</banners>
</menu>
Update 1
After applying changes mentioned by Kunj following is my action code and controller file location:
<action>adminhtml/banners/banners</action>
Controller for above action :
app/code/local/{My_Package}/Banners/controllers/Adminhtml/Banners/BannersController.php
I have re-indexed, cleared cache, Logged out and logged in but it still shows page 404.