Gossamer Forum
Home : Products : DBMan : Installation :

Config error - Probably a quickie - Thanks

Quote Reply
Config error - Probably a quickie - Thanks
I've used the on line configurator - all went well and the DB looks OK, but when I go to add a record (having logged in as both author abd admin and not having changed the default passwords) I get the message:

"ID" Invalid format

my configurations looks like this:
%db_def = (
'id' => [ 0, 'numer', 20, 255, 1, '', '\d{99999}'],
'Title' => [ 1, 'alpha', 0, 4, 0, '', ''],
'First Name' => [ 2, 'alpha', 20, 255, 1, '', ''],
'Second Name' => [ 3, 'alpha', 20, 255, 0, '', ''],
'Surname' => [ 4, 'alpha', 20, 255, 1, '', ''],
'Adrs1' => [ 5, 'alpha', 20, 255, 0, '', ''],
'Adrs2' => [ 6, 'alpha', 20, 255, 0, '', ''],
'Adrs3' => [ 7, 'alpha', 20, 255, 0, '', ''],
'Town' => [ 8, 'alpha', 20, 255, 0, '', ''],
'County' => [ 9, 'alpha', 20, 255, 0, '', ''],
'Post Code' => [10, 'alpha', 20, 255, 0, '', ''],
'Tel No' => [11, 'alpha', 20, 255, 0, '', ''],
'Fax No' => [12, 'alpha', 20, 255, 0, '', ''],
'Email' => [13, 'alpha', 20, 255, 0, '', '.+@.+..+'],
'www ' => [14, 'alpha', 20, 255, 0, 'http://', '^http://'],
'Qualification' => [15, 'alpha', 20, 255, 0, '', ''],
'Description' => [16, 'alpha', 20, 255, 0, '', ''],
'Category' => [17, 'alpha', 20, 255, 0, '', ''],
'Fee' => [18, 'alpha', 20, 255, 0, '', ''],
'Additional Info' => [19, 'alpha', 20, 255, 0, '', '']
);

Any ideas please.

Thanks

Huw
Quote Reply
Re: Config error - Probably a quickie - Thanks In reply to
YEa...Delete \d{99999} in the regular expression attribute of your ID field.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------