AutoCreate Account

    Share
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    AutoCreate Account

    Post  DanielaCZ on 6th November 2013, 20:40

    Hello, i have configs, for autocreate account but, this option not working because i have this log: could not check password:java.sql.SQLException: Field 'lastServer' doesn't have a default value

    Can someone help me please? thank you :-) Rev: 459
    avatar
    Karakan

    Posts : 406
    Join date : 2013-10-04

    Re: AutoCreate Account

    Post  Karakan on 6th November 2013, 20:59

    Is that on your live server ?
    If not , just delete the accounts table and execute accounts.sql from the latest revision.

    If yes...well im not a sql expert, but im sure there is a sql command to set the default value of the field "lastServer" to 1.

    Where 1 is your servers ID
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: AutoCreate Account

    Post  DanielaCZ on 6th November 2013, 21:11

    This is my server but, I newer had this problém... Because autocreate acount is normály work for value 0
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: AutoCreate Account

    Post  DanielaCZ on 6th November 2013, 21:40

    OK. My mistake... I forgot update DB acount dable
    avatar
    Karakan

    Posts : 406
    Join date : 2013-10-04

    Re: AutoCreate Account

    Post  Karakan on 6th November 2013, 21:48

    Jeah just saw it.
    Accounts.sql was changed on rev. 396.


    Implemented lastServer check. Unfortunately, the packet didn' t work (it might work in the future :d), so i had to use the famous java list instead. Now, lastServer is displayed as first in every login attempt. Have fun.

    Well you solved it allready.... Smile
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: AutoCreate Account

    Post  DanielaCZ on 7th November 2013, 15:47

    yes thank you very much :-) i forgot it what change was in reviows rev. xD

    Sponsored content

    Re: AutoCreate Account

    Post  Sponsored content


      Current date/time is 18th August 2017, 04:10