can't import survey participants from ldap

More
3 months 3 days ago - 3 months 3 days ago #182072 by nova168168
hi , I can't import the survey participants from LDAP and system shown this error :

Notice: Constant LDAP_OPT_DIAGNOSTIC_MESSAGE already defined in /volume1/web/LimeSurvey/application/controllers/admin/tokens.php on line 1883

the below is the LDAP.php setting :

$serverId = 0;
$LDAP_server[$serverId] = "l72.16.2.184";
$LDAP_server[$serverId] = "389";
$LDAP_server[$serverId] = "ldapv2";
$LDAP_server[$serverId] = "none";
$LDAP_server[$serverId] = false;
$LDAP_server[$serverId] = "CN=administrator,CN=users,DC=xxx,DC=yyy";
$LDAP_server[$serverId] = "password";
$query_id = 0;
$LDAP_queries[$query_id] = 0;
$LDAP_queries[$query_id] = 'Staff with an enabled account';
$LDAP_queries[$query_id] = 'OU=Users,DC=xxx,DC=yyy';
$LDAP_queries[$query_id] = '(&(objectCategory=Person)(objectClass=user)(!(userAccountControl=514)))';
$LDAP_queries[$query_id] = 'sub';
$LDAP_queries[$query_id] = 'givenname';
$LDAP_queries[$query_id] = 'sn';
$LDAP_queries[$query_id] = 'mail';


LimeSurvey Version : 3.15.0+181008

How to fix this error ?? thanks !
Attachments:
Last edit: 3 months 3 days ago by nova168168.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
3 months 3 days ago - 3 months 3 days ago #182076 by DenisChenu
HI,

Can you activate Debug mode and report the issue please ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 3 months 3 days ago by DenisChenu. Reason: link

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!