Solved

Drupal, Access Denied for admin?

Posted on 2010-08-17
7
658 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why I can't see my List in the View? 3 94
Speed of Website 9 118
Home to speed up my website (opencart) for logged users? 6 90
Customizing themes 14 83
Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another.  It is not an easy task, but can be accomplished rather easily. The first …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

778 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