[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/auth/provider/godb.php on line 137: Undefined array key "PHPSESSID"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
goproblems.com • JavaScript version broken for unsupported locales
Page 1 of 1

JavaScript version broken for unsupported locales

Posted: Fri Dec 01, 2017 1:56 pm
by knakts
JavaScript version broken for unsupported localse – displays blank area.

My locale is "lv" (Latvian) (both Firefox and Chrome are in Latvian), so apparently goproblems tries to load file "http://www.goproblems.com/js/tr/lv.js" based on the locale and fails. It then causes a JS error "eidogo.p18n is undefined" in "comments.js" and everything breaks.

Please, make a fallback in case goproblems don't have support for a specific locale!

Re: JavaScript version broken for unsupported locales

Posted: Sat Feb 23, 2019 1:52 am
by knakts
This is still happening: goproblems.com gets the preferred locale of my browser, and crashes (the go problems do not appear/load) if it doesn't support it, instead of just falling back to English.