Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: Rohan_ - kesäkuu 09, 2011, 03:28:23 IP

Otsikko: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 09, 2011, 03:28:23 IP
Hello All,

I am having strange problem.. I am not able to login.. I Tried Different Browsers but only Mozilla is working..

I Am not able to log in IE, Chrome and others..

Please Help me fixing this issue

I get this error "You were unable to login. Please check your cookie settings. "

I also cleared all cookies but still same problem..

I have noticed another thing.. I am able to login using the login area which is in the bottom of the board index but i am not able to login using the top right corner login area box...

Logging in using the login page also not works.. Only the bottom one works in all browsers.

What can be the problem ?
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: kat - kesäkuu 09, 2011, 03:30:42 IP
Try Admin>Server settings and renaming the cookie.
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Illori - kesäkuu 09, 2011, 03:32:59 IP
you could also check if enable local storage of cookies is checked or use subdomain independent cookies is checked, and switch them around. in admin -> server settings -> feature configuration
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 09, 2011, 03:35:41 IP
K@ I tried that but still same problem..

Illori That option is not checked


I have noticed another thing.. I am able to login using the login area which is in the bottom of the board index but i am not able to login using the top right corner login area box...

Logging in using the login page also not works.. Only the bottom one works in all browsers.
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Illori - kesäkuu 09, 2011, 03:37:13 IP
i did not ask if it was checked, it was to switch them around as sometimes it works better the other way around.
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 09, 2011, 03:42:32 IP
But I want to know what is the problem ? Why is the bottom login working ? Why top one is not working ?

What can be the reason ? And what is the solution ?

I am using Pretty URLs

Does that effect anything ?
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Illori - kesäkuu 09, 2011, 03:43:43 IP
many people have issues with pretty urls, you could try uninstalling it and see if it works without it.
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 09, 2011, 03:56:21 IP
I tried that but no change... The botton login area works fine.. I think there is some issue in the coding.. What can be that ?

Please help me :(
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Sir Osis of Liver - kesäkuu 09, 2011, 03:58:02 IP

It's a bug in 1.1.1x and 2.0 that affects IE8, and I believe Chrome.  If session length is set to 60, it will throw the cookie error.  If session length is "Always stay logged in", or "Forever", or anything other than 60, login will work.  Not too difficult to edit the code to eliminate the problem.

Of course, would be a lot simpler if SMF fixed the bug.

Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 09, 2011, 04:06:55 IP
Please tell me which line do i need to edit to make the session length always stay logged in .

Because you are saying absolutely correct..

The Bottom logins always log me in forever but the top one logs me in for 1 hour.. Please Help me fixing this.. This will help others too

Checking The always stay logged in options logging me in in all browsers...

So Please help me in making this always logged in feature a default and remove those fields to enter minutes and the checkbox of always stay logged in...

I want to make "ALWAYS STAY LOGGED IN" a default feature
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Sir Osis of Liver - kesäkuu 09, 2011, 04:11:32 IP

Can you post a link to your board?  Not sure which logins you're seeing.

Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 09, 2011, 04:12:30 IP
I feel SAD because SMF HERO and SMF Support Specialist doesn't even know that it's a bug of SMF :(
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Illori - kesäkuu 09, 2011, 04:15:31 IP
just because we have been here a while or even on the team, does not mean that we know about each and every bug that is currently in smf, that is not part of why we are here.
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 09, 2011, 04:18:11 IP
Okay Illori I can Understand that..

But now you got to know that it's a bug.. Then now please help me in disabling the 60minute default login and making always logged in a default..

OR

Please provide a permanent fix for this issue
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Sir Osis of Liver - kesäkuu 09, 2011, 04:19:31 IP

Looks like a custom theme.   Attach your index.template.php and Register.template.php, and I'll fix it when I get back tonight.

Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Illori - kesäkuu 09, 2011, 04:20:16 IP
on the same page i pointed you to above, you can change the default login cookie length in minutes you can put a very large number and it will act as if it is forever.
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 09, 2011, 04:25:43 IP
Lainaus käyttäjältä: Illori - kesäkuu 09, 2011, 04:20:16 IP
on the same page i pointed you to above, you can change the default login cookie length in minutes you can put a very large number and it will act as if it is forever.

Ohhh yeahhhhh.. This was easy and simple and solved the problem.. I set my default login cookie 9999999

:) Thank You Illori

Lainaus käyttäjältä: Krash. - kesäkuu 09, 2011, 04:19:31 IP

Looks like a custom theme.   Attach your index.template.php and Register.template.php, and I'll fix it when I get back tonight.



Thank you For giving this topic your time.. I appreciate it.. but I think the issue is solved just by editing the login cookie amount..

But I am requesting to SMF STAFF to fix this issue in next update of SMF..

It is annoying millions of users
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Sir Osis of Liver - kesäkuu 09, 2011, 04:27:11 IP

Any value other than 60 will work.  If you want to keep the session length option, just set the default to 65.



Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Antechinus - kesäkuu 10, 2011, 04:05:57 AP
Lainaus käyttäjältä: Krash. - kesäkuu 09, 2011, 03:58:02 IP

It's a bug in 1.1.1x and 2.0 that affects IE8, and I believe Chrome.  If session length is set to 60, it will throw the cookie error.  If session length is "Always stay logged in", or "Forever", or anything other than 60, login will work.  Not too difficult to edit the code to eliminate the problem.

Of course, would be a lot simpler if SMF fixed the bug.

I can't reproduce this in either 1.1.x or 2.0. Tried both IE8 and Chrome. Both log in without problems using a 60 minute default.

Roahn, I very much doubt that this is annoying "millions of users" given that it does seem to work for a lot of people. This is the first time I have seen this mentioned as being a problem.
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Sir Osis of Liver - kesäkuu 10, 2011, 03:01:05 IP

It's been fixed on this board.  My 1.1.13 and 2.0 installs both throw the error.

Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Rohan_ - kesäkuu 10, 2011, 03:38:26 IP
Lainaus käyttäjältä: Antechinus - kesäkuu 10, 2011, 04:05:57 AP
Lainaus käyttäjältä: Krash. - kesäkuu 09, 2011, 03:58:02 IP

It's a bug in 1.1.1x and 2.0 that affects IE8, and I believe Chrome.  If session length is set to 60, it will throw the cookie error.  If session length is "Always stay logged in", or "Forever", or anything other than 60, login will work.  Not too difficult to edit the code to eliminate the problem.

Of course, would be a lot simpler if SMF fixed the bug.

I can't reproduce this in either 1.1.x or 2.0. Tried both IE8 and Chrome. Both log in without problems using a 60 minute default.

Roahn, I very much doubt that this is annoying "millions of users" given that it does seem to work for a lot of people. This is the first time I have seen this mentioned as being a problem.

where did you tried loggin in ? in this SMF's official site ? I suggest you to try on any other smf powered forum...

and about that 1 million users.. I said that because i have over 20,000 unique visits daily and over 1,50,000 page views/day... and there are other smf sites too... so if not 1 million then you can say 100k easily
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Antechinus - kesäkuu 11, 2011, 10:01:55 AP
No I tried logging in at several SMF sites, both 1.1.x and 2.0. Couldn't trigger that bug.
Otsikko: Re: You were unable to login. Please check your cookie settings. [PLEASE HELP]
Kirjoitti: Sir Osis of Liver - kesäkuu 11, 2011, 03:11:37 IP

It happens on all of my test installs, which are pretty much out-of-the-box.

http://www.thekrashsite.com/smf11/
http://www.thekrashsite.com/smf13/
http://www.thekrashsite.com/smf20/

Set them all to Immediate Registration - try it.