Gossamer Forum
Home : Products : DBMan : Installation :

Tricky

Quote Reply
Tricky
Uh.. this one is tricky...

I can get it to show the cgi file with the login screen when i input the address...

but when i click "Login" the next page just shows me all the script in plain text... why?

I tried changing the paths but then it said file not found with the debugging script =/
Quote Reply
Re: [TwoSock] Tricky In reply to
Without seeing your files I would say to check and be sure you didn't delete any of the lines which read:

&html_print_headers;

And to check that this sub didn't get deleted:

sub html_print_headers {
# --------------------------------------------------------
# Print out the headers if they haven't already been printed.

if (!$html_headers_printed) {
print "Content-type: text/html\n\n";
$html_headers_printed = 1;
}
}

If that doesn't work perhaps you could make a .txt copy of your files and provide the url to where they can be viewed.

Also turn on debugging and see if that will help you find any problems. It helps to move the line:

$db_debug = 0;

to above the section of
# File and URL's within the .cfg file.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [TwoSock] Tricky In reply to
When you say it shows the script as text do you mean the perl code or the html output?

If it is the former your server isn't configure to compile cgi scripts.