Warning: A non-numeric value encountered in /wp-content/plugins/external-db-auth-reloaded/medoo.php on line 34
Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/external-db-auth-reloaded/external_db_auth.php on line 409
Hi — I want to confirm my understanding about how this plugin works.
What I want to do:
1. A user in my external database loses his status (leaves, terminates, whatever).
2. I remove him from my external database.
3. As a result, I want him to no longer have access to WordPress.
It seems that this is not how this plugin works…correct? I was hoping that with this plugin, the user authenticates against the external database EVERY TIME THEY LOG IN. However it appears, that they only authenticate the first time, after which their username and password is created in WordPress, and forever after, they authenticate against WordPress. Correct?
Thanks,
Steve
]]>Hi Joshua,
I would like to contribute in this plugin development, I have so many ideas to improve it, and also I saw that there are some code optimiziation and cleaning to do.
Let me know if interested.
Thank you
Andrea
Hi,
I’m very interested in this plugin. I have one question about the role check, since I didn’t found any documentation on it.
As far as I understood, the plugin doesn’t like mixed authentication (external db and wordpress db). So we need different user roles.
How do we have to set this up, that some users have admin rights, other just editor and third just a different right?
Any help is very appreciated
Greetings,
Don
If a password has any quotes, then wordpress is adding an escape characters to the password when it’s being read/parsed by your plugin. This is causing the hash functions to fails.
For example, set your password to P’ssw”rd
Now try to authenticate using MD5 or any other hashing algorithm
The plugin is trying to compare the hash md5 (P\’ssw\”rd) to the one from the external DB, which has the correct hash md5 (P’ssw”rd)
I’m using nginx, php 5.6, wordpress 4.6 and version 1.2.3 of your plugin.
]]>Hi there,
first, many thanks for creating this very useful plugin.
Second, I am trying to set up the WP login cookie so that the logged in users from my custom website/database would automatically be logged in my WP site.
I am using the following php call in my custom log in script:
wp_set_auth_cookie($user_id,$remember=true,$secure=”,$token=”);
where the user_id is the one from my custom database user table.
This approach worked when I was using the WP’s own user database table, with the same user names as my custom names, etc.
But after using this plugin, this method does not do its job anymore.
Any suggestions on how to make it work?
]]>Here is the complete log :
PHP message: PHP Fatal error: Uncaught Error: Call to a member function fetchAll() on boolean in /var/www/timesheet/wp/wp-content/plugins/external-db-auth-reloaded/external_db_auth.php:341
Stack trace:
#0 /var/www/timesheet/wp/wp-includes/plugin.php(602): external_db_auth_check_login(NULL, NULL)
#1 /var/www/timesheet/wp/wp-includes/user.php(58): do_action_ref_array('wp_authenticate', Array)
#2 /var/www/timesheet/wp/wp-login.php(791): wp_signon(Array, '')
#3 {main}
thrown in /var/www/timesheet/wp/wp-content/plugins/external-db-auth-reloaded/external_db_auth.php on line 341" while reading response header from upstream, client: 148.177.129.210, server: help.mytimesheet.be, request: "GET /wp-login.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "help.mytimesheet.be"
]]>
hello
how to configure the plugin, for phpbb3.1.x I try several config, but without success : ‘ (
Thanks
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>When I try to login with an account on my database, it doesn’t work, says invalid username
When I try to login in with a wordpress account that is also on my database, I can’t sign-in with a username otherwise I get a white screen, I can still login with an email though
I’ve tried re-installing it, but that didn’t fix the problem
I’m using WAMPP and the database is on the same server
In the error logs I get this error:
PHP Fatal error: Call to a member function fetchAll() on boolean in
external_db_auth.php on line 386
This might be relevant, when I run the php through the command-line I get a different error:
PHP Fatal error: Call to undefined function add_action() in external_db_auth.php on line 594
I’m sure I didn’t set this up correctly, but I don’t what exactly is causing the problem. Any ideas on what might be wrong?
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>This plugin looks like exactly what I need. All my users are within a Joomla database located on the same server. However it seems I can’t get the configuration correct of this plugin to connect.
I believe this is because Joomla has a “hash” for generating the user passwords correct? Perhaps I don’t have the right formula setup. Do you have any advice for the text to put inside the hash box?
I’m using Joomla 3.4
Thank you so much!
If I can get Joomla to connect, I’m donating to keep this plugin alive ??
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Hi,
I’m wondering if your plugin could connect woocommerce users into only one database !?
Our Scenario (our situation) is that we are many “independent” shop (woocommerce websites) owners and each of us have our own single installation, but at the same time we are sharing the customers base.
Our problem is with woocommerce forcing each customer to signup / create an account each time for each shop ??
Since you have created this plugin, can you see a solution for us to share customers (woocommerce users) login and wp users credentials ?
Thank you
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>I am currently using the External Database Authentication Reloaded plugin. I am currently on a local drive using the wamp. I have uninstall and re -installed it several times. I have enter the top information but the login in screen is giving me a white screen. I know I have entered the information correctly and still not pulling up the login screen. I know its not the site due to everytime I deactivate the External Database Authentication Reloaded plugin, the login screen comes back. I really need some help getting to work due to trying to connect to an external database.
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>I’m receiving 500 server error on login page after activating and setting db connection. I’ve filled everything except database password as my db has no password set. What else I’m missing or what I have to do to fix this error? I need to check email and password(md5) from external db.
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Hi Guys
I had some problems with getting this plugin to work and ended up looking into some error log file records being created.
[01-Dec-2015 11:20:46] PHP Warning: require_once(./wp-includes/registration.php): failed to open stream: No such file or directory in /var/www/mysite/wp-content/plugins/external-db-auth-reloaded/external_db_auth.php on line 332
When I looked at line 332 I saw this.
require_once('./wp-includes/registration.php');
I dont think this is the correct path so I modified to
require_once(ABSPATH . WPINC . '/registration.php' );
This now works and I’m not getting the errors. I did this for the next three requires also.
require_once(ABSPATH . WPINC . '/user.php' );
require_once(ABSPATH . WPINC . '/pluggable.php' );
require_once(ABSPATH . WPINC . '/class-phpass.php' );
Can someone confirm if this is an actual error in the plugin or have I messed something up?
Thanks
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Hi,
Will you be updating the plugin to work with WP 4.3.1? When I updated WP to this version, the plugin stopped working.
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Hi Josh,
I’ve been using your plugin successfully for a while, and all working well. Recently i’ve been getting a default email notice from WordPress to confirm that my password has changed. My password hasn’t changed, and i’m always able to login as normal. It seems my logging in is triggering this email for some reason (this occurs each time i log in to the site).
Wondering if you’ve come across this before, and whether it may be related to the plugin in some way, or unrelated?
Just looking to narrow down the potential cause.
Many thanks for time.
Matt
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Hi Josh
Looking to get in touch with you to see if your available to build a custom plugin with similar functions to this.
Essentially I need it to authenticate from an External Microsoft ASMX Web Service. WSDL
There are 2 Web Services to be used: Both will return string when queried with correct params and key.
1. Authentication – This one you pass the user/pass to and it will simply return True/False if it matches from the external DB
2. User Info – This one will give you users Name, City, Email & Phone when queried with users ID
I have the code/requests to query these and get results etc..
Your plugin seems to do 75% of what I need so happy to comission you if you can take the work.
Thanks
HK
[email protected]
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>can u add bcrypt support?
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Dear developer,
I have succesfully installed this plugin. It works great, thank you! It would be great if External Database Authentication Reloaded could check on registration if an username already exists in the other external database. Is this possible? How would I implement this?
Kind regards,
Riccardo de Wit
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>I begin to use your plugin on a multisite install and it works great, especially because I can assign a different database to each site.
But I forecast a problem in the following situation:
site1 is associated to database1 which contains a user 1 with id = myid and email = myemail
site2 is associated to database2 which contains also a user 2 with id = myid and email = myemail
So there will be a mix of WP user accounts for user 1 and user 2.
Is it possible to configure or adapt your plugin so userid and email of WP accounts are automatically prefixed with site number in WP when they are created, and this prefix is automatically added for the authentification process?
For instance:
user 1 will enter myid and password in login form, but will be created and authenticated with id = 1_myid and password, if his site number is 1
user 2 will enter myid and password in login form, but will be created and authenticated with id = 2_myid and password, if his site number is 2
I have to add that I will never need to have a user registered on more than one site, these sites are totally independant.
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Is it possible to get the po/mo files in other languages then english? Where?
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Hi Joshua
Hoping you can please help me with a recent error between my WP site and external DB.
I’ve been using the plugin for some time without any issues, but noticed that new users registering via the external DB were no longer being able to log in to my WP site (receiving an “Error: invalid username” message).
I upgraded within the last few days and lost all of the inputs (without realising) so there was no longer the connection. I however added them back in to settings and then go the “white screen of death”. So, my next step was to reinstall the old version 1.2.0 which i was active on my Staging site. However i still got the same message.
I tried on the staging site (which had not been touched) and same deal “Error: Invalid username”. So i’m now wondering if either (a) it’s an unrelated problem our end with our Database, or (b) changes to WordPress has required the updating of the plugin, but is inadvertantly breaking our link to the external db.
Sorry, long winded explanation but as part of my troubleshooting i was wondering if there was anything that might have contributed to this from either the plugin or wordpress update point of view (running WP 4.2.2).
Thanks for your help.
Matt
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>how does the authentication process work?
when I login with login and password which does not exist in WP but exist in my database I get this:
wrong id / wrong password: login screen shakes and is redisplayed with message “invalid id”, so it’s ok for me.
correct id / wrong password: login screen shakes and is redisplayed with message “invalid password”, so it’s ok for me.
correct id / correct password: login screen shakes and is redisplayed with no message. user is not created in WP. Is it normal? How to automatically create the user and redirect it to a page? Nothing in error log.
when I login with login and password which exist in WP but not in my database, I can login. Is it normal?
I’m running WP 4.2.2 on multisite install and use the plugin on a subsite with settings on a mysql database?
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Hello.
I would like to know if your plugin works on a WP multisite install.
To be more specific, I would like to know if it is posible to define a different MySQL database for each site of a WP multisite install.
In my multisite install, each site is dedicated to one of my customers, and each Customer has its own database with its own users.
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>I downgraded to 1.2.0 because the newer version allowed log-in with any username and password. If username didn’t exit, it would create it. If user exists but password is a mismatch, then it would change the password for that user.
It might be a conflict between some other blugins, but the older version works for me.
I am using BuddyPress and it’s login widget.
Henri
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>To bad this isn’t no longer supported. The author should really fix this!
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>I have the settings correct and able to get the login portion working with MDB2.php connecting to a SQL Server.
When I login with the default admin account, it is allowing me in. It is not checking against the MSSQL database. Any ideas?
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>I’m having trouble logging in with user data from another database. I know the tables and fields are correct that I used. I tested it out with a simple php MySQL query to get info from the fields.
Password encryption is SHA1.
Here you can see System Info from the CMS I want to connect it with: https://www.molekul.ee/emma/excternal_db.png
I’m using WordPress 4.1 and the plugin version 1.1.
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Hi,
I’ve recently got this plugin working for site which is using an external userbase for authentication. The external db type is MSSQL (not supported by PHP 5.3+), and I’ve made some changes to the plugin to support the SQLSRV database driver:
//$url = strtolower($driver)."://".get_option('pp_db_user').":".get_option('pp_db_pw')."@".get_option('pp_host').$port."/".get_option('pp_db');
$url = "sqlsrv://".get_option('pp_db_user').":".get_option('pp_db_pw')."@".get_option('pp_host').$port."/".get_option('pp_db');
The plugin didn’t start working until we removed the code for the unicode query.
So it’s now working, users are authenticating completely fine, etc, but authentication(accessing login page, logging in, logging out, etc) takes a considerable amount of time, usually between 15-20 seconds of wait time for logging in and out.
Are there any suggestions for improving performance while using this connection method? Thanks.
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>Is it possible to add another table for the other options like jabber email etc? because i store that in another table
https://www.ads-software.com/plugins/external-db-auth-reloaded/
]]>