Support

  1. mariesdinaux
  2. Support
  3. Sunday, April 03 2016, 12:36 PM
After upgrading Joomla from 3.4.x to 3.5 the socal connect plugin generates an error
It worked fine before, but now it generates an error (inspector)

"overzicht-paspoort:55 Uncaught TypeError: jQuery(...).click(...).oauthpopup is not a function"

It references to the line of js-code where the socialconnect part is appended:

jQuery(document).ready(function(){
jQuery(".login").append('<div class="socialconnect"></div>');
});
jQuery(document).ready(function(){jQuery('.socialconnect').append('<div><button class="linkedin_button linkedin zocial">Link to LinkedIn</button></div>');jQuery( '.linkedin_button' ).c ... etc


After disabling the social connect button it all works fine; enabling--> generates error

thanks for your answer and fast response
admin Accepted Answer
Admin
hi,
please post me your site detail to check this, you can use the form below the reply in "Site Details" tab
  1. more than a month ago
  2. Support
  3. # 1
mariesdinaux Accepted Answer
Pro
Hi,
As activating the social connect plugin causes the site to 'not function properly' (all the other JQuery JS is not functioning when activated) I'd like to shorten this time as much as possible. So can we agree on a time on monday we can test this? Lets say 11:00 CEST (dutch time). I have to activate the social connect, for a short time period.
Thnx Maries
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
in most cases this happen when you have many jQuery instances on your site, this is bad, cause conflict and more than 150Kb of weight.

In Joomla 3.x was added support and API to load jQuery library and avoid conflicts, we use this way (correct way) but some component/module/plugin load own library to keep compatibility with J2.5. These components usually have a option to disable this.

To check this we need to see your site, so can you please post me your site link?
  1. more than a month ago
  2. Support
  3. # 3
mariesdinaux Accepted Answer
Pro
For testing I just activated the soclalconnect; the uncaught type error is there
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
Hi,
can you please provide me your site details? I can check if you have wrong JQuery instances also without SocialConnect enabled.
  1. more than a month ago
  2. Support
  3. # 5
admin Accepted Answer
Admin
can you please provide me your site details?
For now I need only your site link to see HTML code.
  1. more than a month ago
  2. Support
  3. # 6
mariesdinaux Accepted Answer
Pro
See the site details
  1. more than a month ago
  2. Support
  3. # 7
admin Accepted Answer
Admin
From your source code I see these JQuery Javascript framework instances:
1. //http://code.jquery.com/jquery-1.11.1.min.js
seems ok, I think you have a plugin that replace Joomla JQuery with CDN
2. https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js
this seems to come from some modules (maybe menu module), so try to check in your modules if there is a parameter to remove this.

Javascript break because Social Connect attack own function on events from first instance and second instance clear all because override first instance.

You need to solve this conflict.
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 8
mariesdinaux Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 9
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.