Could you try with another theme to see if the custom login page is causing the problem?
I’m seeing the same issue.
WordPress 3.8.1 running Divi theme and WooCommerce.
Thread Starter
Ciudy
(@ciudy)
@rodrigo, thank you for your reply.
Doh! Of course! Why didn’t I think of that? *selffacepalm*
And ..Yes, default themes return the same errors.
I’m hosted with Webfaction, I doubt that server config may be the cause of this. They have one of the best rep on the market. Webfaction isn’t Godaddy..
Or, is there any special server requirements to run social connect?
Thanks again.
I’m not aware of any special requirements to run social-connect. Is there a URL where I could see this problem in action?
Thread Starter
Ciudy
(@ciudy)
@rodrigo thank you for your time..
URL: http://fishing.ms
Thanks for sharing the URL. After checking your site I think I understand the problem.
The URL below is the request made by your site on Google OpenID provider:
https://accounts.google.com/o/openid2/auth?openid.ns=http://specs.openid.net/auth/2.0&openid.mode=checkid_setup&openid.return_to=http://fishing.ms/index.php?social-connect%3Dgoogle&openid.realm=https://fishing.ms&openid.ns.ax=http://openid.net/srv/ax/1.0&openid.ax.mode=fetch_request&openid.ax.type.namePerson_first=http://axschema.org/namePerson/first&openid.ax.type.namePerson_last=http://axschema.org/namePerson/last&openid.ax.type.contact_email=http://axschema.org/contact/email&openid.ax.required=namePerson_first,namePerson_last,contact_email&openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.identity=http://specs.openid.net/auth/2.0/identifier_select
Note that in the openid.return_to parameter your site URL is passed with http and in the openid.realm parameter your site URL is passed with https. If you manually change the value of the second parameter to http the request works.
The first parameter is set by social-connect plugin based on what home_url() function returns. The second parameter is set internally by LightOpenID, the library used to handle the OpenID protocol, based on $_SERVER[‘HTTPS’]. Probably your server has HTTPS available but WordPress is not configured to use it.
I guess that adding the line below to google/connect.php and yahoo/connect.php right after LightOpenID instance is created should fix this problem.
$openid->realm = home_url();
Could you please test and tell me the results?
Thread Starter
Ciudy
(@ciudy)
Sorry for the delay.
That fixed the problem. Thank you so much for you time @rodrigo
Also, very nice of you explaining the issue.
Thanks again!
Hello,
I have the same issue i tried to put that code inside the connect.php page but it didn’t work, after what line of code exactly should i put it?
thanks in advance
Thread Starter
Ciudy
(@ciudy)
@247teach, add the code right after line n°8
Here is a screenshot:
http://i.imgur.com/VIR7eP8.png
Screenshot is for yahoo/connect.php ; do the same with google/connect.php
And again, thank you @rodrigo 🙂
That’s weird still doesn’t work, any other idea?
Thread Starter
Ciudy
(@ciudy)
Sorry to hear that. Make sure you run the latests wordpress & plugin versions
I have everything updated…
@ciudy thanks for your feedback. I’m glad that we found a solution for this problem. I’ve created a new issue in the GitHub repository and this fix will be in the next release of the plugin.
https://github.com/thenbrent/social-connect/issues/43
@247teach could you provide a link where I can see the problem you are having?
@ciudy I just released a new version of Social Connect with should fix the error you reported. Thanks!
@247teach I don’t think you are experiencing the same problem as you a getting a blank page and not an error from the OpenID provider. Could you please check your error log to see if there is anything there?