I recently installed a new Drupal application and configured it the way I wanted it. Then I logged out and tried to log back in, but realized I had forgotten my password. I reset my password (using the e-mail method) to successfully log back in again.
However, then I was suddenly denied access by Drupal to any administration page and even my own user page. It tells me "Access denied" followed by "You are not authorized to access this page."
I tried to rebuild the node access table using:
...but that did not help. Still denied. I even tried resetting my password through
asked Aug 15 '11 at 15:06
A thread at drupal.org suggests that this might work. Logout of Drupal (don't just close the page), clear your browser's cache and delete any cookies related to the Drupal site. Then login again.
Another suggestion was to logout completely, login as a different user, logout, then try the original login again.
I hope that helps!
answered Aug 15 '11 at 16:53