https://bugzilla.wikimedia.org/show_bug.cgi?id=28463

             Bug #: 28463
           Summary: wrong password leads to blank screen
           Product: MediaWiki
           Version: 1.16.1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: User login
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: chou8...@gmail.com
    Classification: Unclassified


So when I log in with the wrong password, I get a blank page. Even when setting
error_reporting(E_ALL) and ini_set("display_errors",1), there is nothing (which
is strange to me...). Furthermore, if I log in with a blank password, or a user
name that does not exist, then it is fine.

After chasing around the code, I narrowed down the problem to a call to "iconv"
in User.php (after comparing passwords, and checking if "iconv" exists). I just
commented the line out and returned false as a temporary fix for now. This is
near the comment # Some wikis were converted from ISO 8559-1 to UTF-8, ...

I'm not sure if this was already resolved in later versions, but I figured I
should just mention that for whatever reason it failed for our setup.

Here is the information about our setup: 
* Version of MediaWiki: 1.16.1
* Database: MySQL, server version 5.1.34
* PHP Version 5.3.6
* Operating system where MediaWiki is installed: Apache/2.2.0 (Fedora)
mod_perl/2.0.2 Perl/v5.8.7

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to