Topic-icon Nothing Happens When I Click "Login With Facebook" Button

Active Subscriptions:

None
When I click the "Login With Facebook", the button depresses visually like it has been clicked, but nothing happens. The usual login window does not come up, no error message, nothing. I have the "Send" module on another part of my page and it works fine.

EDIT: Also, if I login to my site (not using FB button), the "Logout" button does not work, so I can't log out.

Looking for assistance please.

Griz
www.grizzledgamer.com
The topic has been locked.
Support Specialist
Griz,
You have another extension that's including and trying to initialize the Facebook Javascript API. They're also doing it in an incompatible way with OAuth2, which will be required by Facebook on October 1st. It looks to be your Gavick template that's doing it. Please disable the Facebook Login functionality of that template, and clear your Joomla caches.

Everything should work normally after that.

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

None
14 years 8 months ago #13816 by griz
Dang...I feel like this is definitely on the right track, but I still can't get it to work.

My Gavick template has only two relevant parameters from what I see:
Facebook AP ID ___________ (I've left it blank)
Use Facebook Login: Y/N (I have it set to 'No')

Should I try putting my AP ID in? Or set FB Login to 'Y'?

EDIT: Something odd happened: I've been using Chrome with no luck. I tried IE and the FB login box came up. (I got my hopes up.) I entered my login info and when I hit 'Return', the box disappeared, but I still wasn't logged into my site. Now I can't get the box to come up in IE again either....argh!

(Thanks for the quick reply by the way...like I said...I feel like we're on the right track.)

Griz (Steve)
The topic has been locked.
Support Specialist
Steve,
The problems I'm seeing on your page are still there. I'll let you know exactly what they are, so hopefully, you can start narrowing down what's causing the problem. For both of these, just open the HTML that's being output to the page with whatever browser you're using.
1) If you search for "all.js" in the code, you'll see a line in the header of the page that ends with #xfbml=1 . That insertion of the Facebook Javascript library is not from JFBConnect, and is likely part of the problem. You should try to disable any sort of extensions/templates that may have Facebook integration to remove that.
2) If you search for "FB.init", you'll see JFBConnect's code at the top of the page. At the bottom is the insertion from Gavick (which includes the appID: ' ' line, which is bad since no AppID is specified). This will need to be removed as well, which should be in the template's parameters.

Since browsers load things in different order, with multiple inclusions of similar code, you'll see different results with different browsers. In all cases though, with the problems above, things won't work. Once those two things are fixed, you should be good to go.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13820 by griz
One other thing that seems to me like it might be important...heheh...the JFBC Send module works just find. I can log in to Facebook with it even when the Login module won't. Curious.
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13859 by griz
I Have found the references you gave. And I eliminated all Facebook integrations that I could find, including Jomsocial and at least one other. And I have eliminated the one place where I had put in an ApID. But still no luck. When I look at the HTML, the #xfbml=1 text is still there. I'm just not sure how to get rid of those.

I'd like to ask one question...since I use JFBConnect, are you saying I should disable ALL Facebook enabling options from my other components? For example, Jomsocial and Kunena have simple checkbox options to enable Facebook integrations. They also have things like checkboxes to enable "Likes" and similar stuff. Do I have to disable all of those parameters?

Steve
The topic has been locked.
Active Subscriptions:

None
14 years 8 months ago #13862 by griz
In case it might help at all, I've attached the html for my page.

View Grizzled Gamer source
The topic has been locked.
Active Subscriptions:

None
Im having a similar problem, login often requires you to click twice, logout doesnt really o anything as I can go to an other page on the site and it shows Im logged in and can use the system as such.
This is a fairly clean install. Joomla 1.7 with the JoomlArt Framework, Kunena, AdsManager. Everything is fine w/o JFBConnect, however once in I start seeing those symptoms.

The all.jsp does show in my page source, however the only thing that removes it is when I remove JFBConnect.

Thanks in advance for any insight you can provide.
the site is www.maltashopping.org

if it helps I can also give you access to my admin, pm me if you want the details
The topic has been locked.
Support Specialist
Griz,
You don't need to disable all Facebook integration from other extensions. But sometimes, others do conflict or try to overlap with what JFBConnect does. JomSocial is a perfect example. You can't have 2 extensions trying to manager user registrations through Facebook, and it should be disabled in JomSocial. For our quick integration guide with JomSocial, see:
www.sourcecoast.com/jfbconnect/docs/thir...ration-for-jomsocial

The #xfbml=1 and big chunk of code at the bottom are still the issues on your site. I believe these are coming from your template, and in there, you'll need to disable any Facebook integration. I don't know your template, or Gavick's templates real well, but I know in the past, other users have been able to disable the Facebook/Social integration in them. Another suggestion would be to contact Gavick to get more information on how to turn off their Facebook inclusion.

Malta,
I just looked at your site, and didn't run into any issues registering or subsequently logging in. Looking at the HTML on your page, there's nothing I see wrong with your page. Can you give more information about how your testing (browser, OS, etc), if the issues happen on specific pages, or any other information. Also, please try clearing your browser cache, Joomla's cache, and possibly even on another computer, if possible, to see if things improve (or get worse).

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

None
14 years 8 months ago #13880 by griz
Good news. I haven't thoroughly checked yet that everything is perfect, but the login button is working again. The culprit was a couple of options in the Gavick template to turn on the Facebook "Like" and the "Send" buttons in articles. Even disabling the FB login in the template didn't solve the problem until I disabled those buttons. Your input and guidance definitely lead me in the right direction.

(I'd like to have those buttons on...do you think Gavick should be able to do something to overcome this "problem"?)

Thanks for your help.

Griz (Steve)
The topic has been locked.