Gossamer Forum
Home : Products : DBMan : Installation :

creating your own database

Quote Reply
creating your own database
I started creating my own database and I am getting the following error.
Reason: Bad name after tle' at C:/INETPUB/WWWROOT/CGI-BIN/DBMAN/DBMAN/default.cfg line 69.
I renamed default.cfg to .txt at http://198.182.113.84/dbman/default.txt
I can't figure out what is wrong at that line. Not sure if this was the right forum. Any ideas. Thanks, D. Craig Rich
Quote Reply
Re: creating your own database In reply to
You have tons of Perl specified characters within your fields that are probably causing you problems.

Take out the following characters from your field names:

Code:
#
:

Also, your number fields should be specified as numer NOT number.

Hope this helps.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: creating your own database In reply to
I took out the # and : charcters and also changed all the number to numer. Still gives the same error at the same line. Could it be a change needed in the html.pl?
Thanks
Quote Reply
Re: creating your own database In reply to
Nope...there is definitely a syntax error in default.cfg. Please set your debug option to 1 in your default.cfg file. Then post the COMPLETE error message you receive.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: creating your own database In reply to
I changed the debug option to 1. The error can be seen at http://198.182.113.84 the main call or http://198.182.113.84/dbman/error.txt and the file is at http://198.182.113.84/dbman/default.txt
Thanks
Craig Rich
Quote Reply
Re: creating your own database In reply to
Hi there Look at the following


ID => [0, 'numer', 5, 8, 1, '', ''],
'National Comps' => [1, 'numer', 9, 9, 1, '', ''],
'Seating Preference' => [2, 'alpha', 0, 6, 1, 'Window', 'Window|Aisle'],
'Meal Preference' => [3, 'alpha', 0, 60, 1, '', ''],
'Harrah's Total Gold Member' => [4, 'numer', 11, 11, 0, '', ''],
'Rio's Play Rio Member' => [5, 'numer', 11, 11, 0, '', ''],
Title => [6, 'alpha', 3, 3, 0, '', ''],
First => [7, 'alpha', 26, 26, 1, '', ''],
MI => [8, 'alpha', 1, 1, 0, '', ''],
Last => [9, 'alpha', 26, 26, 1, '', ''],
'Job Title' => [10, 'alpha', 19, 19, 0, '', ''],
BirthdateMMDDYYYY => [11, 'numer', 8, 8, 1, '', ''],
'Company Name' => [12, 'alpha', 26, 26, 0, '', ''],
Gender => [13, 'alpha', 1, 1, 1, '', ''],
'Work Phone'

Some of your name variables dont have ' around them.

Try this it may be the answer.
MDJ
Quote Reply
Re: creating your own database In reply to
Thanks guys. I got it going. Actually I found JP's Config program and did it that way. Thanks Again. Craig
Quote Reply
Re: creating your own database In reply to
Great! Glad you got it to work

mdj1,

You only need single quotes for fields that are two words. You do not have to put single quotes around one word field names.

BTW: You can also use underscores for fields with two or more words, like the following:

Code:
Perl_Essentials_Yes

Wink

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us