Gossamer Forum
Home : Products : DBMan : Installation :

The Page cannot be displayed!

Quote Reply
The Page cannot be displayed!
After I install the dbman in my ftp server(www.mydomain.com/data/) I got this message "The page cannot be displayed" when I put "http://www.mydomain.com/data/db.cgi?db=" for the URL.

I have modify the cgi path and permissions.

Thank for your help

Quote Reply
Re: The Page cannot be displayed! In reply to
If you are using the default.cfg (haven't renamed the file) you do not use the db= portion of the url. You access the database simply by http://www.mydomain.com/data/db.cgi

Quote Reply
Re: The Page cannot be displayed! In reply to
Thanks.

Still get the same message.

Quote Reply
Re: The Page cannot be displayed! In reply to
In Reply To:
I have modify the cgi path and permissions.
Can you save your default.cfg file as a text file ("save as" default.cfg.txt) and upload it to an area where it can be viewed via the web?

Quote Reply
Re: The Page cannot be displayed! In reply to
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.

$db_dir_url = "http://www.mydomain.com/data";
$db_script_url = $db_dir_url . "/db.cgi";
$db_file_name = $db_script_path . "/default.db";
$db_id_file_name = $db_script_path . "/default.count";
$auth_dir = $db_script_path . "/auth";
$auth_pw_file = $db_script_path . "/default.pass";
$auth_log_file = $db_script_path . "/default.log";
require $db_script_path . "/html.pl";

# Database Definition
# --------------------------------------------------------
# Definition of your database. Format is
# field_name => ['position', 'field_type', 'form-length', 'maxlength', 'not_null', 'default', 'valid_expr']

Û_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Title => [1, 'alpha', 40, 255, 1, '', ''],
URL => [2, 'alpha', 40, 255, 1, 'http://', '^http://'],
Type => [3, 'alpha', 0, 60, 1, '', ''],
Date => [4, 'date', 12, 15, 1, &get_date, ''],
Category => [5, 'alpha', 0, 255, 1, '', ''],
Description => [6, 'alpha', '40x3', 500, 0, '', ''],
Validated => [7, 'alpha', 0, 3, 1, 'Yes', 'Yes|No'],
Popular => [8, 'alpha', 0, 3, 0, '', ''],
Userid => [9, 'alpha', -2, 15, 0, '', '']
);

$db_key = 'ID';
$db_key_track = 1;
$db_delim = '|';
$db_use_flock = 1;
$db_auto_generate = 0;
$db_debug = 0;

# Select fields. Field name => 'comma seperated list of drop down options'.
Û_select_fields = (
Category => 'General,Configuration Management,Project Management,Process Improvement,Standards,Testing & Quality Assurance',
Type => 'Web,Newsgroup,Mailing List,FTP,Gopher'
);

# Radio fields. Field name => comma seperated list of radio buttons.
Û_radio_fields = ( Validated => 'Yes,No' );

# Checkbox fields. Field name => Checkbox value.
Û_checkbox_fields = ( Popular => 'Yes' );

--- removed coding no longer needed in thread ----
Quote Reply
Re: The Page cannot be displayed! In reply to
Are you sure you can execute cgi from outside your cgi-bin?

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: The Page cannot be displayed! In reply to
That is what my ISP told me.
I will double check tomorrow.

Thanks

Quote Reply
Re: The Page cannot be displayed! In reply to
Thank You for all your help.
I got it to work. I didn't upload those files in ASCII mode.