http://www.fsf.org/ or write * to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, * MA 02111-1307, USA. * */ // General Checks if ($step == "") { echo "Please go away."; exit(); } function alreadythere() { @include ("config.php"); if (isset($LOG_debug)) { // memcached stuff is already defined header ("Location: ?step=0"); exit (1); } return true; } // Check if ldap stuff is already defined in configuration file alreadythere(); // User requested default fields from previos screen $defaults = $_REQUEST['defaults']; $filecontainer_basedir = $_REQUEST['filecontainer_basedir']; $LOG_debug = $_REQUEST['LOG_debug']; $LOG_path = $_REQUEST['LOG_path']; $LOG_file = $_REQUEST['LOG_file']; $LOG_level = $_REQUEST['LOG_level']; $LOG_debuglevel = $_REQUEST['LOG_debuglevel']; $ERROR_reporting_cmsdAm = $_REQUEST['ERROR_reporting_cmsdAm']; $ERROR_reporting_sections = $_REQUEST['ERROR_reporting_sections']; $errflag = 0; if ($defaults == 1) { $errflag++; } // Parameters validation if ($LOG_debug == "") { $errflag++; } if ($LOG_path == "") { $errflag++; } if ($LOG_file == "") { $errflag++; } if ($LOG_level == "") { $errflag++; } if ($LOG_debuglevel == "") { $errflag++; } if ($ERROR_reporting_cmsdAm == "") { $errflag++; } if ($ERROR_reporting_sections == "") { $errflag++; } if ($errflag > 0) { // Errors with parameters if ($defaults == 1) { // Defaults fields requested header("Location: ?step=" . --$step); } else { $LOG_debug = urlencode($LOG_debug); $LOG_path = urlencode($LOG_path); $LOG_file = urlencode($LOG_file); $LOG_level = urlencode($LOG_level); $LOG_debuglevel = urlencode($LOG_debuglevel); $ERROR_reporting_cmsdAm = urlencode($ERROR_reporting_cmsdAm); $ERROR_reporting_sections = urlencode($ERROR_reporting_sections); header("Location: ?LOG_debug=$LOG_debug&LOG_path=$LOG_path&LOG_file=$LOG_file&LOG_level=$LOG_level&LOG_debuglevel=$LOG_debuglevel&ERROR_reporting_cmsdAm=$ERROR_reporting_cmsdAm&ERROR_reporting_sections?$ERROR_reporting_sections&errors=$errflag&step=" . --$step); } exit (); } ?>

Controllo Error

Attendere mentre il sistema viene controllato.


Sono stati rilevati dei problemi che vanno corretti manualmente.
"; echo "Eventualmente chiedere aiuto al proprio amministratore di sistema per la risoluzione dei problemi sopra elencati.
"; echo "IMPOSSIBILE CONTINUARE"; exit (1); } else { // cmsdAm ERROR is OK! include("config_file_op.php"); // Flush error facility block to configuration file configfile_flush("error"); echo "
Le impostazioni di Error sono OK.\n"; } ?>