** HIGH IMPORTANCE **
The issue is that when logging out of site, user remains logged in when refresh page.
These are the steps to replicate.
1) Login as any user via a browser, verify login by seeing cometchat bar.
2) Logout of site by clicking the logout button on right hand side of the JomSocial menu bar.
3) Refresh the home page.
4) Notice that still 'partially' logged in, cometchat bar is disabled though as cometchat script is working fine.
I have added a menu item on the JS toolbar to a component called 'quick logout', when using this the logout works as expected. This has only started to happen since the upgrade to JomSocial 4.4.2
Regards
Stephen
Hi, Stephen.
Thank you for contacting us.
Please:
1. Edit your first post.
2. Click switch below main text field:
prntscr.com/fk3hdg
3. Provide your site details: backend URL, admin credentials and FTP:
prntscr.com/fk3hwz
4. Let us know that you provided credentials by posting in the same thread.
Hi Michal,
I've added the credentials as requested.
Regards
Stephen
HI, Stephen.
Thank you. I was able to replicate this issue on your site.
But not on my test site.
That means it's your site specific issue.
Steps to replicate:
1. Login to JomSocial
2. Once logged in click on logout icon in JS toolbar.
3. You'll be redirected to frontpage and JS login form will be displayed.
4. Refresh page
Result:
You'll be logged in and stream will be displayed.
Expected result:
As you logged out it should stay that way.
I assign developer to investigate this issue further.
He'll contact you ASAP.
Hi Stephen,
Did you disable the jomsocial toolbar? please you enable it again I need to see some cases with this issue, maybe this issue caused by 3rd party user plugin from user auth / user sycn plugins, please you disable it them
thank you!
Hi.
I have re-enabled the toolbar
Stephen
Hi Stephen,
I see your issue is related with cache, actaully the logout button is working fine.
thank you!
Hi Dimas,
Thanks for your reply, actually it's not the cache - see this video as an example where I clear the cache, change user name to something that fails logging in and see it's logged me in.
youtu.be/R0jQisSZR-M
Regards
Stephen
Try deleting cookies. In my case fixes logout :)
More details on that here:
www.jomsocial.com/forum/installation/371...-present-on-homepage
Hello. I have similar issue on test site with JS 4.4.0...4.4.3.
This methon works good on life site sith JS4.3, but has some random issues on JS4.4.3 so it difficult to replicate (because happands random).
I turned off "Toolbar", any "JS HelloMe" and "Joomla Login" module and used this session settings (any cashe is turned off):
Thats an old error!
logoutlink looks like this:
<a href="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&task=' . COM_USER_TAKS_LOGOUT . '&' . JSession::getFormToken() . '=1&return='.$logoutlink); ?>" class="joms-button--hellome logout" >
the working logout link must look like this:
<a href="<?php echo CRoute::_('/index.php?option=' . COM_USER_NAME . '&task=' . COM_USER_TAKS_LOGOUT . '&' . JSession::getFormToken() . '=1&return='.$logoutlink); ?>" class="joms-button--hellome logout" >
Stephen Armstrong-Smith wrote: Hi Dimas,
Thanks for your reply, actually it's not the cache - see this video as an example where I clear the cache, change user name to something that fails logging in and see it's logged me in. youtu.be/R0jQisSZR-M
Regards
Stephen
oh wait.. seems I can replicate this issue on my local as well.. we will inspect this issue further..