Gossamer Forum
Home : Products : DBMan : Installation :

Demo works fine but after that ?

Quote Reply
Demo works fine but after that ?
i got my demo up and working with out a problem.
I then changed the default.cfg to make A DB suited for my needs. after uploading it i get internal error please turn on debug. well i did that but the message stays the same.
you can look at me default.cfg file at http://ffk.netfirms.com/default.txt

ill just say that i have not changed any other file. so i am not sure if i have missed somthing.
ill also say that i am pretty much a newb at this
and thank you for any help you can offer

Quote Reply
Re: Demo works fine but after that ? In reply to
Here are your problems....

1) Your_main's_level => [2,'alpha',3,3,0,'',''],

You cannot include reserved characters like single quotes in field names. Change the above to the following:

Code:

Your_main_level => [2,'alpha',3,3,0,'',''],


2) Somthing_About you => [8,'alpha','40x3',800,0,'',''],

You must either use underscore between all multiple words or use single quotes around the field names. In addition, you do not need a comma after the last value in the %db_def hash. Change the above codes to the following:

Code:

Somthing_About_you => [8,'alpha','40x3',800,0,'','']


3) Category => 'General,Configuration Management,Project Management,Process Improvement,Standards,Testing & Quality Assurance',

Again, you cannot use reserved characters (&) within array values...

Change the above codes to the following:

Code:

Category => 'General,Configuration Management,Project Management,Process Improvement,Standards,Testing and Quality Assurance',


BTW: In order to test your hacked script, you should TURN ON de-bugging...$db_debug = 1;.

And also, to check syntax of CGI scripts, use the following command in telnet:

Code:

perl -c db.cgi


Regards,

Eliot Lee
Quote Reply
Re: Demo works fine but after that ? In reply to
thanks for the help ill give it a try