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 2005-01-05 18:06:08

julrom
Guest
Registered: 2005-01-05
Posts: 40

Pb d'installation (erreur: ./glpi/glpi/config/config.php on line 51)

Bonjour à tous,

L'install Glpi ver. 0.42 sur un serveur Novell (PHP 4.2.3) n'a pas posée de problème.
Mon serveur Mysql se trouve sur une autre machine.

Mais lorsque je tente de me connecter, j'ai un message d'erreur:

"Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/glpi/config/config.php on line 51".

Quelqu'un peux-t-il me dire d'où cela provient.

Merci


Version de prod : GLPI V9.4.4 + FusionInventory Version 9.4+1.1 - Serveur Debian 10 - PHP 7.3 - MySQL 10.3.17
Version de test : GLPI V9.4.4 + FusionInventory Version 9.4+1.1 - Serveur Debian 10 - PHP 7.3 - MySQL 10.3.17

Parc : 500 postes et 70 serveurs

Offline

#2 2005-01-06 00:18:00

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Pb d'installation (erreur: ./glpi/glpi/config/config.php on line 51)

Editez le fichier /glpi/glpi/config/config.php


Remplacez la ligne 48 :

require_once ("config_db.php");    

par ça :

  require_once ($phproot ."/glpi/config/config_db.php");




Cela devrait aller mieux.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir     Contribuer

Offline

#3 2005-01-06 11:23:22

julrom
Guest
Registered: 2005-01-05
Posts: 40

Re: Pb d'installation (erreur: ./glpi/glpi/config/config.php on line 51)

Bonjour et merci pour la réponse rapide,

Je peux effectivement me connecter maintenant.

Par contre, lorsque je vais sur le HelpDesk par exemple (et c'est comme ça partout sur l'appli), j'ai ce genre de message:

Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/helpdesk/_relpos.php on line 41

Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/helpdesk/_relpos.php on line 41

Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/helpdesk/_relpos.php on line 41

Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/helpdesk/_relpos.php on line 41

Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 40

Warning: Failed opening '/glpi/includes.php' for inclusion (include_path='.;sys:/php/includes') in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 40

Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 41

Warning: Failed opening '/glpi/includes_setup.php' for inclusion (include_path='.;sys:/php/includes') in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 41

Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 42

Warning: Failed opening '/glpi/includes_tracking.php' for inclusion (include_path='.;sys:/php/includes') in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 42

Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 43

Warning: Failed opening '/glpi/includes_reservation.php' for inclusion (include_path='.;sys:/php/includes') in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 43

Fatal error: Call to undefined function: checkauthentication() in SYS:/tomcat/4/webapps/glpi/helpdesk/index.php on line 45

Je ne métrise pas encore le php, donc si vous pouviez m'apporter une réponse aussi efficace que la première fois..........

Merci et bravo pour votre dévellopement.


Version de prod : GLPI V9.4.4 + FusionInventory Version 9.4+1.1 - Serveur Debian 10 - PHP 7.3 - MySQL 10.3.17
Version de test : GLPI V9.4.4 + FusionInventory Version 9.4+1.1 - Serveur Debian 10 - PHP 7.3 - MySQL 10.3.17

Parc : 500 postes et 70 serveurs

Offline

#4 2005-10-24 17:05:06

LF
Guest
Registered: 2005-10-24
Posts: 1

Re: Pb d'installation (erreur: ./glpi/glpi/config/config.php on line 51)

Vérifiez que dans sys:/php5/php.ini vous ayez bien :

open_basedir = ".;sys:/tmp;sys:/apache2/htdocs/glpi"

Offline

Board footer

Powered by FluxBB