Gossamer Forum
Home : Products : DBMan : Installation :

500 Internal Server Error

Quote Reply
500 Internal Server Error
Hi,

This is what I get when I try to install this program:

Quote:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@flashygaits.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at www.flashygaits.com Port 80


I have tried installing DBMan about 50 times now, and I do everything that this [ http://www.jpdeni.com/dbman/tutorial2.html ] tutorial has told me to do, plus everything that the ReadMe.txt has told me to. I have made sure (50 times) that it is uploaded in ASCII form, and I have CHMOD all the files. Still no go. I changed the perl location to what my server ( netrillium ) has told me to, and still nothing. I had this installed about a year ago and it worked great, but then I had to uninstall it when I thought I didn't need it anymore. However... I do. Its really frusterating because I have done EVERYTHING and NOTHING works. This is what I have in the code:

Quote:

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.flashygaits.com/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
# --------------------------------------------------------
# Definition of your database. Format is
# field_name => ['position', 'field_type', 'form-length', 'maxlength', 'not_null', 'default', 'valid_expr']
%db_def = (
'TROT Number' => [ 0, 'numer', 6, 255, 1, '', ''],
'Horse Name' => [ 1, 'alpha', 20, 255, 1, '', ''],
'Breed' => [ 2, 'alpha', 20, 255, 1, '', ''],
'Gender' => [ 3, 'alpha', 0, 11, 1, 'Choose One', ''],
'Color' => [ 4, 'alpha', 20, 255, 1, '', ''],
'Date of Birth' => [ 5, 'alpha', 20, 255, 1, '', ''],
'Height' => [ 6, 'alpha', 20, 255, 1, '', ''],
'Sire' => [ 7, 'alpha', 20, 255, 1, '', ''],
'Dam' => [ 8, 'alpha', 20, 255, 1, '', ''],
'Breeder' => [ 9, 'alpha', 20, 255, 0, '', ''],
'Owner' => [10, 'alpha', 20, 255, 1, '', ''],
'Owners E-Mail' => [11, 'alpha', 20, 255, 1, '', ''],
'Owner Barn' => [12, 'alpha', 20, 255, 0, '', ''],
'User ID' => [13, 'alpha', -1, 255, 0, '', '']
);
# The column name for the database key. Can be any column, but it must be unique!
# You can't have two records with the same key value!
$db_key = 'TROT Number';
# Track the key? Should DBMan keep a counter of the next key to use? This isn't
# neccessary if you can guarantee that your entry in the key field will be unique
# (i.e. a userid).
$db_key_track = 1;
# Database delimeter.
$db_delim = '|';
# Use file locking (1 = Yes, 0 = No). Should be used, but won't work on Win95.
$db_use_flock = 0;
# Auto generate the html forms (1 = Yes, 0 = No).
$db_auto_generate = 1;
# Display Benchmarking Information (1 = Yes, 0 = No).
# use Benchmark; # Uncomment this line if benchmarking is used.
$db_benchmark = 0;
# Display Debugging Information (1 = Yes, 0 = No).
$db_debug = 0;
# Select fields. Field name => 'comma seperated list of drop down options'.
%db_select_fields = (
'Gender' => 'Choose One,Stallion,Mare,Gelding,Colt,Filly'
);
# Radio fields. Field name => comma seperated list of radio buttons.
%db_radio_fields = ( Validated => 'Yes,No' );
# Checkbox fields. Field name => Checkbox value.
%db_checkbox_fields = ( Popular => 'Yes' );
# Default maximum number of hits returned in a search.
$db_max_hits = 10;
# Bold search results (1 = Yes, 0 = No).
$db_bold = 1;
# Regular and title fonts used in auto_generatrion and html.pl.
$font = 'font face="verdana,arial,helvetica" size="2"';
$font_title = 'font face="verdana,arial,helvetica" size="4"';

# Authorization Options
# --------------------------------------------------------
# No Authentication? (1 = "there is no authentication", 0 = "there is authentication")
# If you choose no authentication, then set the permissions of what
# people can do with: @auth_default_permissions below.
$auth_no_authentication = 0;
# The amount of time in seconds that user files are kept in the
# auth directory before the program removes them. 2-6 hours is
# probably a good value.
$auth_time = 21600; # 6 hours (in seconds)
# Enable (1) or disable (0) logging.
$auth_logging = 1;
# Allow a default user? This means you can specify a user via the URL
# and skip the logon process. Use this to allow people to search without
# logging on, but require log in if they want to add/modify/remove etc.
# (1 = "yes", 0 = "no")
$auth_allow_default = 0;
# Default permissions used if there is no authentication, or for a default
# user. (View, Add, Delete, Modify, Admin), 1 = enable, 0 = disable.
@auth_default_permissions = (1,1,1,1,0);
# Allow people to sign up for their own userid/passwords? They will
# recieve default permissions.
$auth_signup = 1;
# Permissions a new signup should get.
@auth_signup_permissions = (1,1,1,1,0);
# Registered users: can modify/delete _only_ own records. For this to make
# sense you should set default off or to 1,0,0,0.
$auth_modify_own = 0;
# Registered users: can view _only_ own records. For this to make sense
# you should turn off default permissions.
$auth_view_own = 0;
# Auth user field. This is the field position in the database used for storing
# the userid who owns the record. Set to -1 if not used.
$auth_user_field = -1;
# URL to send user if they chose log off. Leave blank and the script will return to
# the logon prompt (although this only makes sense if you are using authentication).
$auth_logoff = "http://www.flashygaits.com";

# ===========================================================================
# Build up some variables from your definitions. Internal use only.
foreach (sort { $db_def{$a}[0] <=> $db_def{$b}[0] } keys %db_def) {
push (@db_cols, $_);
$db_sort{$_} = $db_def{$_}[1];
$db_form_len{$_} = $db_def{$_}[2];
$db_lengths{$_} = $db_def{$_}[3];
$db_not_null{$_} = $db_def{$_}[4];
$db_defaults{$_} = $db_def{$_}[5];
$db_valid_types{$_} = $db_def{$_}[6];
($_ eq $db_key) and $db_key_pos = $db_def{$_}[0];
}
1;


Please help me? I am going mad from trying to get this to work and cannot understand why it won't.
Subject Author Views Date
Thread 500 Internal Server Error flashygaits 18105 Apr 6, 2006, 11:25 AM
Thread Re: [flashygaits] 500 Internal Server Error
JPDeni 17802 Apr 6, 2006, 1:47 PM
Thread Re: [JPDeni] 500 Internal Server Error
flashygaits 17800 Apr 6, 2006, 6:31 PM
Thread Re: [flashygaits] 500 Internal Server Error
JPDeni 17816 Apr 6, 2006, 9:02 PM
Thread Re: [JPDeni] 500 Internal Server Error
flashygaits 17790 Apr 6, 2006, 9:41 PM
Thread Re: [flashygaits] 500 Internal Server Error
JPDeni 17793 Apr 7, 2006, 1:01 AM
Thread Re: [JPDeni] 500 Internal Server Error
flashygaits 17784 Apr 7, 2006, 6:02 AM
Thread Re: [flashygaits] 500 Internal Server Error
JPDeni 17818 Apr 7, 2006, 7:52 AM
Thread Re: [JPDeni] 500 Internal Server Error
Watts 17829 Apr 7, 2006, 11:39 AM
Thread Re: [Watts] 500 Internal Server Error
flashygaits 17783 Apr 7, 2006, 10:00 PM
Thread Re: [flashygaits] 500 Internal Server Error
flashygaits 17816 Apr 8, 2006, 8:44 AM
Thread Re: [flashygaits] 500 Internal Server Error
JPDeni 17798 Apr 8, 2006, 10:04 PM
Post Re: [JPDeni] 500 Internal Server Error
flashygaits 17781 Apr 8, 2006, 10:49 PM
Post Re: [flashygaits] 500 Internal Server Error
Guilee 17462 Apr 15, 2007, 9:47 PM