Article ID: 221, created on Oct 6, 2008, last review on Jun 17, 2016

  • Applies to:
  • Plesk for Windows


The error like as following one occurs in Plesk

/clients/cl_new.php3: Unable to get default language., in on line , plesk_errormsg=,
 php_errormsg=Cannot modify header information - headers already sent by (output started at /usr/local/psa/admin/plib/locale/messages_de.php3:2091)


This error can appear due to the fact that:

  1. Locale is absent from from psa.locales list
  2. Incorrect value is set in psa.misc table with param='def_locale'.


  1. Ensure that required locale is defined in psa.locales

    # MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -Ne "select * from locales where id='en-US';"
    • If the output is empty, then

      # MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -Ne "insert into locales values ('en-US','true')";
  2. Set locale as default:  

    # MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -e "update misc set val='en-US' where param='def_locale';"

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 85a92ca67f2200d36506862eaa6ed6b8

Email subscription for changes to this article
Save as PDF