Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 2 of 2
  1. #1
    Join Date
    November 2010
    Location
    somewhere
    Posts
    4

    TS interface error: node method 'serverGroupsByClientID()' does not exist

    i have a php code like this

    PHP Code:
    $ts TeamSpeak3::factory("serverquery://".$c->tsname.":".$c->tspass."@".$c->tshost.":".$c->tsport."/");
    $virt $ts->serverGetByPort($c->tscport);
    try{
    $result=$virt->ClientListDB(0,2000);
    }
    catch(
    Exception $e) {
    die(
    "TS interface error: ".$e->getMessage());
    }
    echo(
    '<th>');
    $tmp=current($result);
    $arrk=array_keys($tmp);
    foreach (
    $arrk as $arrkkey){echo("<td>".$arrkkey."</td>");}
    echo(
    '</th>');
    reset($result);
    foreach(
    $result as $key=>$val) {
    echo(
    '<tr>');
    foreach(
    $val as $key1=>$val1){
    echo(
    "<td>".$val1."</td>");
    try{
    $groups=$virt->serverGroupsByClientID($key);
    }
    catch(
    Exception $e) {
    die(
    "TS interface error: ".$e->getMessage());

    so i have message "TS interface error: node method 'serverGroupsByClientID()' does not exist"
    What i did wrong? name of function i copy from ServerQuery manual , others functions works(

  2. #2
    Join Date
    May 2010
    Posts
    6,310
    Hello

    Quote Originally Posted by rodeos
    so i have message "TS interface error: node method 'serverGroupsByClientID()' does not exist"
    What i did wrong? name of function i copy from ServerQuery manual , others functions works(
    This message tells you this is a TS interface script error. Not a query error.
    The function serverGroupsByClientID doesen't exist in this script.

    Doc :
    http://docs.planetteamspeak.com/ts3/...hp_source.html

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [On Todo] Query API: servergroupbyclientid returns help for servergroupsbyclientid
    By nikeee in forum Bug Reports [EN/DE]
    Replies: 11
    Last Post: December 9th, 2014, 02:30 PM
  2. Replies: 3
    Last Post: February 3rd, 2010, 07:54 PM
  3. Interface syntax error?
    By eN.CorE in forum Tools / Web Based
    Replies: 2
    Last Post: January 24th, 2010, 02:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •