Topic on Extension talk:LDAP Authentication

Support for LDAP Authentication on MW 1.23

2
210.162.177.129 (talkcontribs)

MediaWiki 1.23

PHP 5.4.45

MySQL 5.5

LDAP setting is in progress. The following error message is output. Can you see the cause?

PHP Parse error:  syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/html/mwiki/extensions/LdapAuthentication/LdapAuthentication.php on line 140

210.162.177.129 (talkcontribs)

i resolve.fix below

//      if ( class_exists( MediaWiki\Auth\AuthManager::class ) && empty( $wgDisableAuthManager ) ) {

         if ( class_exists( 'MediaWiki\\Auth\\AuthManager' ) && empty( $wgDisableAuthManager ) ) {

Reply to "Support for LDAP Authentication on MW 1.23"