the user login "block" which comes with Drupal let's me log in just fine, but the login button that comes with the theme I am using (About People) does not. The button uses the path user/login. WHen I type user/login in the url, I get the same access denied error. I tried on two different computers, cleared the caches, on the site and the browsers, nothins working- This sucks cuz if I want to work offline, I will never be able to get on the site, any ideas on how to go around user/login would be awesome. or how to fix this would be even better. tnx

Comments

coreyp_1’s picture

user/login is only available to anonymous users. If you are logged in, then you will get an Access Denied message.

IMO, the theme should not be using "user/login", but "user", and it should hide the button when the user is logged in. Perhaps you could file an issue on the theme's project page.

-Corey

alex.ihlo’s picture

it happens when I'm logged out too though. I can log out on my computer, then go up to another computer and try to log on there, and it says "access denied". hmmm. "user/login" always worked for me before, it stopped working now but, it's just the clean-url version of "?q=login".

mcfilms’s picture

You are logged out on that second computer for sure? The way you told the story above made it seem like you only logged off the first machine. You can be logged into the same account on multiple machines.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

alex.ihlo’s picture

Hold on one second, what I'm saying is the login form doesn't even appear. the url user/login = access denied Meaning, when you type in the clean url "user/login" and press enter, I get an access denied message. Clean urls are enabled.

I can log-in and access the site just fine using the login block, but I don't want the login block on the home page when I open this site because it has nothing to do with the vast majority of the people who will be viewing the site, i'd rather just use the button that came with the theme.

mcfilms’s picture

If you are logged in you will get an error there. I did on my site.

Why don't you just go to /user? If you are logged in you get your user page, if not, you get a chance to log in.

Also you can exclude a block from any page, including the home page.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

alex.ihlo’s picture

/user is "access denied" too.

mcfilms’s picture

At this point I suspect you are using some other access control module, or your directory permissions on the server are not set right. You might also try creating a new user with all the permissions of user 1 and see if that user is more reliable.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

alex.ihlo’s picture

yeah I have content access or something, but that isn't changing this issue. I have created a url redirect to a homemade login page using the login block for a temporary fix. Thanks mcfilms for your thoughts on this

worldon’s picture

Hi friends!

I have a problem of user access to my web.
When a user already registered, enter your login to the web, the system refuses and does not give permission to perform actions, as if I did not acknowledge their permits. This only happens the first time.
However, when this same user "Logs" and re-enters the system recognizes him.
I have been reading all your issues, but I think that are not for my problem... do you have any siggestion?
Thank's in advanced!