Re: [Galette-discussion] pb installation impossible
Les lignes indiquaient un Pb dans la définition du chemin pour config.inc.php en effet il y a un bug dans le fichier et j'ai changé cette ligne ligne 36 include(WEB_ROOT.includes/config.inc.php); suite à cela, je n'avais plus de message d'erreur dans /var/log/apach2/error_log, mais TPUJOURS mon problème de droits sur /photos, /cache, /tempimage ... (ècran 3) j'ai donc modifié les droits de 755 en 777 cette fois tout passe au vert et la procédure vas au bout. vérification faite j'ai 12 table dans ma base suppression install et.. j'essaie donc la connexion et là encore un ècran blanc !!! erro_log me donne cette fois ci les messages suivant [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Notice: Use of undefined constant WEB_ROOT - assumed 'WEB_ROOT' in /srv/www/htdocs/galette/index.php on line 36 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(WEB_ROOTincludes/config.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 36 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(): Failed opening 'WEB_ROOTincludes/config.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/galette/index.php on line 36 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Notice: Use of undefined constant WEB_ROOT - assumed 'WEB_ROOT' in /srv/www/htdocs/galette/index.php on line 37 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(WEB_ROOTincludes/database.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 37 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(): Failed opening 'WEB_ROOTincludes/database.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/galette/index.php on line 37 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Notice: Use of undefined constant WEB_ROOT - assumed 'WEB_ROOT' in /srv/www/htdocs/galette/index.php on line 38 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(WEB_ROOTincludes/functions.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 38 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(): Failed opening 'WEB_ROOTincludes/functions.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/galette/index.php on line 38 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Notice: Use of undefined constant WEB_ROOT - assumed 'WEB_ROOT' in /srv/www/htdocs/galette/index.php on line 39 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(WEB_ROOTincludes/session.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 39 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(): Failed opening 'WEB_ROOTincludes/session.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/galette/index.php on line 39 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Notice: Use of undefined constant WEB_ROOT - assumed 'WEB_ROOT' in /srv/www/htdocs/galette/index.php on line 40 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include_once(WEB_ROOTincludes/i18n.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 40 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include_once(): Failed opening 'WEB_ROOTincludes/i18n.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/galette/index.php on line 40 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Notice: Use of undefined constant WEB_ROOT - assumed 'WEB_ROOT' in /srv/www/htdocs/galette/index.php on line 41 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include_once(WEB_ROOTincludes/smarty.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 41 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include_once(): Failed opening 'WEB_ROOTincludes/smarty.inc.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/galette/index.php on line 41 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Notice: Use of undefined constant WEB_ROOT - assumed 'WEB_ROOT' in /srv/www/htdocs/galette/index.php on line 42 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: require_once(WEB_ROOTincludes/picture.class.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 42 [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Fatal error: require_once(): Failed opening required
Re: [Galette-discussion] pb installation impossible
bernard a écrit : Les lignes indiquaient un Pb dans la définition du chemin pour config.inc.php en effet il y a un bug dans le fichier et j'ai changé cette ligne ligne 36 include(WEB_ROOT.includes/config.inc.php); suite à cela, je n'avais plus de message d'erreur dans /var/log/apach2/error_log, mais TPUJOURS mon problème de droits sur /photos, /cache, /tempimage ... (ècran 3) j'ai donc modifié les droits de 755 en 777 C'est donc bien ce que je disais, il s'agit d'un problème d'owner. 777 sur des répertoires web n'est pas une bonne idée. cette fois tout passe au vert et la procédure vas au bout. vérification faite j'ai 12 table dans ma base suppression install et.. j'essaie donc la connexion et là encore un ècran blanc !!! erro_log me donne cette fois ci les messages suivant [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(WEB_ROOTincludes/config.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 36 il semble que ce soit un pb de lib php5 ?? Non, il ne trouve pas le fichier config.inc.php, comme indiqué au début du log. merci pour l'aide Bonne soirée, Johan signature.asc Description: OpenPGP digital signature ___ Galette-discussion mailing list Galette-discussion@gna.org https://mail.gna.org/listinfo/galette-discussion
Re: [Galette-discussion] pb installation impossible
Johan Cwiklinski a écrit : bernard a écrit : Les lignes indiquaient un Pb dans la définition du chemin pour config.inc.php en effet il y a un bug dans le fichier et j'ai changé cette ligne ligne 36 include(WEB_ROOT.includes/config.inc.php); suite à cela, je n'avais plus de message d'erreur dans /var/log/apach2/error_log, mais TPUJOURS mon problème de droits sur /photos, /cache, /tempimage ... (ècran 3) j'ai donc modifié les droits de 755 en 777 C'est donc bien ce que je disais, il s'agit d'un problème d'owner. 777 sur des répertoires web n'est pas une bonne idée. Vous ne pouvez pas dire cela, avec les droits 755 cela ne FONCTIONNE pas, il a fallu mettre 777 ce qui est bien souvent le cas pour les programme en php (npds, spip etc ..). de toute façon je verrais ce problème lors de la mise en production, en tout état de cause le message de l'installation n'est pas correct Ensuite, je voudrais que vous teniez compte du fait que index.php à la ligne 36 était include(includes/config.inc.php); au lieu de include(WEB_ROOT.includes/config.inc.php); cette fois tout passe au vert et la procédure vas au bout. vérification faite j'ai 12 table dans ma base suppression install et.. j'essaie donc la connexion et là encore un ècran blanc !!! erro_log me donne cette fois ci les messages suivant [Wed Oct 29 17:15:30 2008] [error] [client 192.168.1.102] PHP Warning: include(WEB_ROOTincludes/config.inc.php): failed to open stream: No such file or directory in /srv/www/htdocs/galette/index.php on line 36 il semble que ce soit un pb de lib php5 ?? Non, il ne trouve pas le fichier config.inc.php, comme indiqué au début du log. Oui et non, il n'y avait pas PEAR installé, je l'ai donc fait ensuite effectivement, il ne trouve pas config.inc.php or ce fichier existe est en chmod 644 et a été utilisé lors de l'installation donc ??? n'est ce pas parce que la variable web-root ne serait pas définie ? merci pour l'aide Bonne soirée, Johan si je poste avec mon autre login cela ne passe pas ? Bernard ___ Galette-discussion mailing list Galette-discussion@gna.org https://mail.gna.org/listinfo/galette-discussion