Gossamer Forum
Home : Products : DBMan : Installation :

that same ol' error...debugging

Quote Reply
that same ol' error...debugging
I have read all the previous postings and as simple as default.cfg seems to be to complete I get the "DBMan encountered an internal error. Please enable debugging to view." even with debug=1. Please help!!! URL= http://www.rotovegas.com/cgi-bin/delta/db.cgi

Quote Reply
Re: that same ol' error...debugging In reply to
Hello rotovegas,

Are you installing on an NT system? If so, you'll need to make changes on your config file. (Please search in this forum for NT install to get threads on this topic.)

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.rotovegas.com/cgi-bin/delta";
# URL of dbman.
$db_script_url = "f:\\path\\to\\dbman\\db.cgi"; << sample of change

Karen


Quote Reply
Re: that same ol' error...debugging In reply to
yes, it is on Win NT. I made the changes you suggested but still get a 500 error. I have included path in db.cgi with no change. Sript can be seen at http://www.telemarket.co.nz/cgi-bin/dbman/
Quote Reply
Re: that same ol' error...debugging In reply to
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.telemarket.co.nz/cgi-bin/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "\rotovegas\telemarket.co.nz\cgi-bin/dbman\db.cgi";


You'll note the green areas above - you have defined
$db_dir_url = "http://www.telemarket.co.nz/cgi-bin/dbman";
so - do not duplicate that portion again in the $db_script_url


Then you will have:
$db_script_url = $db_dir_url . << this dot means "join" /db.cgi";

\db.cgi"; << you'll need to double check several things for the installation. Begin with reviewing the post by AstroBoy in the DBMan Discussion Forum.

Essentially, you are using two different slashes in your paths. You need to figure out which method you need to be using. For Unix, this would be /db.cgi. There are many threads discussing NT, you may need to search for threads which will help you identify the settings needed.


Try making the changes indicated at the top - if you need additional help, please save your files as text files and post them in an area where they can be viewed via the web. Most servers - yours included - does not allow for a file to be viewed from within the cgi-bin.



Quote Reply
Re: that same ol' error...debugging In reply to
Thanks, that has been an enormous help...but, I now get a "DBMan encountered an internal error. Please enable debugging to view." when debugging is on or off.

default.cfg.txt and db.pl.txt are at http://www.telemarket.co.nz/dbman/
Quote Reply
Re: that same ol' error...debugging In reply to
Hi rotovegas, try making the following changes then let us know what the results are - - take note, earlier you had indicated that the files are in a directory at
http://www.telemarket.co.nz/cgi-bin/dbman so I have made the following lines with that in mind.

In db.pl
find this line:
$db_script_path = "/rotovegas/telemarket.co.nz/cgi-bin";

change to:
$db_script_path = "f:/rotovegas/telemarket.co.nz/cgi-bin/dbman";

In default.cfg
find this line:
$db_dir_url = "http://www.telemarket.co.nz/cgi-bin";

change to:
$db_dir_url = "http://www.telemarket.co.nz/cgi-bin/dbman";

If these changes do not work - again, save your file as a text file and upload the changed file to your server, then post a reply in this thread and indicate any errors or messages encountered.

Quote Reply
Re: that same ol' error...debugging In reply to
Karen, you are pearl of perl. I have not made any modifications yet to the fields but now I've reached the login display, at least its a comfort the paths have been resolved. It is the first time I have had to include the drive but hey, if it works, I'm not gonna worry about it. Thanks for your patience and persistence. I really, really, really appreciate it. Thankyou.

Quote Reply
Re: that same ol' error...debugging In reply to
I'm sure pleased to hear the config issues are squared away for gaining access to the scripts. You're welcome!

Karen