Support » Plugin: External Login » 500 error with postgres

  • Resolved jeremylopez

    (@jeremylopez)


    I attempted to use this plugin and added all the information for my S3 hosted database. I added the url to the database under “host” and I’m certain the table name and credentials are accurate. Also, there are thousands of entries in the table. When I click “Test Connection” I see the 500 error.

    I cannot seem to see any errors despite attempting to log them. Do you have instructions on how to view the plugin’s errors? Also, is there anything else I’d need to install to get this working with postgresql?

    • This topic was modified 2 months, 3 weeks ago by jeremylopez.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tbenyon

    (@tbenyon)

    Hey @jeremylopez,

    Apologies for the delayed reply. Life has been particularly busy at the moment.

    I had no idea it was possible to host a PostGres database on S3? Not sure if you meant something else or you’re going to teach me something 🙂

    My hunch is this will be a permissions error with AWS or a missing plugin required on your WordPress server for PostGres.

    If you want to do more debugging you can add additional error logs in the database section of the plugin to help find the error for your connection.

    Have a look in this file:
    …/plugins/external-login/login/db.php

    The main function is exlog_auth_query(). You can follow the logic from there and add in additional error logs to spot your problem.

    I would like to add a feature where we can turn on verbose logging at some point – when life gets less busy! 😛

    Let me know how you get on,

    Thanks,

    Tom

    Plugin Author tbenyon

    (@tbenyon)

    Marking as resolved as I’ve not heard back. Feel free to get back in contact here if you have any further questions 🙂

    Thanks,

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.