Gossamer Forum
Home : Products : DBMan : Installation :

HELP! I CAN'T MAKE IT!!

Quote Reply
HELP! I CAN'T MAKE IT!!
SOMEONE HELP!
IT SHOWS ME THIS:

CGI ERROR
==========================================
Error Message : Debug Information
Script Location : /data1/hypermart.net/webhoster/dbman/db.cgi
Perl Version : 5.00404
Setup File : default.cfg

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /data1/hypermart.net
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: zh
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : webhoster.hypermart.net
HTTP_USER_AGENT : Mozilla/4.05 [zhtw] (Win95; I)
HTTP_WOOKIE : AFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJ
PATH : /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
QUERY_STRING :
REMOTE_ADDR : 203.83.81.253
REMOTE_PORT : 1048
REQUEST_METHOD : GET
REQUEST_URI : /dbman/db.cgi
SCRIPT_FILENAME : /data1/hypermart.net/webhoster/dbman/db.cgi
SCRIPT_NAME : /dbman/db.cgi
SCRIPT_URI : http://webhoster.hypermart.net/dbman/db.cgi
SCRIPT_URL : /dbman/db.cgi
SERVER_ADMIN : webmaster@hypermart.net
SERVER_NAME : webhoster.hypermart.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.6 (Unix)




WHAT'S WRONG WITH THAT SCRIPT??

KAVIS
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
Default.cfg

Well, there's really not enough of information ut it seems that your path to the default config is strange.

check this out:
# Please check the README file for full details on registration.
# =====================================================================

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

# Database Definition

It worked for me, also check all your permissions, etc...

I hope this was some help
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
Thanks jdunes,

But i still can't solve that error. Could you help me again?? I've tried hypermart and virtualave, results are the same.

Kavis
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
Hmmm, did you set everything up right in db.cgi?

# Please check the README file for full details on registration.
# =====================================================================

# If you run into problems, set $db_script_path to the full path
# to your directory.
$db_script_path = "/data1/hypermart.net/webhoster/cgi-bin/dbman";

# 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 = '');

# Required Librariers
# --------------------

also, if you would explain a little more I think more people might be able to help you Smile I hope this helps
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
Thanks again jdunes!

I've followed what the readme file tell me to do. All files are set to correct permission.

Would you mind take a look on my site?
http://webhoster.hypermart.net/dbman/db.cgi

Thanks!

Kavis

[This message has been edited by Kavis (edited July 21, 1999).]
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
I think it's only

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

in default.cfg
It looks that the value of $db_debug is 1 at the moment, set it to 0 and you don't see the debug message.

Rene
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
Thanks a lot!

But i want ask that does it always show "CGI ERROR" when the debug function turned on??

Kavis
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
just to let you know what the following messages mean I guess. Wink
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
Really thanks jdunes a lot! ^.^
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
I'm reading your correspondence with empathy!
Ive tried in vain to get DBman working at hypermart but it doesn't!
It works at home on sambar.
Ive uploaded it to hypermart using cute and ascii but ive placed it in a Frontpage designed site with the extensions activated. Do you think this may have something to do with it not working or am I just going mad? I cannot think of any other possible solutions?
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
Me again....

I've just visited your site webhost......dbcgi and it appears to be working

How didi you do it?
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
paulq6,

I did with hypermart and tell you the truth all I know about perl came from this forum (actually I couldn't even write a simple script if I tried) BUT it will work with hypermart and unix. You using frontpage ???? hmmm, could be where the problem is. why don't you try running the out-of-box version first and then popping in the M@#%&@!! stuff. Sorry I'm a mac guy Smile
Quote Reply
Re: HELP! I CAN'T MAKE IT!! In reply to
Hi,

I am not using frontpage, but wsftp. Have you set all with right permission? Also, have you check the path to your dbman directory? If you can't make it, let me know, maybe i could set it for you ^.^

Kavis