Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

problème d'éxécution de "http://serveur/install.php"

Bonjour ,

J'ai installé la dernière version stable d'ocs Inventory NG versions 2.2 sur un  Ubuntu server 16.04  .J'ai rencontré un problème  à l'étape  où  l'on exécute la requête http://serverur/install.php depuis le navigateur .Ci-dessous  une extrait qu'affiche mon navigateur  lors de l'envoi du requête au  , je n'arrive pas à obtenir  la page de création du base de donnée :

$ent"; } function return_bytes($val) { $val = trim($val); $last = strtolower($val{strlen($val)-1}); switch($last) { case 'g': $val *= 1024; case 'm': $val *= 1024; case 'k': $val *= 1024; } return $val; } // // } /* * function to execute sql file * */ function exec_fichier_sql($fichier,$link){ global $l; $db_file=$fichier; $dbf_handle = @fopen($db_file, "r"); echo "
"; if (!$dbf_handle){ msg_error($l->g(2112)." : ".$fichier); return true; }else{ if (filesize($db_file) > 0){ $sql_query = fread($dbf_handle, filesize($db_file)); fclose($dbf_handle); $data_sql=explode(";", $sql_query); foreach ($data_sql as $k=>$v){ if (trim($v) != ""){ echo "."; ob_flush(); flush(); mysql2_query_secure($v,$link); } } return false; } return true; } } //choose default language if (!isset($_SESSION['OCS']['LANGUAGE']) or !isset($_SESSION['OCS']["LANGUAGE_FILE"])){ if (isset($_COOKIE['LANG'])) $_SESSION['OCS']['LANGUAGE']=$_COOKIE['LANG']; if (!isset($_COOKIE['LANG'])) $_SESSION['OCS']['LANGUAGE']=DEFAULT_LANGUAGE; $_SESSION['OCS']["LANGUAGE_FILE"]=new language($_SESSION['OCS']['LANGUAGE']); } $l = $_SESSION['OCS']["LANGUAGE_FILE"]; //OCS INSTALLATION printEnTeteInstall($l->g(2030)); echo "
"; //messages lbl $msg_lbl=array(); $msg_lbl['info']=array(); $msg_lbl['warning']=array(); $msg_lbl['error']=array(); //msg=you have to update database if( isset($fromAuto) && $fromAuto==true){ $msg_lbl['info'][]= $l->g(2031)." ".$valUpd["tvalue"]." ".$l->g(2032)." (" . GUI_VER . "). ".$l->g(2033); } //msg=your config file doesn't exist if( isset($fromdbconfig_out) && $fromdbconfig_out==true) $msg_lbl['info'][]=$l->g(2034); //max to upload $pms = "post_max_size"; $umf = "upload_max_filesize"; $valTpms = ini_get( $pms ); $valTumf = ini_get( $umf ); $valBpms = return_bytes( $valTpms ); $valBumf = return_bytes( $valTumf ); if( $valBumf>$valBpms ) $MaxAvail = trim(mb_strtoupper($valTpms),"M"); else $MaxAvail = trim(mb_strtoupper($valTumf),"M"); $msg_lbl['info'][]=$l->g(2040) . " " . $MaxAvail . $l->g(1240) . "
" . $l->g(2041)."

Je voudrais avoir de l'aide svp.

Merci pour votre réponse.

cdt,

asked in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes
Bonjour,

Toutes les librairies php5 nécessaires à OCS Server ont bien été installées?

Cordialement

Frank
answered by (70.3k points)
 
Powered by Question2Answer
...