HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=18)
-   -   Remote frameworks fail suspend web without error (http://www.howtoforge.com/forums/showthread.php?t=51965)

yudohartono 21st March 2011 11:26

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


All times are GMT +2. The time now is 18:34.

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