Gossamer Forum
Home : Products : DBMan : Installation :

Install with Files *.pl

Quote Reply
Install with Files *.pl
Hello,

I have a ISP, I would like install DBMAN. I must not create a cgi-bin directory. I can work with all directory on the server. My test-directory is http://www.Nieder-Olm.com/datenbank. I must rename the file db.cgi in db.pl. Only Files*.pl work on my server.
No here is the default.cfg. DBMAN is not work. I started with http://www.Nieder-Olm.com/datenbank/db.pl

The DBMAN is not run. What is wrong ? Where is my error ?
This is the second cgi-script for me.

I transfer in ASCII and the CHMODE is o.k.
Who can help me ? Thank you.


Werner


db.pl
***********

# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "http://www.nieder-olm.com/datenbank";



default.cfg
***************
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://nieder-olm.com/datenbank";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.pl";
# 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";

Quote Reply
Re: Install with Files *.pl In reply to
I tried to access your database by going to http://www.Nieder-Olm.com/datenbank/db.pl and I received an error message.

Please set $db_debug=1; in your default.cfg file so that I can see what the error is.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Install with Files *.pl In reply to
Hello,
thank you for the answer and for the help.
I have change the default.cfg with "1" by debbugging and
load to the server with the right CHmode.

I hope you can help me, and the work is not to big for you.

Werner



Quote Reply
Re: Install with Files *.pl In reply to
I had hoped that would give me the answer. But it didn't.

What changes have you made to the files? Did you change the $db_script_path in the db.cgi file? If so, try changing it back to

$db_script_path = ".";


JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Install with Files *.pl In reply to
Hello,

bingo ! Now I have understand. I can see the debug information, but i can not judge this. What can i do now ?

Quote Reply
Re: Install with Files *.pl In reply to
You need to do two things. First set $db_debug=0; in your .cfg file. That will get rid of the text at the bottom of your screen. The other thing is that you need to change

$db_dir_url = "http://www.Nieder-Olm.com/Datenbank";

to

$db_dir_url = "http://www.Nieder-Olm.com/datenbank";

Once you do that, you should be able to access the database, using
username -- admin
password -- admin


JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: Install with Files *.pl In reply to
Thank you very much for the help. The script is now running.
It was a little error from me with a big action. I have a lot of learn for the future.

This was wrong ...
#$db_script_path = "http://www.Nieder-Olm.com/datenbank/db.pl";

This was wrong too ...
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.Nieder-Olm.com/datenbank";

This is right ...
$db_script_path = ".";

Werner :-)

Quote Reply
Re: Install with Files *.pl In reply to
Bitte schoen! (That's about all the German I know!! Smile)

JPD
http://www.jpdeni.com/dbman/