Kunena 7.0.11 & Kunena 6.4.16 – Security Updates Released and K7.1 in RC1 2

The Kunena team has announce the arrival of three simultaneous security release : K6.4.16, K7.0.11 and K7.1 RC2. Just a reminder K6.4.16 receives only securities fixes untill end of 2026, so it's advised for users to upgrade to K7.0.11. K7.0.11 is the last release of the K7.0 because it's replaced by K7.1 branch with the stable release in the corner. The translations for K7.1 on crowdin.com/project/kunena-forum-7-1 needs to be checked or improved becasue it has been generated by TM (Translation Machine).

Solved [K.5.0.RC5] "User is missing" when logging in using Kunena

More
10 years 3 months ago - 10 years 3 months ago #177673 by HugCoder
I quite recently updated to RC5 and started using PHP 7.0.8 and Joomla! 3.6.0. I have cache enabled if that matters, and I use JotCache for caching.

I can log in using the normal Joomla Login, and then I'm also logged in on the forum, but if I use the login through Kunena forum layout, with same credentials, I get a message about that the User is missing, and I'm not logged in. The username does contain a whitespace, if that makes a difference. Not quite sure if I can get more info than that, since I don't get any other error messages.
Last edit: 10 years 3 months ago by HugCoder.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #177675 by 810
try to disable the jotcache, then do clean cache, and try again.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago - 10 years 3 months ago #177679 by HugCoder
Thanks for answer!

I just tried that and also disabled caching completely in Joomla!. It's still the same unfortunately. I did however just try to login using another account, which doesn't include any white-space, and it actually worked. Not sure if it's a coincidence, but I'm a programmer myself and know special characters can mess up comparisons between strings etc. if such are made while e.g. encoding/decoding. The user obviously exist for Joomla! but not when kunena checks for it, so there must be some difference in the login phase or passing data from kunena to Joomla!.

Anything else I can try?
Last edit: 10 years 3 months ago by HugCoder.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #177680 by 810
yes, looks kunena strips the space. Will check it out.

when I login as demo 1, then he will load the demo1 account. If you have the same password, then you login as demo1, else you get a wrong password error

Please Log in or Create an account to join the conversation.

More
More
10 years 3 months ago #177682 by HugCoder
Nice!
On line 468 I guess you could replace $app->input with $input though.

Please Log in or Create an account to join the conversation.

Time to create page: 0.117 seconds