Here is the code for Line 448 - 466
If i delete the code, i dont get the error anymore and it seems to work so far. But this can't be the solution?
Code
// If its Virtuozzo
if(preg_match('/virtuozzo/is', $virttype){
$tmp_virt = explode(' ', $virttype);
if($tmp_virt[1] == 'openvz'){
$virttype = 'vzo';
}elseif(){
$virttype = 'vzk';
}
}
$hvm = (preg_match('/hvm/is', $params['configoption1']) ? 1 : 0);
$numips = (empty($params['configoptions'][v_fn('ips')]) || $params['configoptions'][v_fn('ips')] == 0 ? $params['configoption13'] : $params['configoptions'][v_fn('ips')]);
$numips_int = (empty($params['configoptions'][v_fn('ips_int')]) || $params['configoptions'][v_fn('ips_int')] == 0 ? $params['configoption19'] : $params['configoptions'][v_fn('ips_int')]);
$numips6 = (empty($params['configoptions'][v_fn('ips6')]) || $params['configoptions'][v_fn('ips6')] == 0 ? $params['configoption17'] : $params['configoptions'][v_fn('ips6')]);
$numips6_subnet = (empty($params['configoptions'][v_fn('ips6_subnet')]) || $params['configoptions'][v_fn('ips6_subnet')] == 0 ? $params['configoption18'] : $params['configoptions'][v_fn('ips6_subnet')]);
$ctrlpanel = (empty($params['configoptions'][v_fn('ctrlpanel')]) ? -1 : strtolower(trim($params['configoptions'][v_fn('ctrlpanel')])));
|