<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jonatan<br>
<br>
Voir     <a class="moz-txt-link-freetext" href="http://dev.wifidog.org/ticket/491#comment:2">http://dev.wifidog.org/ticket/491#comment:2</a><br>
<br>
Jonatan wrote:
<blockquote cite="mid:015201c90843$50ecff70$f2c6fe50$@be" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <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]-->
  <div class="Section1">
  <p class="MsoNormal">Bonjour,<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </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 : lorsque je tente de créer un nouveau compte, de me
logger
ou certaines autres actions, j’obtiens une page blanche comme ceci :<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </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: &quot;Arial Unicode MS&quot;,&quot;sans-serif&quot;;">�</span>s
de <span style="font-family: &quot;Arial Unicode MS&quot;,&quot;sans-serif&quot;;">�</span>
USING <span style="font-family: &quot;Arial Unicode MS&quot;,&quot;sans-serif&quot;;">�</span>
at character 25<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </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> </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 ?<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">Merci d’avance.<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">Jonatan Geeurickx<o:p></o:p></p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
WiFiDog mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a>
<a class="moz-txt-link-freetext" href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.6.7/1629 - Release Date: 8/23/2008 1:16 PM
  </pre>
</blockquote>
<br>
</body>
</html>