Gossamer Forum
Home : Products : DBMan : Installation :

Internal errors!

Quote Reply
Internal errors!
I had been getting CGI errors, but having edited the files to support 2000 it has now turned into internal errors.

Please could someone help! The files can be found at the following:

http://www.titanappupdates.co.uk/cgi-bin/database/textfiles/default.txt
http://www.titanappupdates.co.uk/cgi-bin/database/textfiles/db.txt

The servers are Windows 2000 so the Perl location is not required
My ISP will run scripts from within sub directories
I have changed the extension from .cgi to .pl

The true url for the code is:

http://www.titanappupdates.co.uk/cgi-bin/database/db.pl

Thanks for any help in advance!
Rich


Quote Reply
Re: Internal errors! In reply to
Rich, in db.cgi, change the following line to the path where the files are located.

# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "http://www.titanappupdates.co.uk/cgi-bin/database/";

You have entered the URL, you need the physical path identified.

Quote Reply
Re: Internal errors! In reply to
Try enabling debugging to view what the error is.

Also are you sure you don't need the path to perl? Even Windows servers need something like:

#!C:\perl\bin\perl

Don't they?

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: Internal errors! In reply to
According to the post:
http://gossamer-threads.com/perl/forum/showthreaded.pl?Cat=&lookup=1&Number=108916

Windows 2000 servers dont need the perl path

Quote Reply
Re: Internal errors! In reply to
Ok I was only asking - I don't know much about Windows servers but I have used perl scripts on a Windows server before and had to use the path.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: Internal errors! In reply to
I’ve changed the path to the physical path and not a URL but still the same problem. I’ve been at this all day, I really want this to work. Doh!

Quote Reply
Re: Internal errors! In reply to
One thing I noticed:
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";


This should be .pl if you've rennamed db.cgi.

If you're still having problems, try adding the line $db_debug = 1; underneath the path variable in db.pl.

This should produce a more descriptive error message, and should help you to locate the problem.

Good luck!

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/