chamilo / chamilo-lms

Chamilo is a learning management system focused on ease of use and accessibility
https://chamilo.org
GNU General Public License v3.0
792 stars 479 forks source link

Error - LDAP Configuration - redeclare function extldap_get_admin #4186

Open Maaximuz opened 2 years ago

Maaximuz commented 2 years ago

Hi,

I'm configuring chamilo to authenticate through LDAP, but it's returning this error:

"Fatal error: Cannot redeclare extldap_get_admin() (previously declared in C:\inetpub\wwwroot\learn\app\config\auth.conf.php:119) in C:\inetpub\wwwroot\learn\main\auth\external_login\ldap .inc.php online 255"

When commenting on one of the functions, it returns us to the user search screen and when looking for a user in ldap, it says that it did not find any user.

image

image

image

image

image

ywarnier commented 2 years ago

@Maaximuz thank you for reporting. This is typically a case of issue we are unlikely to be able to answer here. Our time to attend Chamilo issues is limited, the number of developers is limited, and this is a very specific case that requires more research (you already did a good job). If it is urgent and you cannot find a solution, I would recommend you contact a provider of Chamilo services for commercial support. Otherwise we will try to have a look at it over time, but right now we are very very busy and LDAP is used in like 0.1% of Chamilo use cases, so not a top priority. Just so you don't expect a very quick answer...

lonesomewalker commented 2 years ago

Maybe this is one of the functions which gives Chamilo the "enterprise functionality" it could need...? ;-)

Nevertheless, it is possible.

Lucklock90 commented 1 week ago

Hi @Maaximuz can you find the problem with this? I have the exacly problem with Chamilo. :(