Last modified: 2011-03-13 18:05:03 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 T5782, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3782 - warning during installation
warning during installation
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.4.x
PC Linux
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links