I didn't see the error line displaying in the scripts which might show what the errror could be? Please add this line and see if it will display any error messages:
use CGI::Carp qw/fatalsToBrowser/; # For testing only
-------------------
Other Suggestions:
In your .cfg file move the line:
$db_debug = 1;
up to above the line:
# File and URL's
That will be sure to catch any errors within the .cfg file itself.
=======================
In your cgi file near the top change:
$db_script_path = "http://www.limericks.org/cgi/dbman1";
back to the original of:
$db_script_path = ".";
There are only rare instances where this needs to be changed.
--------------------
In your .cgi file try replacing the this sub .... to see if it would reveal your errors.
sub cgierr { ### modified this for security .. to not show env variables when there is an error 5/20/2000
# --------------------------------------------------------
# Displays any errors and prints out FORM and ENVIRONMENT information. Useful for debugging.
if (!$html_headers_printed) {
print "Content-type: text/html\n\n";
$html_headers_printed = 1;
}
print "<PRE>\n\nCGI ERROR\n==========================================\n";
$_[0] and print "Error Message : $_[0]\n";
if ($db_debug) { #### added this line #######
$0 and print "Script Location : $0\n";
$] and print "Perl Version : $]\n";
$db_setup and print "Setup File : $db_setup.cfg\n";
$db_userid and print "User ID : $db_userid\n";
$db_uid and print "Session ID : $db_uid\n";
print "\nForm Variables\n-------------------------------------------\n";
foreach $key (sort keys %in) {
my $space = " " x (20 - length($key));
print "$key$space: $in{$key}\n";
}
print "\nEnvironment Variables\n-------------------------------------------\n";
foreach $env (sort keys %ENV) {
my $space = " " x (20 - length($env));
print "$env$space: $ENV{$env}\n";
}
print "\n</PRE>";
####### new lines ###########
}
else {
#This links to your e-mail if someone receive a link to this page
print "\n\nPlease e-mail the <A HREF=\"mailto: $error_email\">Webmaster</A> and report the error stated.";
}
##### end new lines ###########
exit -1;
}
---------------
I looked at the earthlink site to see if I could find anything related to their use of scripts and I did find that they offer a script called:
Perl Debugger
This CGI script allows you to check the validity of Perl scripts on your Web site.
I'm also wondering if you are using a unix or windows based server??? This would make a big difference in setting up your script.
Also have you tried running any of their free scripts just to see if they will work with your account.
Unoffical DBMan FAQ
http://creativecomputingweb.com/dbman/index.shtml/
use CGI::Carp qw/fatalsToBrowser/; # For testing only
-------------------
Other Suggestions:
In your .cfg file move the line:
$db_debug = 1;
up to above the line:
# File and URL's
That will be sure to catch any errors within the .cfg file itself.
=======================
In your cgi file near the top change:
$db_script_path = "http://www.limericks.org/cgi/dbman1";
back to the original of:
$db_script_path = ".";
There are only rare instances where this needs to be changed.
--------------------
In your .cgi file try replacing the this sub .... to see if it would reveal your errors.
sub cgierr { ### modified this for security .. to not show env variables when there is an error 5/20/2000
# --------------------------------------------------------
# Displays any errors and prints out FORM and ENVIRONMENT information. Useful for debugging.
if (!$html_headers_printed) {
print "Content-type: text/html\n\n";
$html_headers_printed = 1;
}
print "<PRE>\n\nCGI ERROR\n==========================================\n";
$_[0] and print "Error Message : $_[0]\n";
if ($db_debug) { #### added this line #######
$0 and print "Script Location : $0\n";
$] and print "Perl Version : $]\n";
$db_setup and print "Setup File : $db_setup.cfg\n";
$db_userid and print "User ID : $db_userid\n";
$db_uid and print "Session ID : $db_uid\n";
print "\nForm Variables\n-------------------------------------------\n";
foreach $key (sort keys %in) {
my $space = " " x (20 - length($key));
print "$key$space: $in{$key}\n";
}
print "\nEnvironment Variables\n-------------------------------------------\n";
foreach $env (sort keys %ENV) {
my $space = " " x (20 - length($env));
print "$env$space: $ENV{$env}\n";
}
print "\n</PRE>";
####### new lines ###########
}
else {
#This links to your e-mail if someone receive a link to this page
print "\n\nPlease e-mail the <A HREF=\"mailto: $error_email\">Webmaster</A> and report the error stated.";
}
##### end new lines ###########
exit -1;
}
---------------
I looked at the earthlink site to see if I could find anything related to their use of scripts and I did find that they offer a script called:
Perl Debugger
This CGI script allows you to check the validity of Perl scripts on your Web site.
I'm also wondering if you are using a unix or windows based server??? This would make a big difference in setting up your script.
Also have you tried running any of their free scripts just to see if they will work with your account.
Unoffical DBMan FAQ
http://creativecomputingweb.com/dbman/index.shtml/