The DBMan sample download places 'User ID' in %db_def position 9. After customizing my fieldname in position 9 is 'a009'. The User ID always appears at this position after making a new record even when I make no entry in position 9. A bug??
Sep 2, 2001, 9:05 PM
Veteran (1819 posts)
Sep 2, 2001, 9:05 PM
Post #2 of 5
Views: 2070
Ummm ... how did you customize "fieldname in position 9" ???
Do you still use a Userid?
did you change Userid to something like "field_X" ??
Bug ??? No, I don't think so. most likely a configuration error only.
We need a little more information to help. If you want please post ONLY the section for your field variables.
good luck
**************************************
on the pages in between ...
Do you still use a Userid?
did you change Userid to something like "field_X" ??
Bug ??? No, I don't think so. most likely a configuration error only.
We need a little more information to help. If you want please post ONLY the section for your field variables.
good luck
**************************************
on the pages in between ...
Sep 2, 2001, 9:32 PM
New User (3 posts)
Sep 2, 2001, 9:32 PM
Post #3 of 5
Views: 2034
My html.pl code has been very carefully written with these fieldnames in the same sequence. Writing a "New" record always yields user ID in position 9. You are invited to go to <http://www.lidoisle.com>, the YC link, and the DBMan link. Use admin/admin. userid is not used. Thanks.
----------------------
%db_def = (
'ID' => [ 0, 'numer', 5, 8, 1, '', ''],
'Class' => [ 1, 'alpha', 20, 255, 1, '', ''],
'a001' => [ 2, 'alpha', 6, 255, 0, '', ''],
'a002' => [ 3, 'alpha', 6, 255, 0, '', ''],
'a003' => [ 4, 'alpha', 2, 255, 0, '', ''],
'a004' => [ 5, 'alpha', 2, 255, 0, '', ''],
'a005' => [ 6, 'alpha', 2, 255, 0, '', ''],
'a006' => [ 7, 'alpha', 2, 255, 0, '', ''],
'a007' => [ 8, 'alpha', 2, 255, 0, '', ''],
'a008' => [ 9, 'alpha', 2, 255, 0, '', ''],
'a009' => [10, 'alpha', 2, 255, 0, '', ''],
'a010' => [11, 'alpha', 2, 255, 0, '', ''],
'a011' => [12, 'alpha', 2, 255, 0, '', ''],
'a012' => [13, 'alpha', 4, 255, 0, '', ''],
'a013' => [14, 'alpha', 4, 255, 0, '', '']
);
-----------------------------
----------------------
%db_def = (
'ID' => [ 0, 'numer', 5, 8, 1, '', ''],
'Class' => [ 1, 'alpha', 20, 255, 1, '', ''],
'a001' => [ 2, 'alpha', 6, 255, 0, '', ''],
'a002' => [ 3, 'alpha', 6, 255, 0, '', ''],
'a003' => [ 4, 'alpha', 2, 255, 0, '', ''],
'a004' => [ 5, 'alpha', 2, 255, 0, '', ''],
'a005' => [ 6, 'alpha', 2, 255, 0, '', ''],
'a006' => [ 7, 'alpha', 2, 255, 0, '', ''],
'a007' => [ 8, 'alpha', 2, 255, 0, '', ''],
'a008' => [ 9, 'alpha', 2, 255, 0, '', ''],
'a009' => [10, 'alpha', 2, 255, 0, '', ''],
'a010' => [11, 'alpha', 2, 255, 0, '', ''],
'a011' => [12, 'alpha', 2, 255, 0, '', ''],
'a012' => [13, 'alpha', 4, 255, 0, '', ''],
'a013' => [14, 'alpha', 4, 255, 0, '', '']
);
-----------------------------
Sep 2, 2001, 10:48 PM
Veteran / Moderator (3034 posts)
Sep 2, 2001, 10:48 PM
Post #4 of 5
Views: 2046
In your .cfg file check what you have for:
$auth_user_field = 9;
If this is still field 9, you need to change it to your userid field. If you are not using a userid then set this to -1.
Hope this helps
Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
$auth_user_field = 9;
If this is still field 9, you need to change it to your userid field. If you are not using a userid then set this to -1.
Hope this helps
Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/