Thread:Extension talk:LDAP Authentication/Error after login on Special:SpecialPages

I've configured LDAP and got it working. However, after I login, if I visit the Special:SpecialPages page, I get this error:

PHP Warning: strtok expects parameter 1 to be string, array given in C:\inetpub\wwwroot\twiki\extensions\LdapAuthentication\LdapAuthentication.php on line 566 PHP Warning: ldap_start_tls: Unable to start TLS: Can't contact LDAP server in C:\inetpub\wwwroot\twiki\extensions\LdapAuthentication\LdapAuthentication.php on line 589 PHP Warning: strtok expects parameter 1 to be string, array given in C:\inetpub\wwwroot\twiki\extensions\LdapAuthentication\LdapAuthentication.php on line 566 PHP Warning: ldap_start_tls: Unable to start TLS: Can't contact LDAP server in C:\inetpub\wwwroot\twiki\extensions\LdapAuthentication\LdapAuthentication.php on line 589

Once I get the error, I get it on every page until I manually go to the logout page and logout. I'm quite confused why I get this error after the LDAP authentication has already happened. I'm just using basic authentication - no searches or groups, and every other page I've tested works. Only Special:SpecialPages is having trouble. If I logout, I can visit SpecialPages without issue. The problem only occurs after I've logged in.


 * MediaWiki 1.18
 * LDAPAuthentication Revision 107956 pulled from SVN on 3-Jan-2012
 * PHP 5.3.8
 * WIMP architecture on Windows 2008 R2

require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" ); $wgAuth                        = new LdapAuthenticationPlugin; $wgLDAPDomainNames             = array("domain.com"); $wgLDAPBaseDNs                 = array("domain.com" =>"dc=domain,dc=com"); $wgLDAPServerNames             = array("domain.com" => "dc1.domain.com"); $wgLDAPSearchStrings           = array("domain.com" => "USER-NAME@domain.com"); $wgLDAPEncryptionType          = array("domain.com" => "clear"); # replace "clear" with "ssl" if that is necessary $wgLDAPProxyAgent              = array("domain.com" => "CN=LDAP-reader-account,DC=domain,DC=com"); $wgLDAPProxyAgentPassword      = array("domain.com" => "password");
 * 1) production setup