Topic-icon JS error with login button

Active Subscriptions:

None
11 years 4 months ago #51150 by evil
Hello,
as you can see in the attachment i get this error while user try to login in pages with double login button (one on the left module the other one inside the content {login}

Sometimes occours that both buttons don't call the login lightbox and in this case i find this error in the script:

File Attachment:


any idea?
thank you.
The topic has been locked.
Support Specialist
11 years 4 months ago #51152 by mel
Replied by mel on topic JS error with login button
Can you please provide a specific URL where you are seeing this problem? I tried to login via Facebook on your homepage with the SCLogin module and was able to with no problems or Javascript errors.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago - 11 years 4 months ago #51156 by evil
Replied by evil on topic JS error with login button
Hi Melissa,

for example in pages like this:
eventinapoli.com/eventi/i-verdena-tornan...la-casa-della-musica
Where we need registered users to buy tickets we prompt your login button also in the content.

eventinapoli.com/area-privata (here you can logout)

The browser is Explorer11 but i will try also other browsers and let you know.

In this case we have the SClogin on the left and the login button embedded under the event.

When the problem occours none of the buttons are woring.
In only one occasion i had the sclogin button working but not the login button under the event image.

when the problem occours if i go to a different page with sclogin only (homepage for example), the login has success.

For some reasons the problem is happening randomly. Wondering if it could be related to a caching problem. We use joomla's default caching system.
Last edit: 11 years 4 months ago by evil.
The topic has been locked.
Support Specialist
11 years 4 months ago #51160 by mel
Replied by mel on topic JS error with login button
The problem is that on eventinapoli.com/eventi/i-verdena-tornan...la-casa-della-musica there is some extension that is loading the deprecated all.js Facebook javascript library. This library has been not recommended for over a year and won't work as of April 2015 anyways. JFBConnect uses the newer and recommended sdk.js library. These two libraries will NOT work together, including functionality for login, likes, etc.

You will have to find what other extension is using the library and disable/remove the functionality. Inspecting the elements on that page makes me question the Twitter, Google and Facebook buttons that you have right above the image. How are you putting these on the page? It doesn't look like they are from JFBConnect.

On the other pages that you mention, probably only the sdk.js library is present, which is why the login will work.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #51221 by evil
Replied by evil on topic JS error with login button
I think they belong to JFB, let me check i'll let you know asap.
If not i'm gonna change them.

The comments are from JFB connect for sure.

thank you
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #51260 by evil
Replied by evil on topic JS error with login button
i changed the like buttons with those from jfb. i'll let you know if i encounter this error again.
The topic has been locked.