Viewing 13 replies - 1 through 13 (of 13 total)
  • Could you provide a little more detail on the issue – for example what browser are you using? Have you tested it out in other browsers? There is an IE issue – but it’s been resolved and waiting for the next update.

    So, if it is the IE issue – I could tell you what to do to fix it.

    Let me know if its the same problem or a different one.

    Thread Starter jimaek

    (@jimaek)

    Firefox, IE and Chrome all have the same problem

    If i include the script file i get this in the error console.
    Error: $ is not a function
    Source File: https://…library/scripts/functions.js
    Line: 1

    Error: $ is not a function
    Source File: https://…/library/scripts/tab.js
    Line: 2

    Error: $ is not a function
    Source File: https://www…..gr/
    Line: 578

    Error: this[H].style is undefined
    Source File: https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2
    Line: 19

    If i comment it out then i have no errors, and everything works just fine.

    Plugin Author thenbrent

    (@thenbrent)

    I’d say it’s a script conflict. Connect.js uses JQuery’s noConflict() function: https://api.jquery.com/jQuery.noConflict/

    If you comment out the first line on connect.js, do the other scripts work?

    LJagermaster

    (@the-living-legend)

    Having similar issues, although I didn’t upgrade from an earlier version I simply installed it from scratch.

    When I click the Yahoo! button it opens a blank white page with the words “Endless redirection!” at the top. Clicking on Google causes a blank popup window which disappears and produces the following error message:

    Fatal error: Call to undefined function email_exists() in /…/wp-content/plugins/social-connect/social-connect.php on line 181

    I don’t have a wordpress.com account so can’t test that one myself.

    Additionally, the following issues occur with both the Facebook & Twitter buttons respectively:

    Facebook – clicking this causes a “HTTP 400 Bad Request” error

    Twitter – clicking this (while logged in to twitter) seemed to work as after clicking “Allow” I was forwarded to my sites homepage as I’d instructed the app to do so, however no account was created on the site.

    NOTE 1: I was logged in to my Facebook, Google, twitter & Yahoo accounts when the above issues occurred.

    NOTE 2: Just tried clicking them all in Chromium (where I wasn’t logged in to my above accounts) and the blank page for the Facebook issue was replaced by this:

    {
    “error”: {
    “type”: “OAuthException”,
    “message”: “Invalid redirect_uri: Given URL is not allowed by the Application configuration.”
    }
    }

    The Twitter & Google ones seemed to load fine but I didn’t log in as that would automatically log me out in my other browser. WordPress one seemed fine too but couldn’t log in to see if it worked properly.

    Are these the known issues that have been fixed or have I just added more to the list (whoops!)? ??

    Thread Starter jimaek

    (@jimaek)

    @thenbrent
    Thanks man, i fixed it. I had aleady tried that before posting but because i forgot to disable caching/cdn i saw the old version so i thought it didnt worked.

    For your original message (LJager…) what browser where you using for the initial errors? Did you receive any JScript errors in the browser that you could post? (Sometimes you have to purposely click an icon to see js specific errors.)

    Then, in part 2, you mentioned you used Chrome. Your FB error you received there is what I would expect to see if the Facebook Application hasn’t been set up correctly. Please check your settings for your Facebook App (where you find your API and secret keys) and make sure you have the domain / subdomain settings correct.

    LJagermaster

    (@the-living-legend)

    I was sure I had set it up correctly but didn’t realise I’d accidentally filled in the Domain box too (the site in question is under a subdomain) and facebook didn’t save either of them. Added the address and made sure it was saved this time and the app seemed to work, but after clicking “Allow” I receive the following error:

    Fatal error: Call to undefined function email_exists() in /…/wp-content/plugins/social-connect/social-connect.php on line 181

    And it’s IE (well technically Avant! which runs on IE’s Trident engine) I used to log in. Meant to add that in the previous post ask what the issue was that you’d resolved to see if it was the same as I’m experiencing myself. If it is I’ll try the other browsers with those accounts tomorrow when I have more time and see if they work there.

    Just had a look at that line and it seems to be the part that checks if the user already exists on the site (not facebook, the target site) by looking for a matching e-mail address – not entirely sure how that would work since no e-mail address was entered and there was no user “found by provider identity”, assuming that means on facebook – but, if the person executing the app was already logged into facebook using the same browser, and there’s an account on the target website that’s registered with the same e-mail address that the persons facebook account has stored, could that cause this error?

    EDIT: There were no additional error messages displayed by the browser as far as I could tell. The exclamation mark at the bottom left of IE/Avant! didn’t appear and I’m unaware of any other info that may be useful…

    Plugin Author thenbrent

    (@thenbrent)

    Upgrade to WordPress 3.1.

    That error is due to a patch accepted to fix a warning being thrown in WordPress 3.1, but clearly it wasn’t properly tested to work with older versions.

    Plugin Author thenbrent

    (@thenbrent)

    I’ve just released an update which fixes this bug in WordPress before version 3.1. It’s still a good idea to always run the latest version of WP – both for plugin compatibility and security.

    LJagermaster

    (@the-living-legend)

    Thanks for the update. Unfortunately though it still doesn’t seem to function as expected – rather than creating a new account on the target site using the info stored on my facebook profile what the plugin has actually done is looked on the target site for a matching e-mail address and logged me in as that user. Since some of the people involved with maintaining this site all work for the one company it’s highly possible that two or more of them will have the same e-mail address registered on their account, so if they were to use this login method for quickness they’d all be logged into the same account created by the first person.

    I realise this sounds like I’m overreacting but it’s actually a serious issue.

    As for upgrading the core site that’s not possible at the moment, as it involves far too much time to re-integrate customisations I’ve had to make to files in order to get wordpress to function anything close to what I need (despite all this time and effort it still falls short, but I’m determined to make this project work). Plus some of the plugins I rely on don’t yet work with later versions of wordpress so upgrading would mean losing the features they provide…

    I have the same problem i can click on any of the icons as in nothing happens when i do click.

    Plugin Author thenbrent

    (@thenbrent)

    @LJagermaster WordPress requires all accounts to have an email address and for all email addresses to be unique. You will have to ask folks to use unique email addresses for their WP account.

    As for upgrading the core site that’s not possible at the moment

    You shouldn’t need to now. The “email_exists” bug should be fixed.

    @heredia21 are you also using White Label CMS plugin?

    LJagermaster

    (@the-living-legend)

    The stock installation of wordpress does require unique e-mail addresses for each account, however, using the Allow Multiple Accounts plugin (which I do) more than one account (unlimited unless a limit is set in the options page) can be created using the same e-mail address. I’m using this plugin specifically because of the likelihood of more than one person joining the site from the company I’m making the website for. So I’m afraid for us, this is a major security risk… ??

    I’m aware that pretty much any of the connect modules/plugins (for all the currently available social networks) rely on e-mail addresses to identify users, however, when a user is already logged in to their – in this case – facebook account, it should really be able to identify them by username as well (not sure if this is actually possible, but it seems to make sense). For example, if the e-mails are the same but no matching username is found a new account is created using the username’s details (since username’s can’t normally be changed on social network, except maybe once, this method would be much more secure).

    I’ll give some other plugins a try and see how they go, but I liked that this one combined the major networks into one plugin… ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Social Connect] Connect.js problems’ is closed to new replies.