Monday, January 18, 2010

HOWTO: Fix access denied after install a new extension

When you install a new extension, you might see new menu appear on Magento Admin menu, or new configuration section in Configuration Page, but when you click on the menu item or config section you only get a "Access denied" message, like below.




Here is two things you can check to solve the problem:

1. Clear session data:
Magento stores permission in session, so permission entries from new extension is not stored yet, that's why you get "access denied" message. You can just simply logout and login again, everything should work for you. If it's not then you can clear cookie or use a different browser.

2. Check your administrator role
Sometime your configuration stops you from manage your site. You can check it by go to System -> Permissions -> Roles and then choose Administrator role. Click on Role Resources tab and change Resource Access to All. This will make sure you have right to access to everywhere of your site.

If none of the above methods works for you, leave a comment and I will try to solve it for you.

6 comments:

  1. Hi

    your are giving two things for solve the denied problem is useful to who is don't know properly about megento admin panel.

    sukumar
    Magento Developers.

    ReplyDelete
  2. Well i dont think this helped me well i cleared all cache from magento i loged out i cleared cache and cookies from iexplore and firefox and nothing happened... access denied as always..

    ReplyDelete
  3. Hi thanks - however i have tried these fixes and neither seem to work.

    I am only having trouble with one extension (Gift Certificates) and cannot work out why this is the case! I am using 1.4 and have installed other extensions successfully.

    Do you have any suggestions please??

    Thanks!

    ReplyDelete
  4. Hi...I can't even log in! I keep getting access denied. I looked at my role table and it is assigned to "ALL"...any other suggestions?

    Would greatly appreciate your help,
    nlevi@pojjo.com

    ReplyDelete
  5. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Magento Themes

    ReplyDelete
  6. Magento Enterprise Edition 1.14.2 now comes with Google Tag Manager so merchants can more easily add tracking tags to a Magento site for audience measurement, personalization, retargeting, search engine marketing, and more without modifying code.

    regards-
    Magento and Ecommerce solution

    ReplyDelete