[Obm] obm et PHP5
Cyril Chaboisseau
cyril.chaboisseau@free.fr
Thu, 23 Mar 2006 01:18:19 +0100
Bonjour,
j'utilise OBM depuis un moment et je tente de l'installer avec PHP5
tout semble bien se passer mais à la création de la list (script pgsql)
j'ai les erreurs suivantes :
--%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<---
[cyril@adren /var/www/obm/scripts/1.1]$ ./install_obmdb_1.1.pgsql.sh
[...]
INSERT 0 1
INSERT 0 1
INSERT 0 1
*** Data checking and validation
Update calculated values
X-Powered-By: PHP/5.1.2-1
Content-type: text/html
<br />
<b>Warning</b>: include(.:/var/www/obm/global.inc) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/obm/php/admin_data/admin_data_index.php</b> on line <b>25</b><br />
<br />
<b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening '.:/var/www/obm/global.inc' for inclusion (include_path='.:/php/includes:/var/www/obm') in <b>/var/www/obm/php/admin_data/admin_data_index.php</b> on line <b>25</b><br />
<br />
<b>Warning</b>: include(.:/var/www/obm/global_pref.inc) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/obm/php/admin_data/admin_data_index.php</b> on line <b>41</b><br />
<br />
<b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening '.:/var/www/obm/global_pref.inc' for inclusion (include_path='.:/php/includes:/var/www/obm') in <b>/var/www/obm/php/admin_data/admin_data_index.php</b> on line <b>41</b><br />
-a -> $action=data_update
<br />
<b>Fatal error</b>: Call to undefined function display_debug_msg() in <b>/var/www/obm/php/admin_data/admin_data_query.inc</b> on line <b>26</b><br />
Update phonetics and approximative searches
X-Powered-By: PHP/5.1.2-1
Content-type: text/html
<br />
<b>Warning</b>: include(.:/var/www/obm/global.inc) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/obm/php/admin_data/admin_data_index.php</b> on line <b>25</b><br />
<br />
<b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening '.:/var/www/obm/global.inc' for inclusion (include_path='.:/php/includes:/var/www/obm') in <b>/var/www/obm/php/admin_data/admin_data_index.php</b> on line <b>25</b><br />
<br />
<b>Warning</b>: include(.:/var/www/obm/global_pref.inc) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in <b>/var/www/obm/php/admin_data/admin_data_index.php</b> on line <b>41</b><br />
<br />
<b>Warning</b>: include() [<a href='function.include'>function.include</a>]: Failed opening '.:/var/www/obm/global_pref.inc' for inclusion (include_path='.:/php/includes:/var/www/obm') in <b>/var/www/obm/php/admin_data/admin_data_index.php</b> on line <b>41</b><br />
-a -> $action=sound_aka_update
<br />
<b>Fatal error</b>: Call to undefined function display_debug_msg() in <b>/var/www/obm/php/admin_data/admin_data_query.inc</b> on line <b>26</b><br />
--%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<-----%<---
et pourtant j'ai mis comme c'est indiqué dans la documentation la ligne
suivante :
include_path = ".:/php/includes:/var/www/jl4"
dans le fichier /etc/php5/cgi/php.ini
aurai-je oublié qque chose ?
sinon, une dernière question :
est-il possible de définir un utilisateur par défaut afin de ne pas
avoir à se connecter ?
(i.e. accès anonyme sans login)
merci
--
Cyril Chaboisseau