[BW-dev-discussion] auto_increment in cryptedfields

Felix van Hove fvanhove ...
Wed Jan 2 23:16:55 UTC 2008


When I try to signup @test.bewelcome.org, I get a "Signup confirmed" 
page and an e-mail. But the link in the e-mail (needed for signup 
confirmation) doesn't work for obvious reasons: All the information for 
the new member in table cryptedfields has been created with id 0. It's 
always like this. Reason: The id column in cryptedfields isn't 
auto_increment, but defaults to 0. At least in the test database.

For understanding see
/htdocs/bw/lib/FunctionsCrypt.php line 41
/htdocs/bw/signup.php line 171

The INSERT in FunctionsCrypts.php seems to imply, that id in 
cryptedfields is auto_increment and doesn't default to 0, doesn't it?

What's wrong?

So long,
Felix



More information about the bw-dev-discussion mailing list