-
alexandre
-
- Hors ligne
-
Fresh Boarder
-
- Message: 2
-
Karma: 0
-
|
Bonjour,
Alors lors d'un clonage d'une Propal, Dolibarr me retourne l'erreur suivante
Dolibarr a détecté une erreur technique. Voici les informations qui pourront aider au diagnostic: Date: 20100831182804 Dolibarr: 2.9.0 Niveau de fonctionnalités: 0 PHP: 5.2.6-1+lenny9 Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0 Url sollicitée: /comm/propal.php?id=691 Referer: http://dolibarr.enteis.fr/comm/propal.php?id=691&action=clone&object=propal Gestionnaire de menu: eldy_backoffice.php/eldy_backoffice.php Type gestionnaire de base de données: mysql Requête dernier accès en base en erreur: INSERT INTO llx_propaldet (fk_propal, description, fk_product, product_type, fk_remise_except, qty, tva_tx, localtax1_tx, localtax2_tx, subprice, remise_percent, info_bits, total_ht, total_tva, total_localtax1, total_localtax2, total_ttc, marge_tx, marque_tx, special_code, rang) VALUES (715, 'ONDULEUR APC ON LINE 3000VA Rackable', 'HT', '0', null, 1, 19.6, , 0, 1850, 0, '0', 1850, 362.6, 0, 0, 2212.6, null, null, 0, 1) Code retour dernier accès en base en erreur: DB_ERROR_SYNTAX Information sur le dernier accès en base en erreur: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 0, 1850, 0, '0', 1850, 362.6, 0, 0, 2212.6, null, null, 0, 1)' at line 1 Warning: Cannot modify header information - headers already sent by (output started at /home/ovh/dolibarr/htdocs/lib/functions.lib.php:1963) in /home/ovh/dolibarr/htdocs/comm/propal.php on line 99
L'erreur est très simple mais malgré quelques recherches je ne trouve pas la solution:
Vous pourrez remarquer dans la commande SQL :
INSERT INTO llx_propaldet (fk_propal, description, fk_product, product_type, fk_remise_except, qty, tva_tx, localtax1_tx, localtax2_tx, subprice, remise_percent, info_bits, total_ht, total_tva, total_localtax1, total_localtax2, total_ttc, marge_tx, marque_tx, special_code, rang) VALUES (715, 'ma description', 'HT', '0', null, 1, 19.6, , 0, 1850, 0, '0', 1850, 362.6, 0, 0, 2212.6, null, null, 0, 1)
qu'il manque la valeur pour le champ localtax1_tx
Merci de m'indiquer si cette erreur surviens seulement à cause de la mise à jour de Dolibarr que j'ai faite il y a quelques semaines ou si cela est plus général?
Merci pour votre aide.
Alexandre.
|