Last modified: 2012-04-12 13:54:39 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
The code referring to iconv is untouched in 1.17. Does your php not include iconv?
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?
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.