Last modified: 2012-04-12 13:54:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30463, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28463 - wrong password leads to blank screen
wrong password leads to blank screen
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.16.x
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-08 22:24 UTC by chou86.e
Modified: 2012-04-12 13:54 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description chou86.e 2011-04-08 22:24:55 UTC
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
Comment 1 Mark A. Hershberger 2011-04-11 16:22:53 UTC
The code referring to iconv is untouched in 1.17.  Does your php not include iconv?
Comment 2 Mark A. Hershberger 2011-04-11 16:29:12 UTC
A blank page w/o error usually is the result of running out of memory.  What happens if you increase the memory available to PHP in php.ini?
Comment 3 chou86.e 2011-04-11 17:12:02 UTC
So it goes into the code inside the part that checks if the function exists, so I'm guessing it does include some form of iconv. 

But I just realized that I probably should not have filed a bug report for this, since the problem has nothing to do with the mediawiki source. I'll have to email IT about possible issues with iconv. Thanks for the information (did not realize that blank page w/o error could mean running out of memory). It was already really frustrating to isolate where exactly this was happening already...

Anyway, I can say this is resolved for me.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links