Topic-icon session expired try again later message after jfbc jomsociail install

Active Subscriptions:

None
I am currently running joomla 2.5 with Jomsocial 2.6.2 My site was working just fine until I installed the JFBC component. The login with facebook works perfectly, but when users try to login with the jomsocial registration without using facebook login they get a session expired, try again later message. I have tested this on Chrome and Firefox and yes both are bringing up the error. Please help me solve this!!!
The topic has been locked.
Support Specialist
Tadd,
I've never heard of that issue before. Doing a quick search of Google, there's quite a few posts about JomSocial throwing that error. Most posts are pretty old though. The best description/solution I saw was here . Basically, it says it can be caused by a conflict between Mootools and jQuery. Your site is actually loading jQuery 4 different times with 2 different versions:
AdsManager and JomSocial - jQuery v1.6.2
jfbChat and your Bootstrap template - jQuery v1.7.1

My guess is the excessive loads of jQuery and the ordering of those being loaded with Mootools is an issue. My only quick suggestion is to try re-ordering the JFBCSystem plugin to the very top (lowest number) plugin. That will hopefully add Mootools before any of the 4 jQuery calls and help the problem.

If not, try disabling the JFBCSystem plugin altogether to see if the problem goes away.

If it does work without the JFBCSystem plugin, then re-enable it and try disabling adsmanaager, your template, or the jfbchat extensions to see if the problem goes away. We just need to narrow down where the conflict is coming from.

Hope that helps get you started and gives you some ideas.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hey alex I tried all of the above. No luck. Seems something after the install faulted the standard registration system.
The topic has been locked.
Active Subscriptions:

None
Hey Alex I did find that when I disable the JFBconnect system plugin my registration works as it should. When I enable it, it throws the system timeout error.
The topic has been locked.
Support Specialist
I'm really unsure. We do tons of testing with JomSocial v2.6 and have lots of users on that configuration. Something's strange if you're having that problem. Can you Private Message me super admin credentials for your site? I'd like to look into the issue more, and don't really have any other suggestions to test on your own.

If so, you can Private Message me by clicking the arrow under my name (<----) and hitting the mail icon.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Any luck Alex?
The topic has been locked.
Support Specialist
Tadd,
Thanks for the credentials. They definitely helped to narrow things down, and we have a solution for you.

You look to have added the {JFBCLogin} button to your JomSocial template for registration. However, you added the tag in the middle of a big Javascript block. The code I'm seeing on the front-end looks like:
joms.jQuery( '#jomsForm' ).submit( function(){
    joms.jQuery('#btnSubmit').hide();
	joms.jQuery('#cwin-wait').show();
	joms.jQuery('#jomsForm input').attr('readonly', true);
	
	if(joms.jQuery('#authenticate').val() != '1')
	{
		joms.registrations.authenticate();
		return false;
	}
});

{JFBCLogin}

// Password strenght indicator
var password_strength_settings = {
....
When the JFBCSystem plugin is enabled, that {JFBCLogin} tag is replaced with some HTML. That HTML, inside a Javascript block, is causing things to go wonky.

Can you move the {JFBCLogin} tag that (I'm assuming you added) to after the </script> tag a few lines down from where it is? That will then properly show the Login with Facebook button and should get you fixed right up for normal registrations as well.

Let us know how that goes, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
Hey Alex that was fixed my issue! Thanks! 1 small thing, the facebook login button is not showing the fb logo on the left though. Any tip to have it appear correctly?
The topic has been locked.
Support Specialist
What page isn't the logo showing on? On your home page, I see the button with the logo. On the JomSocial register page, I'm not seeing the button at all. Did you remove the button from that page?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
It appears to look fine in Internet Explorer, but the logo does not show correctly with firefox.
The topic has been locked.