My production website has got a odd issue with the login. And I cant login. when you type the login credentials, it just re-loads up the main page with the user name and password fields blank. it doesnt show any error messages. I tried other user names but get the same problems. I also tried the /user page at the end of the url and doesnt work.
I tried it with different browsers, cleared my cookies.
When you do put the username in and hit enter, the page url looks like this:
www.yourpage/com/node?destination=node

I contacted my hosting provider and said theres nothing on there side. The only thing different I changed last night was changing the php.ini settings to this:
memory_limit = 96M
post_max_size = 200000M
upload_max_filesize = 500000M

I cant do anything on my site. Technically the site does work but without the login, it leaves the site out in the open.

-Mallet

Comments

corvitech’s picture

Hi Mallet

I have the exact same problem, did you manages to sort out the problem?

Regards

Fannon’s picture

Version: 6.13 » 6.17

I've got a similar (the same) Problem?

This appeared to me twice and one of my users:
When i tryed to login it simply didn't work and redirected me to the start-page (can't remember the exact link). In Who's online it -did- show me logged in. But the login-box still appeared and i had just guest-status on the site.
When i clear my cookies or use another Browser it works.

I think this error appeared since i did the Drupal 6.17 Update.

This is a worse issue for me, because Drupal gives no Error Message and i can't expect from my users to know how to delete Cookies and solve this Problem by their own.

Greets,
Simon

mallet’s picture

sorry if I havent updated this.
I dont know how, but my production site was running ok literally after finding out the problem. and just seemed to have resolved by itself. I think its had something to do with my hosting company godaddy. I have been just getting odd problems with them since day one. And dont think its because I did something on my site. I gave godaddy two websites to host and they both started to crash or come up with odd errors. And this was on the unlimited package.
I am trying to bail out on godaddy asap and looking for someone that can host a site.

I havent pin pointed on what the cause of issue is. But godaddy say they reset there apache servers every week or so and I think the php.ini file was related to that.

bryrock’s picture

I'm not sure if this is the same issue or not, but I've also been having login problems on two of my drupal sites since applying the 6.17 update. The symptoms vary slightly by site and also behave differently depending on browsers used. In all cases, no login issues of any kind were occurring on either of these sites before the last update.

Site #1 -- Users attempt login and think they are successful because they land on their user page. However, they soon find they have none of their usual permissions (because they aren't really logged in).

Three browsers behaved differently. Safari only required the deletion of any and all cookies to the site. Firefox required deletion of cookies, and then also the deletion of the new exception to block future cookies which Firefox adds automatically when you delete cookies (it seems to assume that once you delete cookies from a given site that you no longer want to accept new ones from that site). The Opera browser has yet to experience this login problem, but this has been a test only since I don't think any of the users actually use Opera.

Site #2 -- This site will falsely behave as though a user had simply logged in with an incorrect username and/or password. To make matters worse, if a password reset request is made, the user gets the correct email with the one-time login link, but when it kicks them over to their account so that they can change their password, they get their user page along with an "access denied" message.

This happened to me as well (the administrator of the site) and had me pretty freaked out since I knew I had not forgotten or mistyped any login info. I was locked out until I deleted my cookies.

Again, this was not happening in tests with the Opera browser, and the solution for both Safari and Firefox was to delete cookies and make sure (in the case of Firefox) you can still except new ones.

nicholasThompson’s picture

It seems to be cookie related...

I have the same problem on my multisite install. Firefox & Safari worked fine, however Chrome didn't until I tried Incognito mode.

parasolx’s picture

This also happen to all my Drupal site. After upgrading to 6.17, anybody can't login. But when I read all the notes that given during upgrading, you need to re-setting the setting.ini fail regarding to cookies. So here is the solution:

if you have enable $cookie_domain in setting.php or either not, please do it because in version 6.17, drupal have upgrade authenticated method by reading cookies and sync with session table. So, for those who didn't enable this would never facing any problem in login but your site may not secure. Kindly to dis-comment and enable this function.

Then look at the $base_url in setting.php, if your have set this value like this: www.domain.com, then you need to altered the $cookie_domain. Below I sort out the list for setting base on this two variables.

if $base_url = 'domain.com' --> $cookie_domain = 'domain.com'
if $base_url = 'www.domain.com' --> $cookie_domain = 'www.domain.com'

for site that usign REDIRECT either from non-www to www OR www to non-www OR you are using any subdomain in site, I suggested you make all setting like this:

$base_url = 'domain.com' // for non-www
$base_url = 'www.domain.com' // for www

and $cookie_domain = '.domain.com' // put "." in front of the domain. By doing this, all cookies will apply to both non-www and www or Subdomain site.

And I sure.. all of login problem solved. Any site that integrate with phpBB or other CMS also solved. Kindly give feedback.

javamandk’s picture

#6 - Works for me.

nicholasThompson’s picture

Status: Active » Closed (works as designed)

I'd say this is no longer a bug, but a "by design" issue. They updated some code for 6.17 and it's effected any upgrading site which are now no longer setting their cookie's correctly... #6 fixes for me too.

valk’s picture

#6 - Works! Thanks!

apaderno’s picture

Davinia’s picture

Please help,

I'm also locked out of my site. It happend with another install and I just gave up fixing it.

Tonight I did a fresh install of 6.19, no additional modules installed yet, I've just been working on my theme (logged in). When I logged out to take a look how the site looked for non-users I couldn't get back in!!

PLEASE help!

berenddeboer’s picture

Davinia, remove all cookies for your site from your browser, or login using a browser you haven't used before.

malarie’s picture

I accidently removed the login section of my site. now i am stuck outside and cant log on anymore, see itquebec.com

I also have no backup as i was experiencing with drupal. Any help is apreciated.

Regards

parasolx’s picture

malarie, you're post which not correct thread. kindly not to abuse other post with your question.
next time, try to search first. if not meet any answer towards your question, kindly to open new issue in appropriate forum.

regarding your problem, just add "/user" or "user/login" at the base URL.
exp: http://www.mydrupalsite/user

and then login with your ID.

Yamra’s picture

Issue summary: View changes