Server failed to set locale to ["en-GB.UTF-8","en_GB.UTF-8"
Brought to you by:
jberanek
Hi,
The moodle fork of mrbs has finally died at moodle version 4, and 6 years.
Have installed the lastest rev of the real version from here and got it working fine ... :-)
Integration issues aside, it has come a long way.. Need a moodle auth plugin obviously :-)
HOWEVER ... logs are full of
Server failed to set locale to ["en-GB.UTF-8","en_GB.UTF-8"] for language tag 'en-GB'.
I notice that somebody else talked about it too.
It sounds like you haven't got the en_GB locale installed on your server. Is your server a Windows or Linux system?
That was quick many tx 😊
From the Help below this ..
Am in Australia and would like the GB language. Linux, Apache
root@e4182s01sv025:/mnt/d2/mrbs/web# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
root@e4182s01sv025:/mnt/d2/mrbs/web#
About MRBS
Configuration details
MRBS version
MRBS 1.11.0
Database schema version
82
Database local schema version
1
$auth['type']
ldap
$auth['session']
php
Server details
Database
(Ubuntu) 8.0.31-0ubuntu0.20.04.2
System
Linux e4182s01sv025 5.15.0-1031-azure #38~20.04.1-Ubuntu SMP Mon Jan 9 18:23:48 UTC 2023 x86_64
Server time
20 Jan 2023, 15:26:03 GMT+8
Server software
Apache/2.4.41 (Ubuntu)
PHP
7.4.3
Extensions
Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, bz2, calendar, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, posix, readline, session, shmop, soap, sockets, sodium, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
Your browser is set with the following language preference order: en-AU, en-GB, en-US, en
From: support-requests@mrbs.p.re.sourceforge.net support-requests@mrbs.p.re.sourceforge.net On Behalf Of Campbell Morrison
Sent: Friday, 20 January 2023 3:25 PM
To: [mrbs:support-requests] 2684@support-requests.mrbs.p.re.sourceforge.net
Subject: [mrbs:support-requests] #2684 Server failed to set locale to ["en-GB.UTF-8","en_GB.UTF-8"
It sounds like you haven't got the en_GB locale installed on your server. Is your server a Windows or Linux system?
[support-requests:#2684]https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Fmrbs%2Fsupport-requests%2F2684%2F&data=05%7C01%7Cpeter.de.groot%40education.wa.edu.au%7Cd9e66cf5f3924ec7276b08dafab78253%7Ce08016f9d1fd4cbb83b0b76eb4361627%7C0%7C0%7C638097963326089327%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6V1k4gD51YPpOrPyHz67gUfiRtrqQOXufHWEmuDy%2Bik%3D&reserved=0 Server failed to set locale to ["en-GB.UTF-8","en_GB.UTF-8"
Status: open
Group:
Created: Fri Jan 20, 2023 07:21 AM UTC by Peter de Groot
Last Updated: Fri Jan 20, 2023 07:22 AM UTC
Owner: nobody
Hi,
The moodle fork of mrbs has finally died at moodle version 4, and 6 years.
Have installed the lastest rev of the real version from here and got it working fine ... :-)
Integration issues aside, it has come a long way.. Need a moodle auth plugin obviously :-)
HOWEVER ... logs are full of
Server failed to set locale to ["en-GB.UTF-8","en_GB.UTF-8"] for language tag 'en-GB'.
I notice that somebody else talked about it too.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/mrbs/support-requests/2684/https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Fmrbs%2Fsupport-requests%2F2684%2F&data=05%7C01%7Cpeter.de.groot%40education.wa.edu.au%7Cd9e66cf5f3924ec7276b08dafab78253%7Ce08016f9d1fd4cbb83b0b76eb4361627%7C0%7C0%7C638097963326089327%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6V1k4gD51YPpOrPyHz67gUfiRtrqQOXufHWEmuDy%2Bik%3D&reserved=0
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fauth%2Fsubscriptions%2F&data=05%7C01%7Cpeter.de.groot%40education.wa.edu.au%7Cd9e66cf5f3924ec7276b08dafab78253%7Ce08016f9d1fd4cbb83b0b76eb4361627%7C0%7C0%7C638097963326089327%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EKbaL1Sv09AOV%2FvLTL%2FAhtxuzEq%2Fzw0s39eHFygm9G8%3D&reserved=0
Related
Support Requests: #2684
That was quick many tx 😊
From the Help below this ..
Googling ..
Am in Australia and would like the GB language. Linux, Apache
root@e4182s01sv025:/mnt/d2/mrbs/web# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
root@e4182s01sv025:/mnt/d2/mrbs/web#
About MRBS
Configuration details
MRBS version MRBS 1.11.0
Database schema version 82
Database local schema version 1
$auth['type'] ldap
$auth['session'] php
Server details
Database (Ubuntu) 8.0.31-0ubuntu0.20.04.2
System Linux e4182s01sv025 5.15.0-1031-azure #38~20.04.1-Ubuntu SMP Mon Jan 9 18:23:48 UTC 2023 x86_64
Server time 20 Jan 2023, 15:26:03 GMT+8
Server software Apache/2.4.41 (Ubuntu)
PHP 7.4.3
Extensions Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, bz2, calendar, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, posix, readline, session, shmop, soap, sockets, sodium, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
Your browser is set with the following language preference order: en-AU, en-GB, en-US, en
The message probably results from users who have 'en-gb' as their first language preference in their browser. If you are not an en-gb site and are not worried about allowing users an en-gb option, you could always set
$override_locale
to force users to use the locale of your choice.See https://help.ubuntu.com/community/Locale for information on checking and installing locales on Ubuntu.
Tx for that... the only locale I had installed was en-US. So I forced that. Wonder if that will effect the dates ? Hmmm