Topic-icon firefox javascript error & IE+Chrome 403 error

Active Subscriptions:

None
10 years 4 months ago #56592 by fff
Hi Alex,

I am a new customer & new to all that social integration on innovation.world
At the moment trying to get an easier/simple registering & login via Facebook plugin

maybe two problems, maybe the same:
- the first, maybe the easiest, when I click on the facebook button on Firefox -> nothing happens except a small message on the bottom: "javascrip: void(0)" ; on IE & Chrome I do not have that
- ... But on IE & Chrome a box is opened to enter my fb credential, OK, then "your are now connected using your fb credentials" then a 403 error on "innovation.world/index.php?option=com_jf...der=facebook&return=...."

Any help please ?

Thanks,
Fabrice
The topic has been locked.
Support Specialist
10 years 4 months ago #56597 by mel
Fabrice,

the first, maybe the easiest, when I click on the facebook button on Firefox -> nothing happens except a small message on the bottom: "javascrip: void(0)" ; on IE & Chrome I do not have that

I just tried the Facebook button at innovation.world/login.html in Firefox and the popup occurred as expected. Can you check to see if you have any extensions/add-ons installed with Firefox that may be preventing this from displaying? That's usually the most common cause of this problem. Are you trying the button from a different URL?

- ... But on IE & Chrome a box is opened to enter my fb credential, OK, then "your are now connected using your fb credentials" then a 403 error on "innovation.world/index.php?option=com_jf...der=facebook&return=...."

I was also able to create a user at the innovation.world/login.html link properly using the Facebook button. You can see the user melsou has been created. I was initially logged in via Facebook and it took me to the JFBConnect login / register view after I approved the permissions dialog, where I created the user correctly. I also tried logging out of FB, the popup occurred and I logged in with a different FB user, approved permissions and it also brought me to the same view.

Are you still having the problem? What specific URL are you on when you try to log in via FB? Are you using the button in the users component or the SCLogin module on the side of the page? Are there different results with another Facebook user? Any further details would be very helpful as I cannot yet recreate this issue on your site.

-Melissa
The topic has been locked.
Active Subscriptions:

None
10 years 4 months ago - 10 years 4 months ago #56598 by fff
Hi Melissa,

First, THANKS A LOT for your ligthning speed support and tests !

so I did dig into the problems as you suggested

obout login with latest Firefox
- I have disabled all plugins (firebug & others) --> no change
- Then I disabled all options one by one, until to discover that it is the option>private life>use protection against tracking in private pop-up check box that makes the windows noshow
the very annoying is that I have have a default install of firefox , so that box is check as default. I have ask two friend who tested my site before you, they had same problem
so in fact it means that for majority of users of firefox, this facebook login will not work :(
do you confirm ? its not a jfb bug, but do you have a workaround for this, like not in popup windows or other means to keep firefox happy (ssl or other) ?

about the 403
I see you have created successfully, but as I try with my fb account, I do have this 403
The only difference I imagine compared to when you do the test, is that the email I use on my fb account is the same as my joomla superuser. Is the redirect after login special in that case ? or do you see something else ?

Thanks,
Fabrice
Last edit: 10 years 4 months ago by fff.
The topic has been locked.
Support Specialist
10 years 4 months ago #56600 by mel
For the popup:
Please try the Show 'Login Credentials' in popup setting in JFBConnect backend > Configuration > Facebook area. Instead of showing a popup, the user will be directed to a page in Facebook and then back to your site.

For the 403:
* Have you tried toggling the JFBConnect > Configuration > 'Automatically Link Users by Email' setting to see if there is any effect? If the email addresses match, we will map the social network user to the existing account.
* If you have any Social Profiles plugins enabled, could you try disabling these temporarily?
* Are there any other messages on the page with the 403? Sometimes there are warnings that can help narrow down the issue.
The topic has been locked.
Active Subscriptions:

None
10 years 4 months ago #56689 by fff
Hi Melissa,

Sorry for late reply, it took me some time to dig into root cause of the 403

For login popup Windows not opening on latest Firefox
I confirm ; it is clearly that Firefox checked optio
I had already several (not-pleasedf) feedback from users
I have tried on sourcecoast.wom site --> same!
(& like on sourcecoast site, I will not redirect to a Facebook full page; too disturbing to user & risk is great to loose them completely)

We can close that topic, but I kindly suggest for future version some detection mechanism either to inform or to use different method with concerned Firefox users
(another way is to put some text in the login form, but I will open a different thread on that, as I got other users feedbacks related to that specifically)

For 403 error
... mmm ... took me a while
... to find out that it's an Akeeba admin tool "hardening function" that I set months ago to excluse admins from frontend login ... and my social email is the same :P
so all OK on that. JCB continues to be great (& Akeeba did it's job well also)
Maybe you should mentiona that soemewhere in your doc, as you & akeeba are pretty well used and known in the Joomla business :)

so please close topic & thanks again
Fabrice
innovation.world
The topic has been locked.
Support Specialist
10 years 4 months ago #56693 by alzander

We can close that topic, but I kindly suggest for future version some detection mechanism either to inform or to use different method with concerned Firefox users

What version of Firefox are you using? We haven't heard this issue from any other users on our site or any other users of JFBConnect, and Firefox is a very popular browser. Something seems to indicate it may not be JFBConnect itself.

Can you try using the Login button in the top right of espn.go.com/ and using the Facebook option there? That site doesn't use JFBConnect, but uses a similar Facebook popup mechanism. It will help narrow down where the issue may lie.

Maybe you should mentiona that soemewhere in your doc, as you & akeeba are pretty well used and known in the Joomla business

Glad you figured that out. We're always looking for ways to document things better and may try to find a good spot to add a note like this.

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

None
10 years 4 months ago #56789 by fff
Hi Alex,

I confirm its not JFB as said 2 posts ago
this is clearly firefox option: option>private life>use protection against tracking in private pop-up
that makes the javascript: void(0) and nothing happens
I tried it on the site you mentionned: did not get the javascrfipt message, but I have a turning logo, like wait/downloading ... forever and nothing happens

my FF is 43.0.4 (latest) on win 8.1

so my long term kind suggestion is
- either do nothing (if you confirm the FF option above is NOT check by defaut installation or by most users)
- or do some work around trick without sending to a full page redirect to Facebook (risk is too hight that a % do not come back once left our site)

BR,
F
The topic has been locked.
Support Specialist
10 years 4 months ago #56791 by alzander
I think you may be using a different language version of Firefox than English. I believe the setting you're talking about is the one in this image below:
File Attachment:

If the "Use Tracking Protection In Private Windows" is what you're talking about, then it's doing what it's supposed to. The *only* time that setting should do anything is when you've opened a Private Window in Firefox. That's a special type of window that doesn't save cookies and intentionally will block sites from tracking you. This is similar to "Incognito mode" in Chrome.

When a user opens a Private or Incognito window, they are making the choice to prevent many different types of sites from monitoring them. Unfortunately, within JFBConnect, we can't detect this behavior. If we could, then sites like Facebook would be able to as well and send the type of notice you're looking for. And, if Facebook could do it to make the user experience better, you can bet they would.

I hope that helps explain further, but this is the by-design, as built behavior of Firefox and if a user browses the web that way, that's the experience they will have.

Thanks,
Alex
The topic has been locked.