PDA

View Full Version : Problem with Remoting Framework


gilogo13
24th July 2006, 23:36
I'm having a problem with ispconfig not accepting some of my parameters,
through the remoting plugin. the values for web_mysql_anzahl_dbs and web_dns_mx seem to be ignored when creating a new web. I have also tried creating a web and then updating the values wich gives me the error "Status field is not empty".

The code for creating a web:

$params = array ( 'sid'=> $session_id,
'module' => 'web',
'function' => 'web_add',
'params' => array ( 'kunde_id'=> $kunde_id,
'web_title' => $web_domain,
'web_host' => 'www',
'web_domain' => $web_domain,
'web_ip' => 'XXX.XXX.XXX.XXX',
'web_dns' => 1,
'web_dns_mx' => 1,
'web_speicher' => 250, // MB
'web_userlimit' => 5,
'web_domainlimit' => 2,
'web_shell' => 0,
'web_cgi' => 1,
'web_standard_cgi' => 1,
'web_php' => 1,
'web_php_safe_mode' => 0,
'web_ssi' => 0,
'web_ftp' => 1,
'web_frontpage' => 0,
'web_mysql' => 1,
'web_mysql_anzahl_dbs' => 5,
'web_ssl' => 0,
'web_anonftp' => 0,
'web_anonftplimit' => 0,
'web_wap' => 1,
'web_individual_error_pages' => 0
));

$web_id = $soapclient->call('service',$params);
if($err = $soapclient->getError()) die("Error: ".$err);


Any help would be appreciated.
Thank You.
Gilogo13

till
25th July 2006, 09:59
I'm having a problem with ispconfig not accepting some of my parameters, through the remoting plugin. the values for web_mysql_anzahl_dbs and web_dns_mx seem to be ignored when creating a new web.


I will check that.

I have also tried creating a web and then updating the values wich gives me the error "Status field is not empty".

This means that there is currently an operation of writing changes to disk in progress, you can not modify the website again until the changes where written to disk.

mark0168
19th April 2008, 09:48
We are using
ISPConfig-2.3.3-dev.tar.gz

We have a similiar problem with this.
We can't insert the amount of database to the field of ISPconfig's DB table.

We supposed that there might have problem with web_mysql_anzahl_dbs.
We can't fill the value of isp_isp_web into the web_mysql_anzahl_dbs field of ISPconfig.

As for the other fields, we inserted them fine.
We also check the example that ISPconfig.org provided, we have found the same problem.

Does anyone know how to resolve this problem?

$params = array ( 'sid' => $session_id,
'module' => 'web',
'function' => 'web_add',
'params' => array ( kunde_title => 'mark', // reseller_title or reseller_group
web_title => $send_doman,
web_host => $host,
web_domain => $server,
web_ip => $ip,
web_speicher => '150', // MB
web_dns => 0,
web_userlimit => 1,
web_domainlimit => 1,
web_shell => 0,
web_cgi => 0,
web_standard_cgi => 0,
web_php => 1,
web_php_safe_mode => 0,
web_ssi => 1,
web_ftp => 0,
web_frontpage => 0,
web_mysql => 1,
web_mysql_anzahl_dbs => 1,
web_ssl => 0,
web_anonftp => 0,
web_anonftplimit => 0,
web_wap => 0,
web_individual_error_pages => 1
));

$web_id = $soapclient->call('service',$params);

till
19th April 2008, 11:17
Did you try the latest remoting framework beta already? It contains fixes for the mysql database creation.

http://www.howtoforge.com/forums/showthread.php?t=22087

mark0168
19th April 2008, 11:33
Thank you, I haven't found that update post yet.

mark0168
23rd April 2008, 09:25
I have read that post and download the files, but I have no idea about how to install .pkg? Which tool should I use to install .pkg?

We are using Centos 5.1 not solaris and I am not familiar with solaris.
Anyone can help?
Thanks.

till
23rd April 2008, 10:18
These files are not for solaris and ISPConfig does not support solaris. The files are in the ISPConfig package format.

Installation of packages, see ISPConfig first steps guide, chapter 2.3:

http://www.howtoforge.com/ispconfig-2.x-first-steps