• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

PleskFatalException after Upgrade to 9.5.1

T

Tim Roggemann

Guest
Hello,
since I updated my System to 9.5.1 i get an error when i want to access the plesk login page:

ERROR: PleskFatalException
Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.

0: common_func.php3:146
psaerror(string 'Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.')
1: auth.php3:158

I Use Debian Lenny

I installed already all language packs, reinstalled the language packs and set the rights to 755 as it read in an former post.
No change at all
 
Is it Virtuozzo container? Is there any useful in /var/log/sw-cp-server/error_log ?
 
I get the exact same error after I moved a virtuozzo container to a temporary server using "vzmigrate":

ERROR: PleskFatalException
Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.

0: common_func.php3:108
psaerror(string 'Unable to create Session object: Unable to set up default locale: default locale does not exist or undefined.')
1: auth.php3:168

When I have a look at /var/log/sw-cp-server/error_log I see no errors:

-bash-3.2# cat /var/log/sw-cp-server/error_log
2010-06-24 14:46:51: (log.c.135) server stopped
2010-06-24 15:52:11: (log.c.75) server started
2010-06-24 16:49:16: (log.c.135) server stopped
2010-06-24 16:50:17: (log.c.75) server started
 
Check locale settings. It should be like:

mysql> select * from locales;
+-------+--------+
| id | active |
+-------+--------+
| de-DE | false |
| en-US | true |
| es-ES | false |
| fr-FR | false |
| it-IT | false |
| ja-JP | false |
| nl-NL | false |
| ru-RU | false |
| zh-CN | false |
| zh-TW | false |
+-------+--------+
10 rows in set (0.00 sec)

mysql> select * from misc where param like "%locale%";
+--------------+-------+
| param | val |
+--------------+-------+
| admin_locale | en-US |
| def_locale | en-US |
+--------------+-------+
2 rows in set (0.00 sec)

If it is correct, try to reinstall with force psa-locale-base-en-US package.
 
Back
Top