Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 99

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 99

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 100

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 100

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 101

Notice: Trying to access array offset on value of type null in /var/www/wiki/includes/profiler/SectionProfiler.php on line 101
Locale Configuration Issue on Ubuntu 12.04 - Zam Wiki

Locale Configuration Issue on Ubuntu 12.04

From Zam Wiki

Revision as of 17:05, 29 September 2013 by Zam (talk | contribs) (Created page with "Have you encountered problem like this when you login to your server via ssh? -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) It’s no so difficult to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Have you encountered problem like this when you login to your server via ssh?

-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

It’s no so difficult to fix this annoying warning but as usual, the hardest part is to find the right solution. So here what I’ve done to fix the problem:

root@gh0st:~# locale-gen en_US.UTF-8
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Generating locales...
  en_US.UTF-8... done
Generation complete.

Then this command to complete it:

root@gh0st:~# dpkg-reconfigure locales
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.