Gossamer Forum
Home : Products : DBMan : Installation :

Error after Error!! Please Help!!!!

Quote Reply
Error after Error!! Please Help!!!!
I am a newbie and I cannot make head nor tales of what to do and what I have done wrong. I created a directory called dbman in my cgi-bin...example: /cgi-bin/dbman then I uploaded all the files to this directory. I changed the permissions per the readme and added the url to the default.cfg.... File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://theladiesclub2000.com/cgi-bin/dbman";
I also added the path to perl as the first line of db.cgi, When I tried to call up the db.cgi file all I get is an Error 500 message - Cannot Display Page
I have read all the other posts with the same problem and tried the ideas with no luck. My server has perl 5.003 and I have debug set to (1) I tried adding the path as suggested to db.cgi, but got the same error message what do I need to correct on this? .... example: # If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "db.cgi";

# Load the form information and set the config file and userid.
local(%in) = &parse_form;
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
$in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = '');

What files do I need to add the perl path line to? I have more questions than answers and I am so exhausted Please, if anyone can offer any help so I can get this set up, I would really appreciate it.

Thanks



Quote Reply
Re: Error after Error!! Please Help!!!! In reply to
In Reply To:
$db_script_path = "db.cgi";
This has to be a pth to db.cgi..ie....

$db_script_path = "/PATH/TO/DBMAN";





Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: Error after Error!! Please Help!!!! In reply to
There has only been rare cases when it's been necessary to set the path in the db.cgi file. I would change this back to the original setting.

$db_script_path = ".";

How are you calling the script? It should look something like this:

http://server.com/cgi-bin/db.cgi?db=orders

What you can do is save a copy of your .cfg file as a .txt file and provide the url so it can be viewed.

It's difficult to help without seeing what settings you have changed.

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/