Gossamer Forum
Home : Products : DBMan : Customization :

Û_def position 9

Quote Reply
Û_def position 9
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??

Quote Reply
Re: Û_def position 9 In reply to
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 ...
Quote Reply
Re: Û_def position 9 In reply to
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, '', '']
);
-----------------------------


Quote Reply
Re: Û_def position 9 In reply to
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/
Quote Reply
Re: Û_def position 9 In reply to
Thank you LoisC. That's a sneaky one! It overrides your position 9 but only when adding the first row in the record. Now I can move on........ Ed Gilchrist