problème installation 5.1

Recoupe toutes les discussions à propos de Noalyss
roland
Messages : 86
Inscription : mar. nov. 14, 2017 11:35 pm

problème installation 5.1

Message par roland »

Bonjour;

Voici l\'erreur :
Warning: pg_query() [function.pg-query]: Query failed: ERREUR: une clé dupliquée rompt la contrainte unique « pk_user_global_pref » in /home/roland/phpcompta/include/class_database.php on line 104
insert into user_global_pref(user_id,parameter_type,parameter_value ) select use_login,\'LANG\',\'fr_FR.utf8\' from ac_users SQL ERROR insert into user_global_pref(user_id,parameter_type,parameter_value ) select use_login,\'LANG\',\'fr_FR.utf8\' from ac_users Array


Fatal error: Uncaught exception \'Exception\' with message \' SQL ERROR insert into user_global_pref(user_id,parameter_type,parameter_value ) select use_login,\'LANG\',\'fr_FR.utf8\' from ac_users \' in /home/roland/phpcompta/include/class_database.php:108 Stack trace: #0 /home/roland/phpcompta/include/class_database.php(237): Database->exec_sql(\'insert into use...\') #1 /home/roland/phpcompta/html/admin/setup.php(419): Database->execute_script(\'sql/patch/ac-up...\') #2 {main} thrown in /home/roland/phpcompta/include/class_database.php on line 108

Une idée ?

Merci
Dany
Messages : 2181
Inscription : mar. nov. 14, 2017 11:35 pm

Re:problème installation 5.1

Message par Dany »

oui ce n\'est rien, il faut juste faire ceci (sous linux)

Code : Tout sélectionner


psql -U phpcompta account_repository
delete from user_global_pref where parameter_type=\'fr_FR.utf8\';
\\q
roland
Messages : 86
Inscription : mar. nov. 14, 2017 11:35 pm

Re:problème installation 5.1

Message par roland »

Problème résolu pour l\'installation.
Attention, lors de l\'encodage des factures d\'achats, la sélection d\'une fiche dans la zone détail ne complète plus la zone \"tva\" automatiquement.

Roland
roland
Messages : 86
Inscription : mar. nov. 14, 2017 11:35 pm

Re:problème installation 5.1

Message par roland »

Problème résolu. Pardon

Roland
Répondre