Gossamer Forum
Home : Products : DBMan : Installation :

Installation problems...

Quote Reply
Installation problems...
Hi,

I've just attempted to install DBMan but keep getting a problem.

* I've checked the permissions - all fine.
* I have Perl 5.005.
* Perl is located at /usr/bin/perl and I've modified db.cgi to reflect this.
* $db_script_path = "/web/medstudentuk/cgi-bin/iqd";

However, everytime I try and login to http://www.medstudentuk.com/cgi-bin/iqd/db.cgi
I just get:

DBMan encountered an internal error. Please enable debugging to view.

I've tried turning on debug mode in default.cfg, but it still doesnt show the error - just the same message as above.

I telnetted into my account and executed the script from there. This is what I got:

bash: =: command not found
bash: syntax error near unexpected token `local(%in)'
bash: db.cgi: line 40: `local(%in) = &parse_form;'

Any ideas?

Thanks,


Saleel Majeed
saleel@medstudentuk.com
http://www.medstudentuk.com/
Quote Reply
Re: Installation problems... In reply to
Hmm... solved it, I think. I was adding spaces in the field names, and just realised that that isn't allowed... (or is it?)


Saleel Majeed
saleel@medstudentuk.com
http://www.medstudentuk.com/
Quote Reply
Re: Installation problems... In reply to
You can use a space in the field name if you enclose the 'field name' in single quotes. It is recommended you not use spaces however and look instead to using an underscore in the Field_Name or simply the TwoWords with capitalization to make reading easier.