Gossamer Forum
Home : Products : DBMan : Installation :

Read form and tried - still internal error

Quote Reply
Read form and tried - still internal error
I set up the script and each time I try it I get:
DBMan encountered an internal error. Please enable debugging to view.

I have read some post here and tried the suggestions but I still get the error.
I did turn on the debugging and still nothing shows up.
No I am not on NT server.

The db.cgi script
$db_script_path = "http://thehockey.com/cgi-bin/dbman";

I also tried this way and still the same error.
$db_script_path = "/home/hockey/thehockey-www/cgi-bin/dbman";

In the default.cfg

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://thehockey.com/cgi-bin/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "http://thehockey.com/cgi-bin/dbmam/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/home/hockey/thehockey-www/cgi-bin/dbmam/cgi-bin/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/home/hockey/thehockey-www/cgi-bin/dbmam/cgi-bin/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/home/hockey/thehockey-www/cgi-bin/dbmam/cgi-bin/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/home/hockey/thehockey-www/cgi-bin/dbmam/cgi-bin/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/home/hockey/thehockey-www/cgi-bin/dbmam/cgi-bin/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/home/hockey/thehockey-www/cgi-bin/dbmam/cgi-bin/html.pl";

I also had it set up using the url in all and still the same error.

I have redone chmod twice.
From reading the post I tried this
No Trailing Slash Please.
$db_dir_url
taking out the _url and it still didn't work.

What have I done wrong?
Everything is in the cgi-bin dbman set at 777 (even tried 775)

Thanks.

Quote Reply
Re: Read form and tried - still internal error In reply to
You don't need /home/hockey/thehockey-www/cgi-bin/dbmam/cgi-bin, all you need is the filename, the variable $db_script_path supplies everything else.

Eg: $db_script_url = $db_dir_url . "/db.cgi";

If this is you're first time with DBMan, I suggest checking out JPDeni's DBMan-ual site at http://www.jpdeni.com/dbman/, it has some great tutorials on getting DBMan up and running the first time round.

Good luck!

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Read form and tried - still internal error In reply to
Thanks - got it - much, much less is better.
Thanks for the info on http://www.jpdeni.com/
Cheers.