Gossamer Forum
Home : Products : DBMan : Installation :

can't get into the demo database

Quote Reply
can't get into the demo database
hi , i have tried few times installing dbman.
but i can't get the demo database work.
i have upload all the file into cgi-bin and chmod them accordingly. but still no success.

my url is http://lightning.prohosting.com/~webhosts/

and the url for the dbman is http://lightning.prohosting.com/~webhosts/db/

here is the paths that in the default.cfg# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://lightning.prohosting.com/~webhosts/cgi-bin/db";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";

thanks for hrlpng me

Quote Reply
Re: can't get into the demo database In reply to
First off, the URL that you indicated where dbman resides is not correct. Try :

http://lightning.prohosting.com/~webhosts/cgi-bin/db/db.cgi

I am still seeing an Internal Server error when I call the script, so check the following:

1) Path to perl is correct in the db.cgi file

2) Upload all files in Ascii mode

3) Double check all file permissions are correct.

Hope that helps.

David
Quote Reply
Re: can't get into the demo database In reply to
Two other suggestions:

1) Make sure that the $db_script_path variable in your db.cgi is set to your ABSOLUTE path to your /cgi-bin/db directory.

2) Turn the $db_debug variable in the default.cfg file to 1, like the following:

Code:
$db_debug = 1;

This will show more error messages than just the annoying 500 Internal Server Error.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------