Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / General / login bug

Kingsley
#1 2012-01-14 00:30


Donator
Thanked: 7 times

When logging in while the checkbox remember me is selected, the system won't log you in.

elfrenazo
#2 2012-01-14 05:29


Donator
Thanked: 6 times

to me goes well

Trustmaster
#3 2012-01-14 11:10


Administrators
Thanked: 228 times

Check cookie domain and cookie path settings in Administration / Configuration / Main Settings. Seems like they are wrong.

May the Source be with you!
Kingsley
#4 2012-01-14 14:53


Donator
Thanked: 7 times

Not even touched that.. Both are empty  (the default)

Trustmaster
#5 2012-01-14 18:17


Administrators
Thanked: 228 times

Try filling them. Domain is usually something like 'example.com', path is usually just '/'.

May the Source be with you!
Kingsley
#6 2012-01-14 18:23


Donator
Thanked: 7 times

nope, still persists..

Trustmaster
#7 2012-01-14 18:44


Administrators
Thanked: 228 times

Some more questions then:

  • is the domain 'localhost'?
  • does it happen in different browsers?
May the Source be with you!
Kingsley
#8 2012-01-14 22:10


Donator
Thanked: 7 times

local and live. Tested with the browsers: FF, IE, Chrome, Opera

 

oh, and you'll get redirected to the index, maybe that helps

 

 

Twiebie
#9 2012-01-14 22:24


Team
Thanked: 72 times

Hmm, works fine here.

What's the code of the login form in your TPL?

Kingsley
#10 2012-01-15 00:45


Donator
Thanked: 7 times

haven't come around to those tpls yet, so the standard module/plugin tpl or that of nemesis.

elfrenazo
#11 2012-01-15 02:32


Donator
Thanked: 6 times

could be the server or any restrictions

Trustmaster
#12 2012-01-15 07:17


Administrators
Thanked: 228 times

That's weird. Contact me via PM for a private debug session.

May the Source be with you!
Kingsley
#13 2012-01-15 13:23


Donator
Thanked: 7 times

Need to sleep more

accidentally used a \ instead of an / on path for cookies..

GHengeveld
#14 2012-05-20 21:22


Team
Thanked: 50 times

I had the same issue on localhost. It turns out $domain should be FALSE on localhost, not an empty string. Fixed in 0f8f8325570e265804e23a8903cb6be302499813

Formerly known as Koradhil