1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

update failed - no default language

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by mik_schreiber, Dec 15, 2008.

  1. mik_schreiber

    mik_schreiber Guest

    0
     
    System: Ubuntu 7.1

    psa service starts - mail service failed (next problem which i ve to check)
    when i try to start domain:8443 i get:

    ERROR: PleskFatalException
    Unable to get default language.

    0: /opt/psa/admin/plib/common_func.php3:108
    psaerror(string 'Unable to get default language.')
    1: /opt/psa/admin/plib/countries.php3:291
    locale_list()
    2: /opt/psa/admin/plib/common_func.php3:1811
    locale_exists(string 'de-DE')
    3: /opt/psa/admin/plib/class.Session.php:163
    Session->Session()
    4: /opt/psa/admin/auto_prepend/auth.php3:165


    log:files after uograde:
    Trying to migrate admin params to clients table... done
    PHP Fatal error: Call to a member function getContext() on a non-object in /opt/psa/admin/plib/Navigation.php on line 54

    WARNING!
    During the default tempaltes cannot be created found some problems
    Continue...

    PHP Fatal error: Call to a member function getContext() on a non-object in /opt/psa/admin/plib/Navigation.php on line 54

    WARNING!
    During the cannot update notifications. Please rerun /opt/psa/admin/plib/scripts/update_notifications.php manyally found some problems
    Continue...

    PHP Fatal error: Call to a member function getContext() on a non-object in /opt/psa/admin/plib/Navigation.php on line 54
    Trying to shedule license displaying for admin login... done


    what can i do?

    Thank you
     
  2. mik_schreiber

    mik_schreiber Guest

    0
     
    solution:

    The update procedure has had a problem because the default language was not english.
    I have inserted de-DE in the table locales and now it is working

    insert into locales(id, active) values('de-DE', 'false');
     
Loading...