Bonjour à tous
Eldy , à l'execution de la commande proposée, j'obitiens :
Failed to execute SQL : SQL delete from llx_commande where
ref='' or ref is null; failed : Cannot
delete or update a parent row: a foreign key constraint fails
(`dolibarr/llx_commandedet`, CONSTRAINT `fk_commandedet_fk_commande`
FOREIGN KEY (`fk_commande`) REFERENCES `llx_commande` (`rowid`))
Eldy a écrit :
Essaie
la manipulation suivante:
delete from llx_commande where ref='' or ref is null;
sous mysql.
Puis réessaie de crée ta commande
[ATNObUG] J-Y. Weirauch wrote:
Bonjour à tous,
le problème commençant à être bloquant, je me permet de remonter à
nouveau ce post :
Je rencontre un problème dans la version 2.2 de Dolibarr
Il me semble vous l'avoir déjà soumis, mais je ne retrouve pas la
solution.
Qaund je souhaite créer une commande , j'obtiens l'erreur suivante :
Dolibarr a détecté une erreur technique.
Voici les informations qui pourront aider au diagnostic:
*Server:* Apache/2.2.3 (Debian) PHP/5.2.0-8+etch10
*Dolibarr:* 2.2
*Url sollicitée:* /dolibarr/htdocs/commande/fiche.php
*QUERY_STRING:*
*Referer:*
http://10.1.1.203/dolibarr/htdocs/commande/fiche.php?socid=13&action="">
*Type gestionnaire de base de donnée:* mysql
*Requete dernier acces en base en erreur:* INSERT INTO llx_commande
(fk_soc, date_creation, fk_user_author, fk_projet, date_commande,
source, note, note_public, ref_client, model_pdf, fk_cond_reglement,
fk_mode_reglement, date_livraison, fk_adresse_livraison,
remise_absolue, remise_percent) VALUES (13, now(), 2, 0,
20080212120000, 0, '', '', '', 'einstein', '1', '1', '20080214120000',
'0', '', '0')
*Code retour dernier acces en base:* DB_ERROR_RECORD_ALREADY_EXISTS
*Information sur le dernier accès en base:* Duplicata du champ '' pour
la clef 2
*Warning*: Cannot modify header information - headers already sent by
(output started at /var/www/dolibarr/htdocs/lib/functions.inc.php:1654)
in */var/www/dolibarr/htdocs/main.inc.php* on line *687
*
Merci d'avance pour vos lumieres
Jean-Yves
------------------------------------------------------------------------
_______________________________________________
Dolibarr-user mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/dolibarr-user
|