By shanelharder
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:
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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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
This is what I saw in my nginx error log, <br> <br>http://pastebin.com/wUi3kxpr#
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>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.