Hi,
I may actually make this template based for the email - but won't have time for that today.
In the mean time, this would work:
In safe_jump.cgi, find:
..and change to:
if ($code_returned == 404)
$msg = "The URL on Link ID $id gave a 404 Page Not Found error. [ $code_returned ($STATUS_BAD{$code_returned}).]";
elsif ($code_returned == 400) {
$msg = "The URL on Link ID $id gave a 400 Bad Request Error. [ $code_returned ($STATUS_BAD{$code_returned}).]";
} else {
# backup
$msg = "An error has been found on your site for $id. The error message was: $code_returned ($STATUS_BAD{$code_returned}).";
}
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
I may actually make this template based for the email - but won't have time for that today.
In the mean time, this would work:
In safe_jump.cgi, find:
Code:
my $msg = "An error has been found on your site for $id. The error message was: $code_returned ($STATUS_BAD{$code_returned}).";..and change to:
Code:
my $msg; if ($code_returned == 404)
$msg = "The URL on Link ID $id gave a 404 Page Not Found error. [ $code_returned ($STATUS_BAD{$code_returned}).]";
elsif ($code_returned == 400) {
$msg = "The URL on Link ID $id gave a 400 Bad Request Error. [ $code_returned ($STATUS_BAD{$code_returned}).]";
} else {
# backup
$msg = "An error has been found on your site for $id. The error message was: $code_returned ($STATUS_BAD{$code_returned}).";
}
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!