Last modified: 2011-03-13 18:05:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3782 - warning during installation
warning during installation
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
PC Linux
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-10-23 12:19 UTC by philipp
Modified: 2011-03-13 18:05 UTC (History)
0 users

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


Description philipp 2005-10-23 12:19:30 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
Comment 1 Brion Vibber 2005-10-28 08:52:19 UTC
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.)
Comment 2 Brion Vibber 2005-10-28 09:04:07 UTC
I've added a fatal warning to the installation when this option is active, so it's 
extra obvious things are going badly.

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