I just saw something that can be a major problem.
In users.cfg, you have
ID => [0, 'numer', 5, 8, 1, '', ''],
and
Userid => [16, 'alpha', -2, 15, 1, '', '']
and
# The column name for the database key. Can be any column, but it must be unique!
# You can't have two records with the same key value!
$db_key = 'Userid';
# Track the key? Should DBMan keep a counter of the next key to use? This isn't
# neccessary if you can guarantee that your entry in the key field will be unique
# (i.e. a userid).
$db_key_track = 1;
Not good.
I don't know why you have the ID field, but you definitely should not have $db_key_track=1 if your key field is the userid field.
JPD
http://www.jpdeni.com/dbman/
In users.cfg, you have
ID => [0, 'numer', 5, 8, 1, '', ''],
and
Userid => [16, 'alpha', -2, 15, 1, '', '']
and
# The column name for the database key. Can be any column, but it must be unique!
# You can't have two records with the same key value!
$db_key = 'Userid';
# Track the key? Should DBMan keep a counter of the next key to use? This isn't
# neccessary if you can guarantee that your entry in the key field will be unique
# (i.e. a userid).
$db_key_track = 1;
Not good.
I don't know why you have the ID field, but you definitely should not have $db_key_track=1 if your key field is the userid field.
JPD
http://www.jpdeni.com/dbman/