Applicable to:
- Plesk for Windows
Symptoms
-
Unable to log in to Plesk:
CONFIG_TEXT: Server Error
500
Session_Exception
Unable to set up default locale: default locale does not exist or undefined.
Type Session_Exception
Message Unable to set up default locale: default locale does not exist or undefined.
File Panel.php
Line 72 -
Variable names are shown instead of human-readable words/sentences in Command Prompt commands output. For example:
C:\> plesk bin server_pref --locales-list
cu_servpref__locales_available
Cause
Corrupted locale files.
Resolution
-
Connect to the server via RDP.
-
Download the latest version of package
plesk-locale-base-en-US.msi
from the Windows repository https://autoinstall-win.plesk.com/pool/release/:- Select the last directory in the list - that would be the latest Plesk version
- Open the
dist-windows/
directory
-
Make a backup of
%plesk_dir%admin\application\
and%plesk_dir%admin\plib\
directories. - Create a temporary directory for extracting the
plesk-locale-base-en-US.msi
package (for example,C:\locales
) -
Open the Command Prompt and extract the package files to a temporary directory using the following commands:
Note: this example assumes that the package has been downloaded to
C:\Users\Administrator\Downloads
. Replace it with the actual package's path if the download location was differentC:\> cd C:\Users\Administrator\Downloads
C:\>msiexec /a "plesk-locale-base-en-US.msi" /qb targetdir=C:\locales
-
Copy the extracted files and directories from
C:\locales
to%plesk_dir%admin\application\
and%plesk_dir%admin\plib\
, replacing old data. -
Reinstall any missing Plesk components:
C:\>plesk installer update
Comments
0 comments
Please sign in to leave a comment.