'.esc_html($log_path).'');
} else if($error_log === NULL){
if($log_path > (PHP_INT_MAX / 2))
$error = sprintf(DUP_PRO_U::__("PHP error log is available on location %s but can't be read because file size is over %s. You must open this file manualy."),''.esc_html($log_path).'', ''.DUP_PRO_U::byteSize($log_path_size).'');
else
$error = sprintf(DUP_PRO_U::__("PHP error log is available on location %s but can't be read because some unexpected error. Try to open file manually and investigate all problems what can cause this error."),''.esc_html($log_path).'');
} else {
}
} else {
$error = DUP_PRO_U::__('This can be good for you because there is no errors.').'
';
$error.= sprintf(DUP_PRO_U::__('But if you in any case experience some errors and not see log here, that mean your error log file is placed on some unusual location or can\'t be created because some %1$s setup. In that case you must open %2$s file and define %3$s or call your system administrator to setup it properly.'),
"php.ini",
"php.ini",
"error_log").
'
';
$error.= sprintf(DUP_PRO_U::__('It would be great if you define new error log path to be inside root of your WordPress installation ( %1$s ) and name of file to be %2$s. That will solve this problem.'),
''.duplicator_pro_get_home_path().'',
'error.log');
}
if($error) : ?>
title = DUP_PRO_U::__('Clear PHP Log?');
$confirm1->message = DUP_PRO_U::__('Are you sure you want to clear PHP log??');
$confirm1->message .= '
';
$confirm1->message .= DUP_PRO_U::__('Note: This action will delete all data and can\'t be stopped.');
$confirm1->progressText = DUP_PRO_U::__('Clear PHP log, Please Wait...');
$confirm1->jsCallback = 'DupPro.Tools.ClearLogSubmit()';
$confirm1->initConfirm();
?>