By johntwenty on Tuesday, 21 April 2015
Replies 16
Likes 0
Views 4.7K
Votes 0
Hi,

I've encountered a rather strange phenomenon.

I recently migrated my website to J! 3.4 and I'm using JEvents 3.1.45. The website has a members-only area. Everyone can see our [url=https://www.cg-maulburg.de/aktuelles/monatsuebersicht/range.listevents/-:1zy4md5k]event list[/url:1zy4md5k] (JEvents list view), but only members can see special events that are not visible to the public.

Now, whenever I sign in and go to the list view, I get signed out and are only able to see the public event list. However if I check the backend I seem to still be logged in.

I'm not a 100% sure that this is related to JEvents, but if you have any insights or suggestions, that would be appreciated.

Cheers J.T.
Hello J.T.,

JEvents doesn't handle any sessions it just checks the current session.

Are you integrated with any community systems? like Community Builder or JomSocial?

Thanks
Tony
·
Tuesday, 21 April 2015 08:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

no, I'm only using the standard Joomla login. I just noticed that I also get signed out when I go to the calendar view page.
Maybe there is a problem that has to do with the migration from J!2.5, but I uninstalled JEvents before migrating.

Thanks for replying.
J.T.
·
Tuesday, 21 April 2015 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I only seem to have this weird phenomenon on pages that use JEvents.

Are you positive, that it cannot be a problem with JEvents? Maybe there is a bug.
J.T.
It only happens [url=https://www.cg-maulburg.de/aktuelles/monatsuebersicht/range.listevents/-:36qqftoq]here[/url:36qqftoq] and [url=https://www.cg-maulburg.de/aktuelles/kalender/month.calendar/2015/04/28/-:36qqftoq]here[/url:36qqftoq].

Could it be related to switching over to https?

J.T.
·
Tuesday, 28 April 2015 17:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello J.T.

Can you post a copy of your JEvents Support Information please?

Thanks
Tony
·
Tuesday, 28 April 2015 21:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure,

PHP Version : 5.6.7-1+deb.sury.org~precise+1
MySQL Version : 5.5.43-0ubuntu0.12.04.1
Joomla : 3.4.1
component_com_jevents : 3.1.45
component_com_jce : 2.4.6
module_mod_jevents_cal : 3.1.45
module_mod_jevents_custom : 3.1.45
module_mod_jevents_filter : 3.1.45
module_mod_jevents_latest : 3.1.45
module_mod_jevents_legend : 3.1.45
module_mod_jevents_switchview : 3.1.45
plugin_content_jevents : 3.2.0
plugin_finder_jevents : 3.1.45
plugin_search_eventsearch : 3.1.45

hope this helps

Thanks again
J.T.
·
Wednesday, 29 April 2015 19:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello J.T.

I cannot see why it would sign you out with that.

The only thing I can imagine is you are having issues between https and http.

Is https force accross your site?

Are you login forms set to use HTTPS / SSL?

Can you try JEvents v3.2.x ?

Thanks
Tony
·
Wednesday, 29 April 2015 22:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, the configuration is set to use https/SSL across the website.

The login data is SSL encrypted as well.

I hadn't noticed that there was a version 3.2 since my extension manager said that everything I have installed was up to date.

I'm going to try version 3.2 and will report back if that changes anything.
[update:] It seems currently impossible to download version 3.2. Whenever I try the download starts, but then fails.[/update]

Thanks again
J.T.
·
Thursday, 30 April 2015 19:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello J.T.

We haven't added it to the update of 3.1 as it's a big change i.e. mootools to jQuery.

Many thanks
Tony
·
Thursday, 30 April 2015 21:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

I've managed to install version 3.2 now, sadly though it doesn't change anything.
I'm guessing that it may be related to https, however I really don't want to go back to http.

Thanks anyway
J.T.
·
Friday, 01 May 2015 09:13
·
0 Likes
·
0 Votes
·
0 Comments
·
what you need to do is eliminate all possible causes of this.

So I would recommend you disable all modules apart from the core Joomla login module and a core joomla menu module and also disable all system and content plugins that didn't come with Joomla.

Does the problem still happen then?
·
Friday, 01 May 2015 11:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Well no it doesn't.

All I need to do is to switch side wide SSL off. If I only encrypt the login I don't get signed out.
So I'm guessing that this might be a Joomla issue and it may get fixed in a future release.

I had hoped that it was just some misconfiguration on my part, but that seems pretty unlikely (although I wouldn't rule that out completely). And it might also be an issue with my provider.

Thanks
J.T.
·
Friday, 01 May 2015 21:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Could be to do with how your cookies are assigned - did you try making the WHOLE site ssl and not jsut the login page
·
Saturday, 02 May 2015 10:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes I have and that actually is when it doesn't work (i.e. when I get signed out as soon as I navigate to a page that uses a JEvents component).

As a work around I've now gone back to only encrypting the login.

However, I would really like to encrypt the whole site.
·
Saturday, 02 May 2015 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
So it works correctly when you disable SSL on the whole site?

That does sound strange..

Thanks
Tony
·
Saturday, 02 May 2015 20:12
·
0 Likes
·
0 Votes
·
0 Comments
·
It does, but what's even weirder is that somehow the problem seems to have vanished!?!?!

Now I don't really know what did the trick, but maybe it was updating to 3.2. and then (which I hadn't done previously) clearing the expired cache.

Anyway, I'm glad that it now works the way it should be with full SSL encryption on the whole site

Thanks again for all your contributions!!

J.T.
·
Saturday, 02 May 2015 22:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi J.T.

It sounds very likely it was down to caching either on your browser or your site.

But glad to hear it has resolved.

Many thanks
Tony
·
Tuesday, 05 May 2015 09:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post