Problem using remoting for Client delete

Discussion in 'General' started by krakoukas, Jul 3, 2008.

  1. krakoukas

    krakoukas New Member


    I am using ISPConfig (Version: 2.2.18) as a base system and user account management for my project
    It is running pretty well but some weird behaviors happens when deleting a Client:

    $soap_client $my_soap['soap_client'];
    $session_id $my_soap['session_id'];
    // Deleting Client
    $params = array ( 'sid'            => $session_id,
    'module'        => 'kunde',
    'function'    => 'kunde_delete',
    'params'        => array ( 'kunde_title' => $user_id));

    $err $soap_client->getError()) die("Error remove client: ".$err);
    When everything runs well, I have in logs:

    But very often (one every two times), I have web sites or users form other Client account put in the Trash??
    In this case ISPconfig logs:
    I have to restore them before emptying Trash...

    Does anybody tried to use remoting this way and has problem with it?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You delete the kunde identifies by "kunde_title". Please post the title of the client that shall be deleted and the title of the client that is accidently deleted together with this client.
  3. krakoukas

    krakoukas New Member

    In this example, I remove Client "martinez"
    And I have soumsoum, zeliane, rider260, dayayanis affected by deletion.
    Fortunately, I can restore them before emptying Trash.

    Here is the Trash after remotin deletion:
    Here is the ispconfig log:

    Thanks for your help

Share This Page