Gossamer Forum
Home : Products : DBMan : Installation :

HELP ME..PLEASE!!!

Quote Reply
HELP ME..PLEASE!!!
Shhhss, I though that using this Demo will be a snap, but it turn out to make me snap! Frankly, I'm well verse in Designing website..using marcromedia flash is simple as abc. but this Db make me cry...Can any one out there help me in my problem(s)infact..in almost everything about db. I hope people out there. To make it short. I load-up the db file on my website..for you kind people to tell me OFF!! what the heck went wrong in my script.All file are load up in .txt file...easy for accessing. My Website address is at : http://www.stormpromotions.com Please Help me...this is my worse nightmares. Thank you

Quote Reply
Re: HELP ME..PLEASE!!! In reply to
To better solve your problem, can you please tell what your problem is? I mean, do you get error messages like Internal server error or error loading required libraries or syntax error or anything at all. This woudl usually expediate the reply.

Julian
Quote Reply
Re: HELP ME..PLEASE!!! In reply to
stormpromotions, please do not post the same problem in multiple forums. Although this would have been the proper location to post, I just requested additional input from you in another forum. By cross-posting you run the real risk that two people disregard your posts thinking someone else is trying to help you.



Quote Reply
Re: HELP ME..PLEASE!!! In reply to
Thank you for your response and sorry for that multiple thing. I load up my file as http://www.stormpromotions.com/db.txt and http://www.stormpromotions.com/default.txt
please let me know what when wrong. Thank you...

Quote Reply
Re: HELP ME..PLEASE!!! In reply to
Internal server error 500, that what i'm getting Vamp, well i load up my page for people to see what when wrong. at http://www.stormpromotions.com/default.txt and http://www.stormpromotions.com/db.txt

thank you for responding, please let me know what went wrong.

Quote Reply
Re: HELP ME..PLEASE!!! In reply to
Hello stormpromotions,

500 Server Error usually indicates the files have not been uploaded correctly (ascii text format) or the path to perl is not accurate (first line of scripts). Please double-check those two items.

Additionally, your 500 server error could be coming from inaccuarate script paths listed in the config file.
Code:
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "/www.stormpromotions.com/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/stormpromotions.com/dbman/cgi-bin/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/stormpromotions/dbman/cgi-bin/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/stormpromotions/dbman/cgi-bin/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/stormpromotions/dbman/cgi-bin/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/stormpromotions/dbman/cgi-bin/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/stormpromotions/dbman/cgi-bin/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/stormpromotions/dbman/cgi-bin/html.pl";
Guessing from your entries above, your config should look something like this:
Code:
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.stormpromotions.com/cgi-bin/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi"; #do not change unless
# Full Path and File name of the database file. #you have changed the
$db_file_name = $db_script_path . "/default.db"; #filenames
# 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";
You have stormpromotions.com/dbman/cgi-bin however, your dbman folder should be inside your cgi-bin folder giving you this path:
stormpromotions.com/cgi-bin/dbman This is probably something else you need to correct on your file structure.

Make these changes, then resave your config file as a text file and repost it where it can be viewed on the web. Then post a reply here.

Quote Reply
Still Not Working!!!!! In reply to
It's been near 10hrs, i been trying it out, even after i make the changes according to your instruction,chmod 755,Upload it via ASCII,make sure again on my !/usr/bin/perl , confirm my path, and honestly i think i did according to the instruction. But why it still 500 Internal Server Error. Gosh...this is painfull.

I do appreciate your help karen..you may see the change at http://www.stormpromotions.com/db.txt and http://www.stormpromotions.com/default.cfg.txt Sorry to trouble you....
Thank you


Quote Reply
Re: Still Not Working!!!!! In reply to
Hi stormpromotions,

Sorry - you've got a lot going wrong in here. You really do need to review over the detailed instructions in the Readme.txt file :)

Here are some of the obvious things I see in the default.cfg file:
You are using your own db_key and that's okay.
$db_key = 'Passport Number';
However, you cannot have dbman automatically assign a sequential number. This needs to be changed.
$db_key_track = 1;

You have checkbox fields identified
'Fully Furnished' => [11, 'alpha', 0, 15, 0, 'Fully Furnished', ''],

%db_checkbox_fields = ('Fully Furnished' => 'Fully Furnished',


They should be:
'Fully Furnished' => [11, 'alpha', 0, 15, 0, '', ''],

%db_checkbox_fields = ( 'Fully Furnished' => 'Yes' );

You already have the name defined in the fieldName, now you only need the value for that field, Yes or empty (which would be no)

If you'll work on correcting all of these, we'll find out where you're at then :)