×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

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

More
4 years 2 months ago - 4 years 2 months ago #1 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: 4 years 2 months ago by HugCoder.

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

More
4 years 2 months ago #2 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
4 years 2 months ago - 4 years 2 months ago #3 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: 4 years 2 months ago by HugCoder.

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

More
4 years 2 months ago #4 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
4 years 2 months ago #5 by 810

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

More
4 years 2 months ago #6 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.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.079 seconds