I was told by two different people that the following is a known issue with Magento:
When installing a new extension, the admin tries to access the
configuration of the extension, and gets a 404 page. The way to
resolve this issue is to logout and then login into his admin panel.
- Is there a way to work around this issue when designing an extension?
- Is there an open issue about this?
Here is one page I found that talks about this issue.
It happens because when you login to the admin panel magento reads ACL rules and writes them to the session. When you install new module you define new ACL rules that are not listed in your session.
When you install modulefrom magento connect you have “clear session” button to force renewal.
In module you can use something like
You can also look at this extension how to add “reload Acl” button to the admin panel.