Remoting client sites_web_domain_add system_group is always "client0"

Discussion in 'Developers' Forum' started by jamesportman, May 25, 2011.

  1. jamesportman

    jamesportman New Member

    Hi,

    been having a problem with adding websites via remoting client using the current ispconfig - version 3.0.3.2

    The websites always are assigned client_id of 0, which messes up the directories and then future ftp users for the website,

    I corrected this for now with an sql query for the groupid for client from the table sys_group;
    "select groupid from sys_group where client_id = '$clientid';"
    $groupid = $qry[groupid];

    Then filling in some variables in the params for the sites_web_domain_add call;
    'system_group' =>"$groupid",
    'client_group_id' => "$groupid",

    Hope it helps somebody out,
    there was some other info here to:
    http://www.how2forge.org/forums/showthread.php?t=48646
     
  2. local.host

    local.host New Member

    This was fantastic,

    exactly solved the issue I was having with this script.

    Thanks jamesportman. :)
     

Share This Page