Slow access to Websites & Domains and Files tab in Japanese locale

Created:

2016-11-16 13:00:40 UTC

Modified:

2017-04-24 12:00:27 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Slow access to Websites & Domains and Files tab in Japanese locale

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

Slow access to Websites & Domains and Files tab in Japanese locale. Tabs open but very slowly.In /var/log/plesk/panel.log the following errors can be observed.

    [16-Feb-2016 10:48:27 Asia/Tokyo] PHP Notice: Undefined variable: 、; File: /usr/local/psa/admin/application/default/resources/languages/ja-JP/components/validators.php, Line: 127

[16-Feb-2016 10:48:27 Asia/Tokyo] Exception: PHP Notice: Undefined variable: 、; File: /usr/local/psa/admin/application/default/resources/languages/ja-JP/components/validators.php, Line: 127

file: /usr/local/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /usr/local/psa/admin/application/default/resources/languages/ja-JP/components/validators.php(127): Smb_Exception_Syntax::handleError(8, 'Undefined varia...', '/usr/local/psa/...', 127, Array)
#1 /usr/local/psa/admin/plib/CommonPanel/Translate.php(260): require_once('/usr/local/psa/...')
#2 /usr/local/psa/admin/plib/CommonPanel/Translate.php(144): CommonPanel_Translate->_loadSection('components.vali...')
#3 /usr/local/psa/admin/plib/CommonPanel/Validate/Abstract.php(30): CommonPanel_Translate->lmsg('wrongLocalUrlSy...')
#4 /usr/local/psa/admin/plib/CommonPanel/Validate/LocalUrl.php(23): CommonPanel_Validate_Abstract->setMessage('wrongLocalUrlSy...')
#5 /usr/local/psa/admin/plib/CommonPanel/Validate/LocalUrl.php(14): CommonPanel_Validate_LocalUrl->_setupMessageTemplates()
#6 /usr/local/psa/admin/application/smb/controllers/AccountController.php(393): CommonPanel_Validate_LocalUrl->__construct()
#7 /usr/local/psa/admin/externals/Zend/Controller/Action.php(516): Smb_AccountController->switchAction()
#8 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('switchAction')
#9 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /usr/local/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#11 /usr/local/psa/admin/htdocs/application.php(15): Plesk\\Application_Web->run()
#12 {main}


    [16-Feb-2016 10:35:06 Asia/Tokyo] PHP Notice: Undefined variable: 、; File: /usr/local/psa/admin/application/default/resources/languages/ja-JP/components/password-meter.php, Line: 17

[16-Feb-2016 10:35:06 Asia/Tokyo] Exception: PHP Notice: Undefined variable: 、; File: /usr/local/psa/admin/application/default/resources/languages/ja-JP/components/password-meter.php, Line: 17

file: /usr/local/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /usr/local/psa/admin/application/default/resources/languages/ja-JP/components/password-meter.php(17): Smb_Exception_Syntax::handleError(8, 'Undefined varia...', '/usr/local/psa/...', 17, Array)
#1 /usr/local/psa/admin/plib/CommonPanel/Translate.php(260): require_once('/usr/local/psa/...')
#2 /usr/local/psa/admin/plib/CommonPanel/Translate.php(296): CommonPanel_Translate->_loadSection('components.pass...')
#3 /usr/local/psa/admin/plib/CommonPanel/Form/Decorator/PasswordMeter.php(27): CommonPanel_Translate->getSection('components.pass...')
#4 /usr/local/psa/admin/plib/CommonPanel/Form/Decorator/PasswordMeter.php(20): CommonPanel_Form_Decorator_PasswordMeter::getInitializationJsCode('general-general...')
#5 /usr/local/psa/admin/externals/Zend/Form/Element.php(2042): CommonPanel_Form_Decorator_PasswordMeter->render(' ...')
#6 /usr/local/psa/admin/externals/Zend/Form/Decorator/FormElements.php(111): Zend_Form_Element->render()
#7 /usr/local/psa/admin/externals/Zend/Form.php(2905): Zend_Form_Decorator_FormElements->render('')
#8 /usr/local/psa/admin/externals/Zend/Form/Decorator/FormElements.php(111): Zend_Form->render()
#9 /usr/local/psa/admin/externals/Zend/Form.php(2905): Zend_Form_Decorator_FormElements->render('')
#10 /usr/local/psa/admin/externals/Zend/Form/Decorator/FormElements.php(111): Zend_Form->render()
#11 /usr/local/psa/admin/externals/Zend/Form.php(2905): Zend_Form_Decorator_FormElements->render('')
#12 /usr/local/psa/admin/plib/CommonPanel/Form.php(343): Zend_Form->render()
#13 /usr/local/psa/admin/application/smb/views/scripts/email-address/create.phtml(4): CommonPanel_Form->__toString()
#14 /usr/local/psa/admin/externals/Zend/View.php(108): include('/usr/local/psa/...')
#15 /usr/local/psa/admin/externals/Zend/View/Abstract.php(888): Zend_View->_run('/usr/local/psa/...')
#16 /usr/local/psa/admin/externals/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('email-address/c...')
#17 /usr/local/psa/admin/externals/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('email-address/c...', NULL)
#18 /usr/local/psa/admin/externals/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#19 /usr/local/psa/admin/externals/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#20 /usr/local/psa/admin/externals/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#21 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('createAction')
#22 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#23 /usr/local/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#24 /usr/local/psa/admin/htdocs/application.php(15): Plesk\\Application_Web->run()
#25 {main}

Cause

Incorrect interpretation of symbols in the localization file.

Resolution

Dollar sign in the files
/usr/local/psa/admin/application/default/resources/languages/ja-JP/components/validators.php (line 127)
/usr/local/psa/admin/application/default/resources/languages/ja-JP/components/password-meter.php (line 16 and 17)




needs to be escaped like this
/usr/local/psa/admin/application/default/resources/languages/ja-JP/components/validators.php
'passwordStrength' => "このパスワードの強度は、サーバセキュリティポリシーを満たしていません。最低限のパスワード強度は「%strength%」です。数字、アルファベットの大文字/小文字、特殊文字(!、@、#、\$、%、^、&、*、?、_、~)を使用して、パスワードを強化してください。",


/usr/local/psa/admin/application/default/resources/languages/ja-JP/components/password-meter.php
'specialChar1' => "特殊文字(!、@、#、\$、%、^、&、 、?、_、~ など)を 1 つ以上使用します。",
'specialChar2' => "特殊文字(!、@、#、\$、%、^、&、
、?、_、~ など)を 2 つ以上使用します。",

The problem will be addressed in one of the nearest microupdates.

Have more questions? Submit a request
Please sign in to leave a comment.