Gossamer Forum
Home : Products : DBMan : Discussions :

CGI Error

Quote Reply
CGI Error
Can someone help me out. I keep getting this error.

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Bareword found where operator expected at D:\InetPub\wwwroot\cgi-bin\db.cgi line 50, near "unless ($db_setup =~ /^[A-Za-z0-9]+$/) { die "Invalid"
(Do you need to predeclare unless?)

String found where operator expected at D:\InetPub\wwwroot\cgi-bin\db.cgi line 51, near "require ""
(Might be a runaway multi-line "" string starting on line 50)
(Missing semicolon on previous line?)

Scalar found where operator expected at D:\InetPub\wwwroot\cgi-bin\db.cgi line 51, near "require "$db_setup"
(Do you need to predeclare require?)
String found where operator expected at

D:\InetPub\wwwroot\cgi-bin\db.cgi line 52, near "require ""
(Might be a runaway multi-line "" string starting on line 51)
(Missing semicolon on previous line?)

Bareword found where operator expected at D:\InetPub\wwwroot\cgi-bin\




Quote Reply
Re: [coarc] CGI Error In reply to
I would check your .cfg file and be sure you have a semicolon at the end of the paths you defined.

For instance if you are using:

$db_dir_url = "D:\InetPub\wwwroot\cgi-bin\db.cgi";

notice the semicolon at the end of the line.

You might also want to check how the paths need to be defined for a windows environment by checking in the FAQ below under "Troubleshooting" for a thread called
"DBMan in a Windows environment"

It may be very helpful to get you up and running.

If you still have problems you may want to save your .cfg file as a text file and post a url where it can be viewed.


Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/