Last modified: 2010-05-15 15:56:49 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 6486 - utf8_encode problem
utf8_encode problem
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.6.x
PC Linux
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
: utf8
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-29 07:19 UTC by David Belohrad
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Attachments

Description David Belohrad 2006-06-29 07:19:09 UTC
By using unicode encoding by default in gentoo MediaWiki complains about
non-existent? callback to utf8_encode. The error seems to be related to line
115, where array_map using utf8_encode translates strings:

$trans = array_map( 'utf8_encode', $trans );

This creates tons of warnings when opening every page of mediawiki.

----------------------------------------------------------------------


Warning: array_map() [function.array-map]: The first argument, 'utf8_encode',
should be either NULL or a valid callback in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 115

Warning: Invalid argument supplied for foreach() in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 130

Warning: implode() [function.implode]: Bad arguments. in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 133

Warning: array_map() [function.array-map]: The first argument, 'utf8_encode',
should be either NULL or a valid callback in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 115

Warning: Invalid argument supplied for foreach() in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 130

Warning: implode() [function.implode]: Bad arguments. in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 133
Comment 1 Brion Vibber 2006-06-30 01:10:25 UTC
This is in a required module of PHP. Your PHP configuration does not meet
MediaWiki's minimum requirements to run.

Bug is INVALID.

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


Navigation
Links