[isf-wifidog] Error During Installation

Chris Rowson christopherrowson at gmail.com
Jeu 30 Mar 13:51:01 EST 2006


I had a similar problem during my installation.

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.

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.

Someone else may be able to fill in the gaps. Sorry I couldn't be more
precise.

Chris


On 30/03/06, luffy .D <goodluffy at gmail.com> wrote:
>
>   Hello all i get this error during installation.Also before this i had an
> error Administration account
> *Warning*: pg_query() [function.pg-query<http://server.kwifi.net/wifidog-auth-1.0.0_m2/wifidog/function.pg-query>]:
> Query failed: ERROR: duplicate key violates unique constraint
> "idx_unique_username_and_account_origin" in */var/www/wifidog-
> auth-1.0.0_m2/wifidog/classes/AbstractDbPostgres.php* on line *287*
>
> ExecuterSqlResUnique(): ERREUR: Lors de l'exÃ(c)cution de la requête SQL:
>
> INSERT INTO users (user_id,username, account_origin,email,pass,account_status,validation_token,reg_date) VALUES ('a5d3053819cfef75b713877a21536a6c','admin','default-network','webmaster at localhost','Qpf0SxOVUjUkWySXOZ16kw==','5','10606f5a124c9ead2aea803551db8f57',NOW())
>
>  L'erreur est:
> ERROR: duplicate key violates unique constraint
> "idx_unique_username_and_account_origin"
>
> *Fatal error*: 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->__construct('a5d3053819cfef7...') #1 /var/www/wifidog-
> auth-1.0.0_m2/wifidog/install.php(1198):
> User::createUser('a5d3053819cfef7...', 'admin', Object(Network), '
> webmaster at local...', '123123') #2 {main} thrown in */var/www/wifidog-
> auth-1.0.0_m2/wifidog/classes/User.php* on line *202*
>
>
>
>  <http://server./wifidog-auth-1.0.0_m2/wifidog/>
>
> Then when i proceed to http://server./wifidog-auth-1.0.0_m2/wifidog/ i see
> this above the login panel.
>
> 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
>
> Unnamed network network currently has 2 valid users, 0 user(s) are
> currently online
>
> and when i try logging in login fails :(
>
>
>
> Also the password asked during the installation does not work i tried
> *ls -ld /var/www/wifidog-auth-1.0.0_m2/wifidog | awk '{print $6$7$8} *
> *as well as*
> *LANG=C ls -ld /var/www/wifidog-auth-1.0.0_m2/wifidog | awk '{print
> $6$7$8}*
> **
> both the passowrds where not accepted could only go ahead after edit ing
> the install.php page to $auth=true;
>
>
>
> Thank you.
>
> Luffy :)
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20060330/70f5da6e/attachment.html


More information about the WiFiDog mailing list