Configure LDAP, try to login with LDAP user
LDAP to authenticate properly, currently failing with line 119 of ldap.php file.
Currently failing with line 119 of ldap.php file, specifically the $ldap->escape method that upon further inspection does not exist in the LdapClient.php file.
LAMP, php 6.x, J3.8
Replace the file with https://github.com/joomla-framework/ldap/blob/1.2.0/src/LdapClient.php
Apparently some pull request updating the file didn't get applied (or submitted?).
This sollution doesn't work with registered users, only super users can login
before update to version 3.8.0 no issues during logon of all users through ldap in frontend.
after update: 0 - Call to undefined method Joomla\Ldap\LdapClient::escape() for all users
when replacing ldap file, only super users can login, regular users get: 0 - Class 'Joomla\Ldap\LdapClient' not found
Then you have not replaced the file correctly as the file contains that class.
just deleted the file on the server and copied the new file
is there another way?
If you downloaded the HTML page and used that, then that would break it. Make sure you hit the "raw" button on the page so you get the actual PHP file that should be uploaded without any extra HTML. Additionally, the file must be uploaded with the correct casing in the name otherwise the file loader won't pick it up.
|Closed_Date||0000-00-00 00:00:00||⇒||2017-09-21 14:28:34|
@OlofBailey Please don't randomly find 18 month old issues and comment "getting same error on new release". You can't be having the same error as this issue identified as this was an issue of a file not being correctly updated with the 3.8.0 release. If you believe you have found a bug with the new release, the proper action is to file a new issue report with all required details needed to either replicate the issue or explain why it is not a bug in the core package.