<div>I had a similar problem during my installation.</div>
<div><br>The first error you have accounted for seems to be normal. For some reason, when the installation script completes it attempts to create another user with the same details as the first one. This violates the manner in which wifidog works, as it requires each user to be unique. Don't worry, the first user you created (your admin account) should still be there.
</div>
<div><br>The second error may refer to a problem with setting the locale. Unfortunately I don't have a copy of wifidog to hand so I can't advise you precisely, but you need to change the locale from 'fr' to your own locale. 
</div>
<div><br>Someone else may be able to fill in the gaps. Sorry I couldn't be more precise.</div>
<div><br>Chris<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 30/03/06, <b class="gmail_sendername">luffy .D</b> &lt;<a href="mailto:goodluffy@gmail.com">goodluffy@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="DIRECTION: ltr">&nbsp; 
<div method="post">Hello all i get this error during installation.Also before this i had an error 
<h1>Administration account</h1><br><b>Warning</b>: pg_query() [<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://server.kwifi.net/wifidog-auth-1.0.0_m2/wifidog/function.pg-query" target="_blank">function.pg-query
</a>]: Query failed: ERROR: duplicate key violates unique constraint &quot;idx_unique_username_and_account_origin&quot; in <b>/var/www/wifidog-auth-1.0.0_m2/wifidog/classes/AbstractDbPostgres.php</b> on line <b>287</b><br>

<p>ExecuterSqlResUnique(): ERREUR: Lors de l'exĂ&copy;cution de la requĂȘte SQL:<br><pre>INSERT INTO users (user_id,username, account_origin,email,pass,account_status,validation_token,reg_date) VALUES ('a5d3053819cfef75b713877a21536a6c','admin','default-network','
webmaster@localhost','Qpf0SxOVUjUkWySXOZ16kw==','5','10606f5a124c9ead2aea803551db8f57',NOW())</pre>
<p></p>
<p>L'erreur est:<br>ERROR: duplicate key violates unique constraint &quot;idx_unique_username_and_account_origin&quot;<br></p><br><b>Fatal error</b>: Uncaught exception 'Exception' with message 'User id: a5d3053819cfef75b713877a21536a6c could not be found in the database' in /var/www/wifidog- 
auth-1.0.0_m2/wifidog/classes/User.php:202 Stack trace: #0 /var/www/wifidog-auth-1.0.0_m2/wifidog/classes/User.php(181): User-&gt;__construct('a5d3053819cfef7...') #1 /var/www/wifidog-auth-1.0.0_m2/wifidog/install.php(1198): User::createUser('a5d3053819cfef7...', 'admin', Object(Network), ' 
webmaster@local...', '123123') #2 {main} thrown in <b>/var/www/wifidog-auth-1.0.0_m2/wifidog/classes/User.php</b> on line <b>202</b><br>&nbsp; 
<p></p></p></div>
<div method="post">&nbsp;</div>
<div method="post"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://server./wifidog-auth-1.0.0_m2/wifidog/" target="_blank"></a>&nbsp;</div>
<div method="post">&nbsp;</div>
<div method="post">Then when i proceed to <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://server./wifidog-auth-1.0.0_m2/wifidog/" target="_blank">http://server./wifidog-auth-1.0.0_m2/wifidog/</a>&nbsp;i see this above the login panel.
</div>
<div method="post">&nbsp;</div>
<div method="post">Warning in /classes/Locale.php : Unable to setlocale() to fr, return value: , current locale: LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=en_US;LC_COLLATE=en_US;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TELEPHONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=en_USWarning in /classes/Locale.php : Unable to setlocale() to fr, return value: , current locale: The 
</div>
<div method="post">&nbsp;</div>
<div method="post">Unnamed network network currently has 2 valid users, 0 user(s) are currently online</div>
<div method="post">&nbsp;</div>
<div method="post">and when i try logging in login fails :(</div>
<div method="post">&nbsp;</div>
<div method="post">&nbsp;</div>
<div method="post">&nbsp;</div>
<div method="post">Also the password asked during the installation does not work i tried</div>
<div method="post"><strong>ls -ld /var/www/wifidog-auth-1.0.0_m2/wifidog | awk '{print $6$7$8} </strong></div>
<div method="post"><strong>as well as</strong></div>
<div method="post"><strong><strong>LANG=C ls -ld /var/www/wifidog-auth-1.0.0_m2/wifidog | awk '{print $6$7$8}</strong></strong></div>
<div method="post"><strong></strong>&nbsp;</div>
<div method="post">both the passowrds where not accepted could only go ahead after edit&nbsp;ing the install.php page to $auth=true;</div>
<div method="post">&nbsp;</div>
<div method="post">&nbsp;</div>
<div method="post">&nbsp;</div>
<div method="post">Thank you. </div></div>
<div style="DIRECTION: ltr"><span class="sg">
<div method="post">&nbsp;</div>
<div method="post">Luffy :)</div></span></div><br>_______________________________________________<br>WiFiDog mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:WiFiDog@listes.ilesansfil.org">
WiFiDog@listes.ilesansfil.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
</a><br><br></blockquote></div><br>