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 π
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 ?
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 π
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
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
Ok will see what I can do on the PHP logs
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.
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://wordpress.org/support/plugin/external-login/reviews/#new-post
Thanks,
Tom π
Ok, it’s done. Appreciate your quick response.
thanks
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?
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 π
Ok, I see the mapping area now and all working ok
thanks again for quick replies.