phpcompta-support
[Top][All Lists]
Advanced

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

RE: [Phpcompta-support] problème installation - Pa tching (BE) Basique f


From: Hervé Doyen
Subject: RE: [Phpcompta-support] problème installation - Pa tching (BE) Basique from the version 12 to 13 - "q uant_sold" does not exist
Date: Tue, 29 Mar 2011 16:57:40 +0200

Ok,

 

Merci pour ton aide Dany,

Après avoir vidé la table modeldef, le login me renvoi sur la mise à jour qui donne ceci :

 

Info

Vous utilisez le domaine

Php setting

magic_quotes_gpc: Ok
magic_quotes_runtime: Ok
module PGSQL ok
module BCMATH ok
module GETTEXT ok
module ZIP ok
include_path : ok (.:../../include:../include:addon)

php.ini est bien configuré

Database version

string(6) "8.3.13"

Database Setting

La base de données est bien configurée

Félicitation : Installation réussie


Mise a jour du systeme

Mise à jour dossier


Mise à jour modèle


Mise à jour Repository

begin;


delete from jnt_use_dos where use_id not in (select use_id from ac_users);



delete from jnt_use_dos where dos_id not in (select dos_id from ac_dossier);



alter table jnt_use_dos add CONSTRAINT jnt_use_dos_dos_id_fkey FOREIGN KEY (dos_id)
REFERENCES ac_dossier (dos_id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE CASCADE;
alter table jnt_use_dos add CONSTRAINT jnt_use_dos_dos_id_fkey FOREIGN KEY (dos_id) REFERENCES ac_dossier (dos_id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE SQL ERROR alter table jnt_use_dos add CONSTRAINT jnt_use_dos_dos_id_fkey FOREIGN KEY (dos_id) REFERENCES ac_dossier (dos_id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE ArrayERROR: there is no unique constraint matching given keys for referenced table "ac_dossier"
Fatal error: Uncaught exception 'Exception' with message ' SQL ERROR alter table jnt_use_dos add CONSTRAINT jnt_use_dos_dos_id_fkey FOREIGN KEY (dos_id) REFERENCES ac_dossier (dos_id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE ' in /www/phpcompta/include/class_database.php:137 Stack trace: #0 /www/phpcompta/include/class_database.php(288): Database->exec_sql('?alter table jn...') #1 /www/phpcompta/html/admin/setup.php(430): Database->execute_script('sql/patch/ac-up...') #2 {main} thrown in /www/phpcompta/include/class_database.php on line 137

 


De : address@hidden [mailto:address@hidden De la part de Dany DeBontridder
Envoyé : mardi 29 mars 2011 16:05
À : address@hidden
Objet : Re: [Phpcompta-support] problème installation - Patching (BE) Basique from the version 12 to 13 - "quant_sold" does not exist

 

 

2011/3/29 Hervé Doyen <address@hidden>

Bonjour,

 

Je coince dans l’installation de phpcompta sur un debian squeeze (linux 6.0)

(...)

Ensuite, ça coince étant donné que la base de données ‘mod1’ n’existe pas.  Soit, je l’ai créée via phppgadmin, accessible via le même user ‘admin’ que j’ai créé, je relance le script et là :


Je me demande pourquoi MOD1 n'est pas créé. Cela dit, il y a une solution plus simple.

a) se connecter avec phpPgAdmin sur account_repository
b) vider la table modeldef


Le problème ne se posera plus, ensuite, tu vas sur le site et tu télécharges un modèle de ton choix, tu le décompresses et tu le restaures avec Administration -> restaure -> modèle

 

Le problème sera règlé, je me demande pourquoi la db mod1 & et mod2 n'ont pas été créé automatiquement


Tiens moi au courant

@+

.D


reply via email to

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