Page MenuHomePhabricator

SEVERE ERROR happens when selecting "Chinese" as the language during setup
Closed, InvalidPublic

Description

Author: pmstar_pl

Description:
Originally posted at:
http://www.mediawiki.org/wiki/Project:Support_desk#x.5Bdetailed.5Dno_respond_to_any_clicks.2Factions._27696

MediaWIKI 1.20.5
PHP version: 5.3.25
MYSQL version: 5.2.0

Tested repeated 30 times.

Summary:
When select "Chinese/zh" as the language during creation of the "LocalSettings.php"
This will cause the mediaWIKI to totally crash after LocalSettings.php is loaded.

Detailed testing procedure:
Create "LocalSettings.php" with "Chinese/zh" as the language.
A fine main page is displayed after initial load of this LocalSettings.php.
As soon I click on an internal link(e.g: login/register)
The whole site crash and become not accessible.(e.g: display blank page or error message)
PHP Notice: unserialize(): Error at offset 1209 of 2469 bytes in E:\Inetpub\MabiWIKI\includes\objectcache\SqlBagOStuff.php on line 430

Delete the LocalSettings.php and setup with "English" selected as the language.
Everything works fine again.


Version: 1.20.x
Severity: critical
URL: http://mabi.thelongnight.net/index.php?title=Main_Page

Details

Reference
bz48659

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:20 AM
bzimport set Reference to bz48659.
bzimport added a subscriber: Unknown Object (MLST).

pmstar_pl wrote:

Windows IIS 6 was used for the testing above.

pmstar_pl wrote:

further testing shown that:
when "Chinese Characters" is added to the sidebar(regardless what language it was during the creation of the LocalSetting.php), immediately the whole site crash.

I can't see this issue on the site given in URL field ( http://mabi.thelongnight.net/index.php?title=Main_Page ).

btw Are you sure this is a Language converter bug?

User said this was a db encoding problem. From the thread:

AFTER 3 DAYS, PROBLEM RESOLVED!

cause: forgot to change MYSQL default setting to UTF8

it was latin1, thus when Chinese char is used, it fails.