Page 2 sur 2

Re: 3.1.32 bug import groupes AD

Posté : mar. 29 mai 2018 15:52
par slayder66
# @Name : ldap_services.php
# @Description : Synchronize LDAP group of service with GestSup service, and members
# @Call : /admin/user.php
# @Parameters :
# @Author : Flox
# @Create : 12/04/2017
# @Update : 22/03/2018
# @Version : 3.1.32

Re: 3.1.32 bug import groupes AD

Posté : mar. 29 mai 2018 15:55
par Flox
pouvez vous essayer de remplacer le fichier avec celui en pièce jointe, puis d'activer le mode debug de l'application, relancer la synchro et nous donner le message d'erreur.

Re: 3.1.32 bug import groupes AD

Posté : mar. 29 mai 2018 16:07
par slayder66
Ça ne fonctionne toujours pas

Code : Tout sélectionner

[29-May-2018 16:04:30 Europe/Paris] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Champ 'login' inconnu dans field list in C:\wamp64\www\core\ldap_services.php:480
Stack trace:
#0 C:\wamp64\www\core\ldap_services.php(480): PDOStatement->execute(Array)
#1 C:\wamp64\www\admin\user.php(1520): include('C:\\wamp64\\www\\c...')
#2 C:\wamp64\www\admin.php(24): include('C:\\wamp64\\www\\a...')
#3 C:\wamp64\www\index.php(887): include('C:\\wamp64\\www\\a...')
#4 {main}
  thrown in C:\wamp64\www\core\ldap_services.php on line 480
[29-May-2018 16:06:11 Europe/Paris] PHP Notice:  Undefined variable: array_service_members in C:\wamp64\www\core\ldap_services.php on line 525
[29-May-2018 16:06:11 Europe/Paris] PHP Stack trace:
[29-May-2018 16:06:11 Europe/Paris] PHP   1. {main}() C:\wamp64\www\index.php:0
[29-May-2018 16:06:11 Europe/Paris] PHP   2. include() C:\wamp64\www\index.php:887
[29-May-2018 16:06:11 Europe/Paris] PHP   3. include() C:\wamp64\www\admin.php:24
[29-May-2018 16:06:11 Europe/Paris] PHP   4. include() C:\wamp64\www\admin\user.php:1520
[29-May-2018 16:06:11 Europe/Paris] PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in C:\wamp64\www\core\ldap_services.php on line 525
[29-May-2018 16:06:11 Europe/Paris] PHP Stack trace:
[29-May-2018 16:06:11 Europe/Paris] PHP   1. {main}() C:\wamp64\www\index.php:0
[29-May-2018 16:06:11 Europe/Paris] PHP   2. include() C:\wamp64\www\index.php:887
[29-May-2018 16:06:11 Europe/Paris] PHP   3. include() C:\wamp64\www\admin.php:24
[29-May-2018 16:06:11 Europe/Paris] PHP   4. include() C:\wamp64\www\admin\user.php:1520
[29-May-2018 16:06:11 Europe/Paris] PHP   5. array_key_exists() C:\wamp64\www\core\ldap_services.php:525
[29-May-2018 16:06:13 Europe/Paris] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Champ 'login' inconnu dans field list in C:\wamp64\www\core\ldap_services.php:480
Stack trace:
#0 C:\wamp64\www\core\ldap_services.php(480): PDOStatement->execute(Array)
#1 C:\wamp64\www\admin\user.php(1520): include('C:\\wamp64\\www\\c...')
#2 C:\wamp64\www\admin.php(24): include('C:\\wamp64\\www\\a...')
#3 C:\wamp64\www\index.php(887): include('C:\\wamp64\\www\\a...')
#4 {main}
  thrown in C:\wamp64\www\core\ldap_services.php on line 480

Re: 3.1.32 bug import groupes AD

Posté : mar. 29 mai 2018 16:12
par Flox
je pense avoir trouvé essayer ce fichier:

Re: 3.1.32 bug import groupes AD

Posté : mar. 29 mai 2018 16:17
par slayder66
Ça fonctionne !! merci beaucoup

Re: 3.1.32 bug import groupes AD

Posté : mar. 29 mai 2018 16:19
par Flox
effectivement c'était bien un bug avec cette version la correction sera intégrer dans la prochaine version.

Re: [Corrigé 3.1.33] 3.1.32 bug import groupes AD

Posté : mar. 29 mai 2018 16:20
par slayder66
merci à vous en tout cas :)