I get that error when I don't fill in a certain field in the subaccounts
table. Going from memory, you need customerID, login, accounttype,
password. If I remember correctly I get that when the accounttype can't be
found in the accounttypes table.