Topic on Project:Support desk

Unable to login to mediawiki. But page is coming up.

4
173.68.151.26 (talkcontribs)

Hi ,

I have Upgraded the mediawiki-1.27 from mediawiki-1.18.

1) Copied the LdapAuthetication.php from From old meediawiki to new.

2) made changes to AuthPlugin.php as needed.

When I run "update.php", I am receiving the following notice.

"PHP Notice:  Undefined index: SERVER_NAME in /www/virtual/webuser/wiki/includes/                                                                             GlobalFunctions.php on line 1471

PHP Notice:  Undefined variable: _SESSION in /www/virtual/webuser/wiki/extension                                                                             s/LdapAuthentication/LdapAuthentication.php on line 919

PHP Notice:  Undefined index: SERVER_NAME in /www/virtual/webuser/wiki/includes/                                                                             GlobalFunctions.php on line 1471"

How ever My mediawiki page is coming up but User account I cannot Login.

Can you please help me out.

Thanks,

Dheeraj

Ciencia Al Poder (talkcontribs)

You should get upgraded versions of extensions when you upgrade MediaWiki, do not just copy them from the old version. See Manual:Upgrading

173.68.151.26 (talkcontribs)

Hi,

Thank You

I installed the updated extension, Now should I edit the file manually and update the setting in LdapAuthentication.php file?

Ciencia Al Poder (talkcontribs)

You're not supposed to edit LdapAuthentication.php, but specify your settings in LocalSettings.php.

Reply to "Unable to login to mediawiki. But page is coming up."