chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

Error - LDAP Configuration - redeclare function extldap_get_admin

Open Maaximuz opened this issue 3 years ago • 3 comments

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

  • Sistema operativo : Windows 11

  • Navegador Vivaldi, Chrome

  • Sistema operativo : Windows Server 2012

  • Versión de Chamilo: 1.11.16

  • Versión de PHP: 7.4

Maaximuz avatar Feb 23 '22 19:02 Maaximuz

@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...

ywarnier avatar Feb 24 '22 00:02 ywarnier

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

Nevertheless, it is possible.

lonesomewalker avatar Feb 24 '22 11:02 lonesomewalker

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

Lucklock90 avatar Sep 21 '24 17:09 Lucklock90