You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-11-27 01:32:06

flakopaisa
Member
Registered: 2018-11-27
Posts: 2

Fallo al correr GLPI

Buenas tardes,

Estoy tratando de montar GLPI hosteado en un servidor, pero al cargar aparece el siguiente error:

. -------------------------------------------------------------------------- */ /** @file * @brief */ // Check PHP version not to have trouble if (version_compare(PHP_VERSION, "5.4.0") < 0) { die("PHP >= 5.4.0 required"); } define('DO_NOT_CHECK_HTTP_REFERER', 1); // If config_db doesn't exist -> start installation define('GLPI_ROOT', dirname(__FILE__)); include (GLPI_ROOT . "/config/based_config.php"); if (!file_exists(GLPI_CONFIG_DIR . "/config_db.php")) { include_once (GLPI_ROOT . "/inc/autoload.function.php"); Html::redirect("install/install.php"); die(); } else { $TRY_OLD_CONFIG_FIRST = true; include (GLPI_ROOT . "/inc/includes.php"); $_SESSION["glpicookietest"] = 'testcookie'; // For compatibility reason if (isset($_GET["noCAS"])) { $_GET["noAUTO"] = $_GET["noCAS"]; } Auth::checkAlternateAuthSystems(true, isset($_GET["redirect"])?$_GET["redirect"]:""); // Send UTF8 Headers header("Content-Type: text/html; charset=UTF-8"); // Start the page echo ''."\n"; echo ''; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''; // auto desktop / mobile viewport echo ""; // Appel CSS echo ''; // CSS theme link echo Html::css($CFG_GLPI["root_doc"]."/css/palettes/".$CFG_GLPI["palette"].".css"); // surcharge CSS hack for IE echo ""; // echo ""; echo ""; echo ""; echo "
"; echo "
"; echo "
"; echo nl2br(Toolbox::unclean_html_cross_side_scripting_deep($CFG_GLPI['text_login'])); echo "
"; echo "
"; echo "
"; // Other CAS if (isset($_GET["noAUTO"])) { echo ""; } // redirect to ticket if (isset($_GET["redirect"])) { Toolbox::manageRedirect($_GET["redirect"]); echo ''; } echo '

'.__('Login').'

'; echo '

'.__('Password').'

'; echo '

'; if ($CFG_GLPI["use_mailing"] && countElementsInTable('glpi_notifications', "`itemtype`='User' AND `event`='passwordforget' AND `is_active`=1")) { echo ''. __('Forgotten password?').''; } Html::closeForm(); echo ""; echo "
"; // end login box echo "
"; echo ""; if (isset($_GET['error'])) { switch ($_GET['error']) { case 1 : // cookie error _e('You must accept cookies to reach this application'); break; case 2 : // GLPI_SESSION_DIR not writable _e('Checking write permissions for session files'); echo "
".GLPI_SESSION_DIR; break; case 3 : _e('Invalid use of session ID'); break; } } echo "
"; // Display FAQ is enable if ($CFG_GLPI["use_public_faq"]) { echo '
'. '[ '.__('Access to the Frequently Asked Questions').' ]'; echo '
'; } echo "
"; Plugin::doHook('display_login'); echo "
"; echo "
"; // end contenu login if (GLPI_DEMO_MODE) { echo "
"; Event::getCountLogin(); echo "
"; } echo "
"; echo ""; echo "GLPI version ".(isset($CFG_GLPI["version"])?$CFG_GLPI["version"]:"")." Copyright (C) ". "2015". //"-".date("Y"). // TODO, decomment this in 2016 " By Teclib'.
". "Copyright (C) 2003-2015 INDEPNET Development Team"; echo "
"; } // call cron if (!GLPI_DEMO_MODE) { CronTask::callCronForce(); } echo ""; ?>

Offline

#2 2018-11-28 17:06:12

Drumhazzard
Member
Registered: 2011-09-19
Posts: 47

Re: Fallo al correr GLPI

¿Sobre qué entorno lo estás montando? (Servidor Web y versión, PHP (versión), etc...)

Offline

Board footer

Powered by FluxBB