Home › Forums › Error reporting › Upgrading ABCD2 -ldap error › Reply To: Upgrading ABCD2 -ldap error
March 20, 2023 at 1:46 pm
#5170
Roger C Guilherme
Moderator
::
Hi Renate.
The error “Call to undefined function ldap_connect()” happens because the ldap extension has not been enabled in the php.ini file.
To fix this, I put a check in the file start.php that verifies if the variable $use_ldap is with the value 1=enabled. – The fix was sent in this PR: https://github.com/ABCD-DEVCOM/ABCD2/pull/470
If you keep getting ldap errors after updating, revise your config.php file to look like this:
$use_ldap=0;