1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

sw-cp-server errors

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by EdwardDekker, Nov 24, 2011.

  1. EdwardDekker

    EdwardDekker Guest

    0
     
    I have found some problems into plesk server 10.4.4

    OS Centos 5.7
    PSA 10.4.4 - cos5.build1013111102.18.i386

    $ /var/log/sw-cp-server/error_log

    Code:
    PHP Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument; File: /usr/local/psa/admin/plib/Zend/Json.php, Line: 146
    
    Exception: PHP Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument; File: /usr/local/psa/admin/plib/Zend/Json.php, Line: 146
    
    file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
    line: 55
    code: 0
    trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'json_encode() [...', '/usr/local/psa/...', 146, Array)
    #1 /usr/local/psa/admin/plib/Zend/Json.php(146): json_encode(Array)
    #2 /usr/local/psa/admin/panel/application/controllers/ServerController.php(29): Zend_Json::encode(Array)
    #3 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): ServerController->toolsAction()
    #4 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('toolsAction')
    #5 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #6 /usr/local/psa/admin/panel/application/library/AdminPanel/Applic
    2011-11-24 22:23:02: (mod_fastcgi.c.2588) FastCGI-stderr: ation/Web.php(20): Zend_Controller_Front->dispatch()
    #7 /usr/local/psa/admin/panel/application/public/index.php(15): AdminPanel_Application_Web->run()
    #8 {main}
    
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to comment line

    default_charset = "UTF-8"

    in admin's php.ini.
     
  3. EdwardDekker

    EdwardDekker Guest

    0
     
    Problem solved for now.

    Code:
    2011-11-25 09:06:43: (log.c.135) server stopped
    2011-11-25 09:06:43: (log.c.75) server started
    
     
Loading...