Remote frameworks fail suspend web without error

Discussion in 'Developers' Forum' started by yudohartono, Mar 21, 2011.

  1. yudohartono

    yudohartono New Member

    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 [COLOR="RoyalBlue"]is domain domain.com suspended[/COLOR]
    not show error but not change status site on ISPConfig 
    web still exist in ISPconfig 
    Can any one help me
     

Share This Page