You are not logged in.
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
GLPI 10.0.14 - Serveur Debian 12 - PHP 8.2.17 - Server MariaDB Version: 10.11.6
Offline
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
Offline
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.
GLPI 10.0.14 - Serveur Debian 12 - PHP 8.2.17 - Server MariaDB Version: 10.11.6
Offline
Vérifiez que dans sys:/php5/php.ini vous ayez bien :
open_basedir = ".;sys:/tmp;sys:/apache2/htdocs/glpi"
Offline