Solved

Drupal, Access Denied for admin?

Posted on 2010-08-17
7
655 Views
Last Modified: 2012-05-10
Hi Experts,

Something weird just happened to me. In my drupal site (not finished yet), I used to log in typing:
localhost/admin and get in there with no problems. but now I am getting Access denied and the only way to log in is by typing  localhost/user. What happened in there? I wonder if that has something to do with the fact that I create a new role for me named Administrator and I gave to me all the privileges. But that put me in a user level? I've been trying to understand this stuff about permissions but sometimes it gets confusing. Someone please explain me why this is happening.

thanks in advance.

Winter
0
Comment
Question by:glepiza
  • 4
  • 3
7 Comments
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33461363
If going to /admin works it means for some reason Drupal is remembering your previous login information. This can change if you start using a different browser or change your browser's cookie settings.
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33461369
By the way, it is very normal to have to go to /user and login first and then have to go to /admin.
0
 

Author Comment

by:glepiza
ID: 33469500
Hi Thomas, thanks for your answer. Could you please tell me what do you mean to change my cookies settings? I just deleted them but im still  cant access using admin link. Thank you ;)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 17

Expert Comment

by:Thomas4019
ID: 33469633
To administer a drupal site you always must be logged in.  You log into a drupal site at example.com/user. Drupal uses a cookie track login sessions, so if you have the same cookie as the day before, you might not need to login.

Some modules provide a "user login form" on "access denied" pages. An example of this would be the Login Toboggan module, http://drupal.org/project/logintoboggan.

So are you wanting to be able to login on the /admin pages, or are you wanting to not have to login at all? LoginToboggan solves the first of these two problems.
0
 

Author Comment

by:glepiza
ID: 33470148
I want to ne able to login on the / admin pages. Thx
0
 
LVL 17

Accepted Solution

by:
Thomas4019 earned 250 total points
ID: 33470520
Install login toboggan, http://drupal.org/project/logintoboggan.
0
 

Author Comment

by:glepiza
ID: 33471320
Veery niceee, thanks!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now