dolibarr-dev
[Top][All Lists]
Advanced

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

[Dolibarr-dev] [bug #13836] Problème ajou t dept/canton


From: Régis Houssin
Subject: [Dolibarr-dev] [bug #13836] Problème ajou t dept/canton
Date: Mon, 18 Jul 2005 14:27:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13836>

                 Summary: Problème ajout dept/canton
                 Project: Dolibarr
            Submitted by: hregis
            Submitted on: lun 18.07.2005 à 14:27
                Severity: 2 - Minor
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 2.0.0-alpha2
        Platform Version: GNU/Linux

    _______________________________________________________

Details:

Lorsque l'on veut ajouter un dept/canton on a le message suivant:

Dolibarr a détecté une erreur technique.
Voici les informations qui pourront aider au diagnostique:

Server: Apache/2.0.52 (Unix) mod_perl/1.99_17 Perl/v5.8.4 mod_ssl/2.0.52
OpenSSL/0.9.7d PHP/4.3.10 DAV/2
URL sollicitée: /dolibarr/htdocs/admin/dict.php
QUERY_STRING:
Referer: http://localhost/dolibarr/htdocs/admin/dict.php?id=2

Requete dernier acces en base: INSERT INTO llx_c_departements
(code_departement,nom,fk_region,active) VALUES('401','Vaud','301','6',1)
Code retour dernier acces en base: DB_ERROR_VALUE_COUNT_ON_ROW
Information sur le dernier accès en base: Column count doesn't match value
count at row 1

Une solution serait de ne pas mettre de pays puisque les cantons sont de toute
manière classés par pays ...
SOLUTION:
/dolibarr/htdocs/admin/dict.php - ligne 96
$tabfield[2] = "code,libelle,region"; // "code,libelle,region,pays"

problème trouvé sur le forum par YBE
Régis






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13836>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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