View Single Post
  #1  
Old 21st March 2011, 12:26
yudohartono yudohartono is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remote frameworks fail suspend web without error

Web_suspend function not work

[PHP]
public function suspendWeb($domain) {
$params = array('sid' => $this->sesionid,
'module' => 'web',
'function' => 'web_suspend',
'params' => array('web_title' => '"'.$domain.'"' // web_title or web_id
));

if ($this->_soap->call('service', $params)) {
echo "domain $domain suspended";
return true;
}

if ($this->_soap->getError()) {
echo $this->_soap->getError().$domain;
return false;
}
}
[/SIZE]
result is domain domain.com suspended
not show error but not change status site on ISPConfig
web still exist in ISPconfig
Can any one help me
Reply With Quote
Sponsored Links