phpcompta-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-support] Problème lors de la mise à jour de la version 4.0 à


From: Émile CARRY
Subject: [Phpcompta-support] Problème lors de la mise à jour de la version 4.0 à la version 4.3
Date: Wed, 04 Mar 2009 11:07:30 +0100
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Bonjour,

Je me suis lancé ce matin dans la mise à jour de mon phpcomta de la version 4.0 à 4.3.

J'ai téléchargé la dernier version phpcompta-4.3-build-2369 et je suis allé sur la page de setup. Tout c'est bien passé jusqu'à la mise à jour de la base de la version 54 à 55 :

Patching Demo from the version 54 to 55
ERROR : create or replace function fiche_attribut_synchro (p_fd_id fiche_def.fd_id%TYPE) returns void as $BODY$ declare -- this sql gives the f_id and the missing attribute (ad_id) list_missing cursor for select f_id,fd_id,ad_id,jnt_order from jnt_fic_attr join fiche as A using (fd_id) where fd_id=p_fd_id and ad_id not in (select ad_id from fiche join jnt_fic_att_value using (f_id) where fd_id=jnt_fic_attr.fd_id and A.f_id=f_id); rec record; -- value of the last insert jnt jnt_fic_att_value%ROWTYPE; begin open list_missing; loop fetch list_missing into rec; IF NOT FOUND then exit; end if; -- insert a value into jnt_fic_att_value insert into jnt_fic_att_value (f_id,ad_id) values (rec.f_id,rec.ad_id) returning * into jnt; -- now we insert into attr_value insert into attr_value values (jnt.jft_id,''); end loop; close list_missing; end; $BODY$ language plpgsql;

Pour info, je suis sur une debian etch (oui, j'y vais doucement pour le passage à lenny) avec postgresql version 8.1.15-0etch1 et php version 5.2.0-8+etch13.

Est-ce que c'est grave docteur?

mil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]