db_ispconfig new table fields administration?

Discussion in 'Installation/Configuration' started by krakoukas, Sep 23, 2006.

  1. till

    till Super Moderator Staff Member ISPConfig Developer

    The error strings are the same then the errors in the interface. You can use the .lng file of your language from the directory /home/admispconfig/ispconfig/web/isp_manager/lib/lang/ to lookup the error messgaes.
     
  2. krakoukas

    krakoukas New Member

    I am totally lost! Sometimes my fields are set, sometimes not and I cannot find the logic in it...

    Here is my remoting web add function (I call after client creation).

    Code:
    function web_add()
    {// Adding a Web
    global $soap_client;
    global $session_id;
    $params = array (	'sid'		=> $session_id,
    			'module'	=> 'web',
    			'function'	=> 'web_add',
    			'params'        => array (	kunde_title => $_REQUEST['userid'], // reseller_title or reseller_group
    							web_title => 'Site '.$_REQUEST['userid'],
    							web_host => $_REQUEST['userid'],
    							web_domain => 'mydomain.com',
    							web_ip => '127.0.0.1',
    							web_speicher => '256', // MB
    							web_dns => 0,
    
    							web_postgresql => 0,
    							web_dns_mx => 0,
    							web_shell => 0,
    							web_cgi => 0,
    							web_standard_cgi => 0,
    							web_php => 1,
    							web_php_safe_mode => 1,
    							web_ssi => 0,
    							web_ftp => 0,
    							web_frontpage => 0,
    							web_mysql => 1,
    							web_mysql_anzahl_dbs => 1, 
    							web_mailuser_login => 0,
    							web_traffic_ueberschreitung => 1,
    
    							web_ssl => 0,
    							web_anonftp => 0,
    							web_anonftplimit => 0,
    							web_wap => 0,
    							[COLOR="Red"]my_password => md5($_REQUEST['password']),[/COLOR]
    														                                                        web_individual_error_pages => 0,
    							//web_mailquota => -1,
    							//web_traffic => -1,
    							//web_userlimit => -1,
    							//web_domainlimit => -1,
    							//web_mysql_quota => -1
    						)
    		);
    I thought that it was the -1 values that gets the function go wrong, but it is the same when I remove it...

    This strange behaviour make me think that there is a bug in the soap function.
    The database is filed randomly.

    Example:
    field optionen_local_server set to 1 even if I don't send it, web_mysql_anzahl_dbs and web_mailuser_login are empty (instead of 1)
    and my_password isn't filed...

    I saw nothing usefull to understand my problem in /home/admispconfig/ispconfig/web/remote/index.php

    Could you tell me where to look?
    Is there a new release I missed that corrects the web add remoting call?
     

Share This Page