I have uploaded patch SUPEE-6788 on Magento 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:

      <banners module="banners">
          <banners module="banners">
            <title>Manage Banners</title>

Update 1

After applying changes mentioned by Kunj following is my action code and controller file location:


Controller for above action :


I have re-indexed, cleared cache, Logged out and logged in but it still shows page 404.

1 Answer 1


I think your action should be like this:


And as per action your file path should be like this:

/path/to/magento/app/code/local/{module package name}/Banners/controllers/Adminhtml/Banners/IndexController.php
  • I have added update 1 to my question as per your provided solution. Commented May 15, 2018 at 5:02
  • 1
    As per your banners module's admin controller file structure, your action should be like This: <action>adminhtml/banners_banners/index</action> banners is your controller and index is action which located in app/code/local/{My_Package}/Banners/controllers/Adminhtml/Banners/BannersController.php file.
    – kunj
    Commented May 15, 2018 at 5:13
  • Welcome, happy to help you!
    – kunj
    Commented May 15, 2018 at 5:27
  • can you also check this question? Commented May 16, 2018 at 6:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.