Last modified: 2010-05-15 15:56:49 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 T8486, the corresponding Phabricator task for complete and up-to-date bug report information.
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