• Resolved raider1967

    (@raider1967)


    Hello

    Having configured your plugin, when I try to make a test connection the message I receive back after about 20-30 seconds is

    ‘The site is experiencing technical difficulties.’

    I have verified that the database connection details are 100% correct.

    There is no other indication as to what is causing this. Can you please assist to identify what issue might return such an error message

    thank you

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author tbenyon

    (@tbenyon)

    Hey @raider1967,

    Could you open up the dev tools in your browser and got to the network tab.

    I’d be interested to know about the request that appears in there when you hit the test button.

    What are the headers and what comes back in the response?

    Make sure to hide anything that may give people information you might not want shared (possibly such as your live domain name).

    Thanks,

    Tom ??

    Thread Starter raider1967

    (@raider1967)

    The GET request is as follows

    **livedomain** /wp-admin/admin-ajax.php?action=exlog_test_connection&test_results=10&_fs_blog_admin=true

    The ‘Response’ is literally just ‘The site is experiencing technical difficulties’

    It then shows a POST request

    **livedomain** /wp-admin/admin-ajax.php?_fs_blog_admin=true

    with a response of

    {“wp-auth-check”:true,”server_time”:1568887834}

    Is this what you needed ?

    Plugin Author tbenyon

    (@tbenyon)

    Yep – I’m at work right now but I’ll see if I can find some time at lunch to do some checks for you ??

    Plugin Author tbenyon

    (@tbenyon)

    One more thing @raider1967,

    Looks like this is a pretty generic errors and going to be hard to work with. Can you get access to your PHP error logs and see if there is anything relevant in there?

    Thanks,

    Tom

    Thread Starter raider1967

    (@raider1967)

    Ok great. No rush, I’m really just trying to test the plugin for a future project.

    It’s just a basic test WordPress installation with minimal other plugins at the moment.

    Wait to hear from you when you can.

    Thanks

    Thread Starter raider1967

    (@raider1967)

    Ok will see what I can do on the PHP logs

    Thread Starter raider1967

    (@raider1967)

    Just to update you – I have now managed to successfully use the plugin using a wordpress installation on a different server.

    So it may well be an issue with the original server or the firewall that was linked to it.

    So all is ok now.

    Plugin Author tbenyon

    (@tbenyon)

    Hey @raider1967,

    That’s great news!

    If you get a moment, I’d be grateful if you could take the time to write a review:
    https://www.ads-software.com/support/plugin/external-login/reviews/#new-post

    Thanks,

    Tom ??

    Thread Starter raider1967

    (@raider1967)

    Ok, it’s done. Appreciate your quick response.

    thanks

    Thread Starter raider1967

    (@raider1967)

    Just one further question.

    When the plugin creates a user in the WP users table, the user is always a Subscriber and appears to ignore what is set in the ‘role’ field on the external table.

    What value should I be using in the ‘role’ field to log someone in as an Administrator? I have tried using admin or administrator but the user always ends up as a Subscriber.

    any thoughts?

    Plugin Author tbenyon

    (@tbenyon)

    Because the plugin doesn’t know what you might be calling your administrator role, there is a mapping section in the settings.

    This allows you to say, I want a user with role ‘trainee’ to be a subscriber in WordPress and a user with role ‘teacher’ to be an ‘administrator’ in WordPress.

    Hope this helps ??

    Thread Starter raider1967

    (@raider1967)

    Ok, I see the mapping area now and all working ok

    thanks again for quick replies.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Technical Difficulties’ is closed to new replies.