<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=FR-BE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Bonjour,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Ayant tout récemment installé Wifidog sur mon serveur Linux,
ainsi qu’un firmware dd-wrt sur mon Linksys WRT54G, j’ai beaucoup
de difficultés à faire fonctionner le système.<o:p></o:p></p>

<p class=MsoNormal>Je pense que tout vient d’un problème dans les
requêtes SQL&nbsp;: lorsque je tente de créer un nouveau compte, de me logger
ou certaines autres actions, j’obtiens une page blanche comme ceci&nbsp;:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p><span lang=EN-US>execSqlUpdate() : Une erreur est survenue lors de
l'exécution de la requête SQL suivante :<br>
DELETE FROM connections USING tokens WHERE tokens.token_id=connections.token_id
AND token_status='UNUSED' AND user_id = '1220aa80b2d8ecdca6c737d514e5d39a';
INSERT INTO tokens (token_owner, token_issuer, token_id, token_status) VALUES
('1220aa80b2d8ecdca6c737d514e5d39a', '1220aa80b2d8ecdca6c737d514e5d39a',
'5be46c6d7969aa7d92840f1cf72846d9', 'UNUSED'); INSERT INTO connections
(user_id, token_id, timestamp_in, node_id, node_ip, last_updated) VALUES
('1220aa80b2d8ecdca6c737d514e5d39a', '5be46c6d7969aa7d92840f1cf72846d9',
CURRENT_TIMESTAMP, 'b4e70b75c86b423ac702b0b66dc53a21', '78.129.97.185',
CURRENT_TIMESTAMP)<o:p></o:p></span></p>

<p>Message d'erreur : <br>
ERREUR: syntax error sur ou pr<span style='font-family:"Arial Unicode MS","sans-serif"'>�</span>s
de <span style='font-family:"Arial Unicode MS","sans-serif"'>�</span>
USING <span style='font-family:"Arial Unicode MS","sans-serif"'>�</span>
at character 25<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Si je lance la même requête dans pgAdmin (client Windows), j’obtiens
cette même erreur.<o:p></o:p></p>

<p class=MsoNormal>La base de données est bien en unicode, et mon serveur
Apache force UTF-8.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Je ne sais vraiment pas d’où peut provenir ce problème
et je ne suis pas du tout habitué avec PostGreSQL…<o:p></o:p></p>

<p class=MsoNormal>Quelqu’un aurait une idée&nbsp;?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Merci d’avance.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Jonatan Geeurickx<o:p></o:p></p>

</div>

</body>

</html>