Gossamer Forum
Home : Products : DBMan : Installation :

Premature end of script headers

Quote Reply
Premature end of script headers
Hi again. I'm trying to install DBMan at barrlapp.vr9.com/cgi-bin and it comes up with a 500 error and when I check the error log it also has a premature end of script headers error. What am I doing wrong? My default.cfg file is at http://barrlapp.vr9.com/cfg.txt

I read back in the forum and someone said to make the path to perl the first line in db.cgi. I'm confused. What does that mean? The literal first line or the first variable?

Thank you!
Jessica

Quote Reply
Re: Premature end of script headers In reply to
The following is not defined correctly:

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "data/barrlapp/cgi-bin";

It should be a URL not a path such as:

$db_dir_url = "http://yourserver.com/cgi-bin/dbman";

Make sure you upload the files as ASCII. Also you may want to define your gender category as it looks like you wish it to be either a select, radio, or checkbox field.

JPDeni's site has a great tutorial and also a configurator which will easily setup your .cfg file and the layouts for your html.pl file.

Regarding the path to perl in your .cgi file. This is always the first line in your scripts, at the very top and would be something like this:

#!/usr/bin/perl depending on your host provider

Hope this helps

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/