|Anonymous | Login | Signup for a new account||2018-02-25 13:35 UTC|
|My View | View Issues|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000027||Openlink||public||2006-06-20 17:07||2008-12-27 01:12|
|Summary||0000027: Pages running out of thttpd on 8080 are in Japanese|
|Description||Ported from PITS 00028|
Summary: Pages running out of thttpd on 8080 are in Japanese
Created: 2005â€“08â€“19 16:31
Description: Came across this earlier while I was poking around. I donâ€™t use this service so for me its low priority. Looks like a PCast config thingy!
Update: The Linkstation Client installer and other stuff in that area are also in Japanese
Update: OK I see the english stuff is there. Having a quick look through the code and playing around a bit I see that it just isnâ€™t getting the locale. You can see this by putting a script in a file in /usr/local/PCast/www/cgi-bin containing the following bits (taken out of the pcast.cgi file) and running it.
use strict â€˜varsâ€™; use lib(â€˜./moduleâ€™); use CGI::Carp qw(fatalsToBrowser); use BufCommonQueryString; use BufBasicLocale; use BufCommonSyslog;
my $info = BufCommonQueryString?new();
my %query = $info?get_query; my $info = BufBasicLocale?new();
my $lang = $info?get_lang; my $log = BufCommonSyslog?new();
$log?save(â€œ[PCast] Locale is: $langâ€);
This results in the following information being displayed in /var/log/linkstation.log:
Aug 21 15:29:42 HD-HGLAN9A7 linkstation: [PCast] Locale is:
Its quite easy to hack in a fix, will look for proper solution.
Update: Looking back through the perl there seems to be a missing entry in /etc/melco/info the file needs to contain lang=english. This seems to work across reboots however I guess a configuration change could reset it - havnâ€™t tested it with that yet - timtimred
Update: This modification survives config changes and reboots! Fixed I guess!
|Tags||No tags attached.|
|Openlink Platform||HG (ppc)|
|2006-06-20 17:07||flavoie||New Issue|
|2006-06-20 17:08||flavoie||Description Updated|
|2008-12-27 01:12||sungod||Openlink Platform||=> HG (ppc)|
|2008-12-27 01:12||sungod||Description Updated|
|2008-12-27 01:12||sungod||Project||@9@ => Openlink|
|Copyright © 2000 - 2018 MantisBT Team|