Last modified: 2011-03-13 18:05:03 UTC
while installing i got following error Checking environment... * PHP 4.4.0: ok * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. [...] # Initializing data... # Granting user permissions... Warning: mb_strpos(): Unknown encoding or conversion error. in /data1/htdocs/mediawiki/includes/User.php on line 46
That line is: if ( $wgUseLatin1 && ! ( strpos( $name, chr( 0xAD ) ) === false ) ) { strpos(), *not* mb_strpos(), is being used. Probably you have the mbstring.func_overload option in PHP on; this option is very likely to cause data corruption and various problems and should never be used ever by anyone. Turn this off if at all possible. (Additionally, you're installing an out of date version of MediaWiki which contains known security problems. Please install a current release; the most recent 1.4.x is 1.4.11; 1.5.1 is the current recommended version.)
I've added a fatal warning to the installation when this option is active, so it's extra obvious things are going badly.