Posts

Showing posts from November, 2010

Drupal - Access denied. You are not authorized to access this page.

LEVEL : BEGINNER I recently read a post about 5 Top Drupal techniques and tried it on my site. I hid the login form from all users. To try the changes I made, I logged out from my drupal site. Disaster! I couldn't log back in and I was the super user! No matter which page I tried accessing, it threw the Access denied page. I tried the following: 1. Typed following urls to see if I can get the login form: http://localhost/drupal/ http://localhost/drupal/admin/ http://localhost/drupal/admin/login/ 2. Repaired Session table Steps followed: using phpmyadmin (http://localhost/phpmyadmin/) - navigate to drupal database and view the tables. select 'Session' table and scroll right down the page and select the dropdown which has 'With selected' option preselected. Select the 'Repair' option. This will rebuild your session table. 3. Cleared Session table. The above 3 did not work. Finally found the correct login page. http://localhost/