Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 28th March 2011, 23:55
xaver xaver is offline
Member
 
Join Date: May 2009
Posts: 77
Thanks: 10
Thanked 25 Times in 14 Posts
Default

Hello,

till told me you need for client_group_id the groupid form sys_group.
I dont wanna use MySQL in a API... i created a new functionfor this in remote.inc.php
PHP Code:
    public function client_id_get_SysGroupID($session_id$client_id){
        global 
$app;
        if(!
$this->checkPerm($session_id'sites_web_domain_get')) {
        
$this->server->fault('permission_denied''You do not have the permissions to access this function.');
        return 
false;
        }
        
$sysGroupID $app->db->queryOneRecord("SELECT groupid FROM sys_group WHERE client_id = '$client_id'");
        return 
$sysGroupID["groupid"];
    } 
Reply With Quote
Sponsored Links
  #12  
Old 23rd September 2011, 12:49
two2wyes two2wyes is offline
Junior Member
 
Join Date: Sep 2011
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello,

I tried adding the client_id_get_SysGroupID function shared by xaver to get the client_group_id as till was suggesting but I still get the same error:

documentroot_error_empty
sysuser_error_empty
sysgroup_error_empty
php_open_basedir_error_empty

I don't understand, as these params are supposed to be filled by ISPConfig...

I'm using ISPConfig 3.0.3.3 downloaded from sourceforge, maybe I need to download the last version from SVN?

Thanks!
Reply With Quote
  #13  
Old 23rd September 2011, 14:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
 
Default

This has been fixed in SVN. Please either sue the SVN version if this is for testing / Development only or wait for the 3.0.4 version which will be released soon.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
two2wyes (29th September 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i uninstall ISPConfig 3 RC1 altaibskt Installation/Configuration 5 11th August 2009 10:41
Backup sites with ISPConfig 3.0.0.8 RC1 ARray General 1 8th February 2009 18:42
Virtual email users in ISPConfig 3 RC1 Fr0sty Installation/Configuration 3 4th February 2009 21:55
ISPConfig 3 RC1 Incoming eMail AceFrahm Developers' Forum 15 4th February 2009 05:14
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 20:15


All times are GMT +2. The time now is 01:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.