[Obm] Re: Installation OBM 1.1.3 Mandriva Free 2006
Rande Mehdi
mehdi.rande@aliacom.fr
Tue, 20 Jun 2006 14:51:16 +0200
On Tue, 2006-06-20 at 12:04 +0200, Jimmy Goudin wrote:
> Bonjour,
>
> Aujourd'hui, j'ai un message d'erreur une fois connecté à OBM :
>
> Fatal error: Cannot use string offset as an array
> in /var/www/obm-1.1.3/obminclude/of/of_display.inc on line 1083
>
> Une idée?
> Goudin Jimmy
Vous utilisez php 5, obm dans la version 1.1.x ne fonctionne pas encore
avec php5 (la 1.2 devrait regler ce problème).
Je pense que rajoutez les lignes suivantes :
$last_v = array();
$todos = array();
en haut de votre fichier obminclude/obm_conf.inc devrait regler ce
problème mais je ne peux garantir que vous n'en rencontrerez pas d'autre
si vous restez sous php5
HTH
Mehdi Rande
>
> 2006/6/19, Jimmy Goudin <jimmy.goudin@gmail.com>:
> Bonjour,
>
> J'écris ici afin de faire mon petit compte rendu de
> l'installation d'OBM 1.1.3 sur la Mandriva Free 2006
>
> Par avance je précise que j'ai installer les package pour le
> serveur Apache et Mysql ainsi que pour PHP.
> Package installé (je ne vous met que les principaux qui nous
> interessent) :
> - apache-base-2.0.54-13mdk
> - apache-conf-2.0.54-12mdk
> - apache-mod_php-2.0.54_5.0.4-4mdk
> - apache-modules-2.0.54-13mdk
> - libc-client-php0-2004e-1mdk
> - libphp5_common5-5.0.4-9mdk
> - php-cgi-5.0.4-9mdk (pas présent de base, j'ai téléchargé le
> rpm sinon on a le message "can't find php interpreter" lors de
> l'éxécution du .sh de l'install)
> - php-ini-5.0.4-4mdk
> - php-mysql-5.0.4-1mdk
> - libmysql14-4.1.12-3mdk
> - mysql-4.1.12-3mdk
> - mysql-client-4.1.12-3mdk
> - mysql-common-4.1.12-3mdk
>
>
> J'ai fait tout les changements et configuration necessaire
> dans PHP.ini et Httpd.conf
> Je me connecte bien en localhost, j'ai la page de login avec
> les images.
> Cependant lorsque je rentre avec un utilisateur et mot de
> passe, j'ai une page blanche au lieu d'avoir la page
> d'acceuil.
>
> Merci de vos lumière. Peut être que celà vient de PHP 5
> Jimmy Goudin
>
>
> Je vous joins le Log de l'install du .sh:
>
> /usr/bin/php-cgi : PHP interpreter found
> ln: `../../obminclude/Artichow/Artichow-1.06-php4+5': fichier
> existant.
> *** Document repository creation
> PHP Warning: Module 'mysql' already loaded in Unknown on line
> 0
> PHP Notice: Undefined variable: path
> in /var/www/obm-1.1.3/obminclude/global.inc on line 205
> PHP Notice: Undefined variable: path
> in /var/www/obm-1.1.3/obminclude/global.inc on line 206
> PHP Notice: Undefined variable: path in /var/www/obm-
> 1.1.3/obminclude/global.inc on line 207
> PHP Notice: Undefined variable: path
> in /var/www/obm-1.1.3/obminclude/global.inc on line 208
> PHP Notice: Undefined variable: path
> in /var/www/obm-1.1.3/obminclude/global.inc on line 209
> PHP Notice: Constant C_IMAGE_PATH already defined
> in /var/www/obm-1.1.3/obminclude/global.inc on line 246
> PHP Notice: Undefined variable: module
> in /var/www/obm-1.1.3/obminclude/global.inc on line 247
> PHP Notice: Undefined index: in /var/www/obm-
> 1.1.3/obminclude/global.inc on line 247
> PHP Notice: Undefined variable: cgp_hide
> in /var/www/obm-1.1.3/obminclude/global.inc on line 280
> PHP Notice: Undefined variable: cgp_hide
> in /var/www/obm-1.1.3/obminclude/global.inc on line 286
> PHP Notice: Undefined variable: cgp_hide
> in /var/www/obm-1.1.3/obminclude/global.inc on line 292
> PHP Notice: Undefined variable: path
> in /var/www/obm-1.1.3/obminclude/global.inc on line 432
> PHP Notice: Undefined variable: module in /var/www/obm-
> 1.1.3/obminclude/global.inc on line 433
> PHP Notice: Undefined variable: ret
> in /var/www/obm-1.1.3/php/admin_data/admin_data_query.inc on
> line 288
> PHP Notice: Undefined variable: ret
> in /var/www/obm-1.1.3/php/admin_data/admin_data_query.inc on
> line 288
> PHP Warning: mkdir() [<a
> href='function.mkdir'>function.mkdir</a>]: SAFE MODE
> Restriction in effect. The script whose uid is 73 is not
> allowed to access /var/www/obmdocuments owned by uid 0
> in /var/www/obm- 1.1.3/scripts/1.1/install_document_1.1.php on
> line 51
> Content-type: text/html
> X-Powered-By: PHP/5.0.4
>
> Error creating the storage
> directory : /var/www/obmdocuments/0 !
> 1
> *** Database creation
> Delete old database if exists
> Create new obm database
> Create new obm database model
> *** Database filling
> Dictionnary data insertion
> Company Naf Code data insertion
> Test data insertion
> Default preferences data insertion
> *** Data checking and validation
> Update calculated values
> PHP Warning: Module 'mysql' already loaded in Unknown on line
> 0
> PHP Notice: Constant C_IMAGE_PATH already defined
> in /var/www/obm-1.1.3/obminclude/global.inc on line 246
> PHP Notice: Undefined variable: cgp_hide
> in /var/www/obm-1.1.3/obminclude/global.inc on line 280
> PHP Notice: Undefined variable: cgp_hide in /var/www/obm-
> 1.1.3/obminclude/global.inc on line 286
> PHP Notice: Undefined variable: cgp_hide
> in /var/www/obm-1.1.3/obminclude/global.inc on line 292
> PHP Notice: Undefined variable: mode
> in /var/www/obm-1.1.3/php/admin_data/admin_data_index.php on
> line 37
> PHP Notice: Undefined variable: set_lang
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 16
> PHP Notice: Undefined variable: set_debug
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 27
> PHP Notice: Undefined variable: cda_dmy in /var/www/obm-
> 1.1.3/obminclude/global_pref.inc on line 48
> PHP Notice: Undefined variable: set_lang
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 54
> PHP Notice: Undefined variable: set_theme
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 55
> PHP Notice: Undefined variable: set_menu
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 56
> PHP Notice: Undefined variable: set_display
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 57
> PHP Notice: Undefined variable: set_rows in /var/www/obm-
> 1.1.3/obminclude/global_pref.inc on line 58
> PHP Notice: Undefined variable: set_date_upd
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 60
> PHP Notice: Undefined variable: set_date
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 61
> PHP Notice: Undefined variable: set_commentorder
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 62
> PHP Notice: Undefined variable: set_debug
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 63
> PHP Notice: Undefined variable: set_cal_interval
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 64
> PHP Notice: Undefined variable: cgp_site_include
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 88
> PHP Notice: Undefined variable: cgp_site_include
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 109
> PHP Notice: Undefined index: right
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined index: right in /var/www/obm-
> 1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined index: right
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined index: right
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined index: right
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined variable: argv
> in /var/www/obm-1.1.3/php/admin_data/admin_data_index.php on
> line 42
> PHP Warning: next() [<a href='
> function.next'>function.next</a>]: Passed variable is not an
> array or object
> in /var/www/obm-1.1.3/php/admin_data/admin_data_index.php on
> line 128
> PHP Warning: Variable passed to each() is not an array or
> object in /var/www/obm-
> 1.1.3/php/admin_data/admin_data_index.php on line 129
> PHP Notice: Use of undefined constant end - assumed 'end'
> in /var/www/obm-1.1.3/php/admin_data/admin_data_index.php on
> line 43
> Content-type: text/html
> X-Powered-By: PHP/5.0.4
>
>
> ------------------------------------------------------------------------------
> *** Company : 2 to parse
> ------------------------------------------------------------------------------
>
> Company (id=1) : Contact (0, 1) : Deal (0, 0) : Deal total (0,
> 0)
> ------------------------------------------------------------------------------
> *** Company : 2 to parse, 1 inconsistencies
> ------------------------------------------------------------------------------
> bye...
> Update phonetics and approximative searches
> PHP Warning: Module 'mysql' already loaded in Unknown on line
> 0
> PHP Notice: Constant C_IMAGE_PATH already defined
> in /var/www/obm-1.1.3/obminclude/global.inc on line 246
> PHP Notice: Undefined variable: cgp_hide
> in /var/www/obm-1.1.3/obminclude/global.inc on line 280
> PHP Notice: Undefined variable: cgp_hide
> in /var/www/obm-1.1.3/obminclude/global.inc on line 286
> PHP Notice: Undefined variable: cgp_hide in /var/www/obm-
> 1.1.3/obminclude/global.inc on line 292
> PHP Notice: Undefined variable: mode
> in /var/www/obm-1.1.3/php/admin_data/admin_data_index.php on
> line 37
> PHP Notice: Undefined variable: set_lang
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 16
> PHP Notice: Undefined variable: set_debug
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 27
> PHP Notice: Undefined variable: cda_dmy
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 48
> PHP Notice: Undefined variable: set_lang in /var/www/obm-
> 1.1.3/obminclude/global_pref.inc on line 54
> PHP Notice: Undefined variable: set_theme
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 55
> PHP Notice: Undefined variable: set_menu
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 56
> PHP Notice: Undefined variable: set_display
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 57
> PHP Notice: Undefined variable: set_rows
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 58
> PHP Notice: Undefined variable: set_date_upd in /var/www/obm-
> 1.1.3/obminclude/global_pref.inc on line 60
> PHP Notice: Undefined variable: set_date
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 61
> PHP Notice: Undefined variable: set_commentorder
> in /var/www/obm-1.1.3 /obminclude/global_pref.inc on line 62
> PHP Notice: Undefined variable: set_debug
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 63
> PHP Notice: Undefined variable: set_cal_interval
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 64
> PHP Notice: Undefined variable: cgp_site_include
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 88
> PHP Notice: Undefined variable: cgp_site_include
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 109
> PHP Notice: Undefined index: right
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined index: right
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined index: right in /var/www/obm-
> 1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined index: right
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined index: right
> in /var/www/obm-1.1.3/obminclude/global_pref.inc on line 135
> PHP Notice: Undefined variable: argv
> in /var/www/obm-1.1.3/php/admin_data/admin_data_index.php on
> line 42
> PHP Warning: next() [<a
> href='function.next'>function.next</a>]: Passed variable is
> not an array or object in /var/www/obm-
> 1.1.3/php/admin_data/admin_data_index.php on line 128
> PHP Warning: Variable passed to each() is not an array or
> object
> in /var/www/obm-1.1.3/php/admin_data/admin_data_index.php on
> line 129
> PHP Notice: Use of undefined constant end - assumed 'end'
> in /var/www/obm- 1.1.3/php/admin_data/admin_data_index.php on
> line 43
> Content-type: text/html
> X-Powered-By: PHP/5.0.4
>
>
> ------------------------------------------------------------------------------
> *** Company : 2 to parse
> ------------------------------------------------------------------------------
>
> Company (id=1) : Contact (0, 1) : Deal (0, 0) : Deal total (0,
> 0)
> ------------------------------------------------------------------------------
> *** Company : 2 to parse, 1 inconsistencies
> ------------------------------------------------------------------------------
> bye...
>
>
>
>
>
>
>
>
--
Mehdi Rande - mehdi.rande@aliacom.fr
ALIACOM - www.aliacom.fr -
Toulouse : 05 62 19 24 91 - Paris : 01 48 25 53 13