Question

Strange "login with social media" connection issue.

  • Posted May 7, 2014

I’ve got a Word Press plugin that allows my users to login to the site with social media accounts like Facebook for example. To do this you have to create a facebook app for it to connect.

I’ve done all this but my site sit’s in a continual loading state without ever making the connection. You can see what I’m talking about here:

http://mytographer.com/login/

To narrow this down to a server issue, I tried installing the exact same plugin/version on a site for both this site as well as another with a completely different host. The other one with the other hosting company is working as expected. For the site here on DO, you try to log in but it just gives a set of continual loading bars but it does not connect.

Any ideas? Could it be something like memecache or varnish doing this?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Here’s the culprit: <br> <br><pre> <br>2014/05/20 21:30:37 [error] 1037#0: *11685 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Facebook needs the CURL PHP extension.’ in /var/www/wp-content/plugins/edd-social-login/includes/social/libraries/facebook/base_facebook.php:19 <br></pre> <br> <br>You should be able to solve that by installing php5-curl: <br> <br><pre> <br>sudo apt-get install php5-curl <br></pre>

This is what I saw in my nginx error log, <br> <br>http://pastebin.com/wUi3kxpr#

Are you seeing any error messages in your logs? I noticed this in Chome’s web console: <br> <br><pre> <br>http://mytographer.com/wp-admin/admin-ajax.php 500 (Internal Server Error) <br></pre> <br> <br>Try turning on Wordpress debugging to see if you can get some more error output: <br> <br>https://codex.wordpress.org/WP_DEBUG