Applicable to:
- Plesk Sitebuilder for Linux
Symptoms
-
Forgot password link gives the following error:
PLESK_INFO: Internal Sitebuilder error.
File: /usr/local/sitebuilder/include/SB/Actions/ForgetPassword.php; Line: 79
Message: PHP Warning : sprintf() [function.sprintf]: Too few arguments; Code: 2 -
'pt_BR' locale is enabled in SiteBuilder.
Cause
The issue is caused by a software bug 120522 in SiteBuilder 4.5.x. The enabled locale 'pt_BR' cannot be used to retrieve password.
Resolution
Replace [sitebuilder_dir]/resources/locale/pt_BR/ForgetPassword.lng
with the patched file:
-
Connect to the server via SSH.
-
Download the attached archive and extract it:
# wget https://plesk.zendesk.com/hc/article_attachments/360004050874/sitebuilder_4.5_patch_1913401.tar.gz
# tar -zxvf sitebuilder_4.5_patch_1913401.tar.gz -
Backup the original
ForgetPassword.lng
file:# cp /usr/local/sitebuilder/resources/locale/pt_BR/ForgetPassword.lng{,.orig}
Note: Sitebuilder home directory path may differ.
-
Replace the original file with the downloaded one:
# cp ForgetPassword.lng /usr/local/sitebuilder/resources/locale/pt_BR/ForgetPassword.lng
Comments
0 comments
Please sign in to leave a comment.