Gossamer Forum
Home : Products : DBMan : Installation :

DBman encountered internal error...

Quote Reply
DBman encountered internal error...
Hi,
I seem to have done everything correct, and I enabled the debugging in the default.cfg, my permissions are fine, the #! line is correct, but I always get this message!!

DBMan encountered an internal error. Please enable debugging to view

HELP!

Quote Reply
Re: DBman encountered internal error... In reply to
You must not have enabled debugging correctly otherwise you wouldnt be getting this error..

In Reply To:
DBMan encountered an internal error. Please enable debugging to view

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: DBman encountered internal error... In reply to
Hey thats not the answer I was looking for.

The debugging was set to 1 and all files have been uploaded in ASCII format.

Where is the line in the perlscript that actually points to the default.cgi file?


Quote Reply
Re: DBman encountered internal error... In reply to
In Reply To:
Where is the line in the perlscript that actually points to the default.cgi file?
You mean default.cfg????

In db.cgi.....

# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = ".";


Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: DBman encountered internal error... In reply to
So the line in db.cgi would look like this

$db_script_path = "http://www.aaa-aa/cgi-bin/dbman/default.cfg";

Sorry I meant .cfg
Quote Reply
Re: DBman encountered internal error... In reply to
$db_script_path

There is NO default.cgi file!

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: DBman encountered internal error... In reply to
Sorry Paul, I don't understand your answer " $db_script_path "


Quote Reply
Re: DBman encountered internal error... In reply to
Note the bolded $db_script_path - it isn't a URL you need to add, its a path.

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: DBman encountered internal error... In reply to
So if it is within the same dir, I can simply add the line

$db_script_path "default.cfg"

Quote Reply
Re: DBman encountered internal error... In reply to
If it is in the same directory then yes you can use that or could have left it as it was originally.

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: DBman encountered internal error... In reply to
Thanks. But it still does'nt seem to be working.

Regards,

Dissapointed Serge

Quote Reply
Re: DBman encountered internal error... In reply to
Check your error log.

You are executing db.cgi ....yes?

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: DBman encountered internal error... In reply to
Serge:

The error could be in your .cfg file and not appearing in the error message.

Please post the portion of your .cfg file where you have the directories and fields setup.



Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: DBman encountered internal error... In reply to
Hi Paul & LoisC,

OK I am back on line and still having no sucess.

This is my cgf file that you requested:

# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.ams-ix.net/cgi-bin/dbman";
# 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";

The field setups are unchanged from the orig. and this is the debugging line:

# Display Debugging Information (1 = Yes, 0 = No).
$db_debug = 1;

Can you still help me.

PS. Paul, I am now going to take a look at my server error log.


Quote Reply
Re: DBman encountered internal error... In reply to
I have checked my server error log, but nothing is appearing there!

I still get the same message when I go to http://www.ams-ix.net/cgi-bin/dbman/db.cgi

Somebody HELP!!!!


Quote Reply
Re: DBman encountered internal error... In reply to
We cannot help when we cannot see the files - otherwise, we are just guessing at what may be wrong. Can you please save your default.cfg, html.pl, and db.cgi files as text files and upload thm to a web accessible area where they can be viewed using the web? Post the url where your files can be viewed.