• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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