Topic-icon Problem with Joomla! 3.2.0

Active Subscriptions:

None
10 years 5 months ago #38530 by gusmor
Hello: I upgraded to the latest joomla and now the facebook login button doesn't work. when clicked it opens the login window but after login it just clocks and dissapear. No login happens. If button clicked again, login window opens for a seconds but there's no login. I have to clear cache in order to get the window again but it doesn't fix the problem. Joomla and google login work fine. I reinstalled the component and sclogin but problem still there. Is there any update I'm not aware of? Thanks.
The topic has been locked.
Support Specialist
10 years 5 months ago #38543 by alzander
Replied by alzander on topic Problem with Joomla! 3.2.0
Can you try disabling the minimization and optimization script you have enabled and test again? I think the problem is that it's pushing our Javascript to the bottom of the page and re-organizing things in a way that's not working.

If that doesn't help, leave the optimizations off and we'll gladly check again.

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

None
10 years 5 months ago #38555 by gusmor
Replied by gusmor on topic Problem with Joomla! 3.2.0
Thanks for the reply Alzander: I turn off google pagespeed on htaccess and the scriptmerge plugin by Yireo. I also upgraded the component and sclogin to the newest release and I think I made things worse :O Now neither google or facebook login work. They behave like images, meaning that clicking on them don't do anything. Also, the formatting just got weird. The facebook and google buttons used to be lined up at the button of the login page form and now they are at the top (the Login Text at the beginning is a nice addition, though). I'm leaving pagespeed and scriptmerge off as you requested and I'm also setting the sclogin module back on the frontpage for easy access to the problem. Hope this helps pinpoint some issue. Thanks in advance for your help.

File Attachment:
The topic has been locked.
Active Subscriptions:

None
10 years 5 months ago #38556 by gusmor
Replied by gusmor on topic Problem with Joomla! 3.2.0
I forgot to say...When I first tested the google pagespeed and the scriptmerge plugin the facebook login didn't work. It only worked after I added an exception to scriptmerge for jfbconnect.js to avoid having it minimized or merged but it moved it to the bottom anyway without trouble till now.
The topic has been locked.
Support Specialist
10 years 5 months ago #38574 by alzander
Replied by alzander on topic Problem with Joomla! 3.2.0

The facebook and google buttons used to be lined up at the button of the login page form and now they are at the top (the Login Text at the beginning is a nice addition, though).

[/quote]
We updated the "Integrate into Joomla Login" setting in our configuration area to have options for Top/Bottom/Both/None. It sounds like your setting is "Top". If you'd prefer bottom, just update that setting.

As for the login functionality not working, that's because of how you're loading jQuery currently. The line below is how it's loaded:

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" defer='defer'></script>
That defer portion means that the jQuery loads after other Javascript. Our Javascript requires jQuery to already be loaded so we can use it right away.

Can you remove that defer tag and see if that fixes things up?

Thanks,
Alex

The topic has been locked.
Active Subscriptions:

None
10 years 5 months ago #38577 by gusmor
Replied by gusmor on topic Problem with Joomla! 3.2.0
Thanks Alzander. Thanks for the great support. As always. The Top-Bottom option is great. Thanks for adding it. Definitely goes with my layout now.
One comment about it: I think the Register With text is hardcoded in the component, so it doesn't translate when switching languages. In fact, the string doesn't exist in the language file.

About the problem with the login: I removed the defer and played a little bit with the positioning of the jquery file but problem continues. I also turned on (and turned off) the Load JQuery setting in the settings but it made no difference. Other modules that depend on jquery work fine.
The topic has been locked.
Support Specialist
10 years 5 months ago #38606 by alzander
Replied by alzander on topic Problem with Joomla! 3.2.0
Gustavo,
Glad to hear you like the new top/bottom option.. as well as the option for it to add to the registration page as well. As to your other questions:

One comment about it: I think the Register With text is hardcoded in the component, so it doesn't translate when switching languages. In fact, the string doesn't exist in the language file.

There are 2 language strings that are used for those views:
COM_JFBCONNECT_LOGIN_WITH
COM_JFBCONNECT_REGISTER_WITH

If you're not using en_GB and you don't see those strings, it simply means we didn't have a translation for them. In that case, JFBConnect falls back to the English version. Simply add that key to your file, and you should be good to go.

About the problem with the login: I removed the defer and played a little bit with the positioning of the jquery file but problem continues. I also turned on (and turned off) the Load JQuery setting in the settings but it made no difference. Other modules that depend on jquery work fine.

I just tried to login with Facebook and had no issues. What issues are you having now?

Will gladly help once we narrow things down.

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

None
10 years 5 months ago #38633 by gusmor
Replied by gusmor on topic Problem with Joomla! 3.2.0
Thanks. Language problem addressed :)

But I wonder if we're looking at the same website. I have a couple with JFConnect installed. This is the one I'm having trouble with goo.gl/HggXdD, and just today I tried to login via every major browser and nothing. The Facebook and Google icons still do not respond when clicked! Can you share how you managed to make them work.
The topic has been locked.
Support Specialist
10 years 5 months ago #38640 by alzander
Replied by alzander on topic Problem with Joomla! 3.2.0
Glad that helped with the language feature. I was trying on that site, and just tried again. I was brought to the Login/Register page of JFBConnect without issue when trying to login with Facebook.

Can you check that you don't have any addons or other things installed in your browsers that could be blocking requests to social networks? It also could be a firewall or other type of software blocking requests from your computer.

If you still can't get it, I'd recommend trying from a different computer and different Facebook account, just to narrow things down. There was nothing special I did to make it work, I just clicked, approved your app, and was redirected.

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

None
10 years 5 months ago #38650 by gusmor
Replied by gusmor on topic Problem with Joomla! 3.2.0
Hey: Sorry for becoming such a pain in the butt with this problem but now I ran out of ideas. I'm happy it is working for you and probably for others coming to the site, but I test and test and nothing. All browser show the same behavior it doesn't matter if I use different computers (tested on Mac and PC). Tonight I'm gonna test offsite to see if there's anything blocking the script on my network but I can use the module on your site without problems.

One of the most frustrating things is that I have very little to check as this joomla installation is almost bare bones. Except for mergescript and cdn for joomla I have no other plugins or components installed.

Just to get it out of the way, I uninstalled the component and all the modules and plugins and installed everything again to see if the files had been corrupted in some way but it didn't make a difference. I'll update here as soon as I test offsite. Thanks for your patience.
The topic has been locked.