Menu

#151 Message d'erreur affichage des Actes

10.00-01
closed
Barbu32
2016-06-21
2015-11-21
Manirac
No

contexte

Sur une base ne contenant aucun sacrement, cliquez sur l'icône "Actes" après s'être logué.

Erreur

Les message d'erreur suivant s'affiche :
ERREUR GENERALE : (SELECT IDSacrement,NoActe,DateSacrement,IDTypeSacrement,LibelleTypeSacrement,p_personne.IDPersonne,NomTitre,NomPerso,Prenom,IDFoyer,NomFoyer,NumTelFoyer,NumeroCodePostal,NomCodePostal,ClNomFoyer,ClDomaineFoyer,Lieu,NumTelFoyer, ClPersoNom, ClPersoDomaine, TelMobile FROM m_sacrement INNER JOIN f_typesacrement USING (IDTypeSacrement)INNER JOIN p_personne USING (IDPersonne)INNER JOIN r_typeaffiliation USING (IDPersonne) INNER JOIN p_foyer USING (IDFoyer) INNER JOIN p_adresse USING (IDAdresse) INNER JOIN p_codepostal USING (IDCodePostal) INNER JOIN f_titre USING (IDTitre) WHERE IDTypeSacrement IN (1,5,11) AND YEAR(DateSacrement) IN ()) UNION (SELECT IDSacrement,NoActe,DateSacrement,IDTypeSacrement,LibelleTypeSacrement,p_personne.IDPersonne,NomTitre,NomPerso,Prenom,IDFoyer,NomFoyer,NumTelFoyer,NumeroCodePostal,NomCodePostal,ClNomFoyer,ClDomaineFoyer,Lieu,NumTelFoyer, ClPersoNom, ClPersoDomaine, TelMobile FROM m_sacrement INNER JOIN f_typesacrement USING (IDTypeSacrement)INNER JOIN p_personne ON (IDMariee = p_personne.IDPersonne)INNER JOIN r_typeaffiliation ON (IDMariee = r_typeaffiliation.IDPersonne)INNER JOIN p_foyer USING (IDFoyer) INNER JOIN p_adresse USING (IDAdresse) INNER JOIN p_codepostal USING (IDCodePostal) INNER JOIN f_titre USING (IDTitre) WHERE IDMariee IS NOT NULL AND IDTypeSacrement IN (1,5,11) AND YEAR(DateSacrement) IN ()) ORDER BY NomFoyer,IDFoyer,Prenom - Erreur Execution du Query : - 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) UNION (SELECT IDSacrement,NoActe,DateSacrement,IDTypeSacrement,LibelleTypeSac' at line 1
fichier : /share/HDA_DATA/Web/paroissestjosephv2/archives/php/shared/services/class.databasei.php - Ligne : 899
Trace : #0 /share/HDA_DATA/Web/paroissestjosephv2/archives/html/rrec.php(267): querymysqli->__construct('(SELECT IDSacre...', Object(basemysqli)) #1 /share/HDA_DATA/Web/paroissestjosephv2/archives/html/rrec.php(40): rrec->setCount() #2 {main}

Résultat attendu

On doit obtenir un message propre dans le style "il n'y a actuellement aucun actes stocké dans votre base"

Discussion

  • Manirac

    Manirac - 2016-06-21

    Non reproduit en versionn11.20-01.
    Le message 'aucun acte n'est encore enregistré' apparait.

     
  • Manirac

    Manirac - 2016-06-21
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB