i found this error my db fieldname in french language thats why this happen?can you solve?
i found this error my db fieldname in french language thats why this happen?can you solve?
chandra@123
Posts: 7Questions: 1Answers: 0
{
"fieldErrors": [],
"error": "An SQL error occurred: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined",
"data": [],
"ipOpts": [],
"cancelled": [],
"debug": [{
"query": "SELECT `Cl\u00e9_Affili\u00e9` as 'Cl\u00e9_Affili\u00e9' FROM `affilie` WHERE `Cl\u00e9_Affili\u00e9` = :where_0 ",
"bindings": [{
"name": ":where_0",
"value": "11328",
"type": null
}]
}, {
"query": "UPDATE `affilie` SET `Cl\u00e9` = :Cl\u00e9, `status` = :status, `social_status` = :social_status, `Nom_Affili\u00e9` = :Nom_Affili\u00e9, `Pr\u00e9nom_Affili\u00e9` = :Pr\u00e9nom_Affili\u00e9, `Date_de_d\u00e9c\u00e8s` = :Date_de_d\u00e9c\u00e8s, `Date_du_diagnostic` = :Date_du_diagnostic, `Courriel` = :Courriel, `Naissance_Affili\u00e9` = :Naissance_Affili\u00e9, `T\u00e9l\u00e9phone_Affili\u00e9` = :T\u00e9l\u00e9phone_Affili\u00e9, `Institution_Affili\u00e9` = :Institution_Affili\u00e9, `Adresse_Affili\u00e9` = :Adresse_Affili\u00e9, `Institution_Affili\u00e9_envoi` = :Institution_Affili\u00e9_envoi, `GSM_ou_autre_tel` = :GSM_ou_autre_tel, `Adresse_envoi` = :Adresse_envoi, `Code_handicap` = :Code_handicap, `M\u00e9mo` = :M\u00e9mo, `Nbre_enfants_\u00e0_charge` = :Nbre_enfants_\u00e0_charge, `Sylvie` = :Sylvie, `Cl\u00e9_Province` = :Cl\u00e9_Province, `Cl\u00e9_Code_Postal` = :Cl\u00e9_Code_Postal, `CP_envoi` = :CP_envoi, `Cl\u00e9_Assistante_Sociale` = :Cl\u00e9_Assistante_Sociale, `Cl\u00e9_situation_familiale` = :Cl\u00e9_situation_familiale, `Cl\u00e9_Etat_Civil` = :Cl\u00e9_Etat_Civil, `Inactif-Obselete` = :Inactif_2_Obselete, `BIM` = :BIM, `Pas_Invitation` = :Pas_Invitation, `Plus_de_contact` = :Plus_de_contact, `Pas_de_courriers` = :Pas_de_courriers, `Gratuit_Aff` = :Gratuit_Aff, `RGPD` = :RGPD, `VOLONTAIRE` = :VOLONTAIRE, `LaClef` = :LaClef, `Nouveau` = :Nouveau, `Prob_adresse` = :Prob_adresse, `IM` = :IM WHERE `Cl\u00e9_Affili\u00e9` = :where_0 ",
"bindings": [{
"name": ":Cl\u00e9",
"value": "57",
"type": null
}, {
"name": ":status",
"value": "N",
"type": null
}, {
"name": ":social_status",
"value": "1",
"type": null
}, {
"name": ":Nom_Affili\u00e9",
"value": "chandra",
"type": null
}, {
"name": ":Pr\u00e9nom_Affili\u00e9",
"value": "pathak",
"type": null
}, {
"name": ":Date_de_d\u00e9c\u00e8s",
"value": "2022-02-16",
"type": null
}, {
"name": ":Date_du_diagnostic",
"value": "2022-02-16",
"type": null
}, {
"name": ":Courriel",
"value": "chandra@gmail.com",
"type": null
}, {
"name": ":Naissance_Affili\u00e9",
"value": "2022-02-16",
"type": null
}, {
"name": ":T\u00e9l\u00e9phone_Affili\u00e9",
"value": "",
"type": null
}, {
"name": ":Institution_Affili\u00e9",
"value": "",
"type": null
}, {
"name": ":Adresse_Affili\u00e9",
"value": "",
"type": null
}, {
"name": ":Institution_Affili\u00e9_envoi",
"value": "",
"type": null
}, {
"name": ":GSM_ou_autre_tel",
"value": "",
"type": null
}, {
"name": ":Adresse_envoi",
"value": "",
"type": null
}, {
"name": ":Code_handicap",
"value": "",
"type": null
}, {
"name": ":M\u00e9mo",
"value": "",
"type": null
}, {
"name": ":Nbre_enfants_\u00e0_charge",
"value": "0",
"type": null
}, {
"name": ":Sylvie",
"value": "0",
"type": null
}, {
"name": ":Cl\u00e9_Province",
"value": "BW",
"type": null
}, {
"name": ":Cl\u00e9_Code_Postal",
"value": "1",
"type": null
}, {
"name": ":CP_envoi",
"value": "1",
"type": null
}, {
"name": ":Cl\u00e9_Assistante_Sociale",
"value": "1",
"type": null
}, {
"name": ":Cl\u00e9_situation_familiale",
"value": "1",
"type": null
}, {
"name": ":Cl\u00e9_Etat_Civil",
"value": "C",
"type": null
}, {
"name": ":Inactif_2_Obselete",
"value": "TRUE",
"type": null
}, {
"name": ":BIM",
"value": "TRUE",
"type": null
}, {
"name": ":Pas_Invitation",
"value": "TRUE",
"type": null
}, {
"name": ":Plus_de_contact",
"value": "TRUE",
"type": null
}, {
"name": ":Pas_de_courriers",
"value": "TRUE",
"type": null
}, {
"name": ":Gratuit_Aff",
"value": "TRUE",
"type": null
}, {
"name": ":RGPD",
"value": "TRUE",
"type": null
}, {
"name": ":VOLONTAIRE",
"value": "TRUE",
"type": null
}, {
"name": ":LaClef",
"value": "Papier",
"type": null
}, {
"name": ":Nouveau",
"value": "FALSE",
"type": null
}, {
"name": ":Prob_adresse",
"value": "TRUE",
"type": null
}, {
"name": ":IM",
"value": "TRUE",
"type": null
}, {
"name": ":where_0",
"value": "11328",
"type": null
}]
}]
}
Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
Answers
Is this using Editor? What are you doing when the error is generated?
Colin
I am doing update through editor...My db filedname is in french language.which is not matched through browser ..
i am getting this response.when edit my form through editor
this is utf8 charset problem
how we can solve this?
What is the character set of your database? What is your PHP / PDO connection configured for? Have you tried:
Allan
yes
Can you show me your controller code please? I've just realised that I'm not sure if this is PHP, .NET or Node.
Allan
Thank you. And what are your MySQL server's configuration parameters for:
etc?
Allan
character utf
pdo mysql connection
table of fieldname is in french language