[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [obsdfr-misc] bug php lors d'une migration lighttpd
Bonjour,
On Mon, 8 Sep 2008 13:30:00 +0200, "Philippe BEAUMONT"
<p POINT beaumont AT dmedica.fr> wrote:
> # php_old /var/www/htdocs/index.php
> PHP Warning: include(./config/based_config.php): failed to open stream:
> No such file or directory in /var/www/htdocs/index.php on line 40
> PHP Warning: include(): Failed opening './config/based_config.php' for
> inclusion (include_path='.:/pear/lib:/var/www/pear/lib') in
> /var/www/htdocs/index.php on line 40
> PHP Notice: Use of undefined constant GLPI_CONFIG_DIR - assumed
> 'GLPI_CONFIG_DIR' in /var/www/htdocs/index.php on line 41
> PHP Warning: include(./inc/common.function.php): failed to open stream:
> No such file or directory in /var/www/htdocs/index.php on line 42
> PHP Warning: include(): Failed opening './inc/common.function.php' for
> inclusion (include_path='.:/pear/lib:/var/www/pear/lib') in
> /var/www/htdocs/index.php on line 42
> PHP Fatal error: Call to undefined function glpi_header() in
> /var/www/htdocs/index.php on line 43
Si tu lis bien ici, la première ligne "PHP Warning" te dis qu'il ne trouve
pas le fichier à inclure.
Celui ci est décrit par un chemin relatif (./ le dossier courant)
essaye de te placer dans /var/www/htdocs avant de lancer ta commande mais
je doute que ça change quelque chose.
Ensuite les include plus généraux (/var/www/pear/lib) sont-ils
accessibles?
n'y-a-t'il pas dans les fichiers de l'application une configuration de
path?
Bonne chance
Thibaut