Wooho!
I just found the problem
The Bad_Links.def file wasn't being updated. I forgot it was using that so I had to add in the new field properties manualy...
'Reason' => {
'form_size' => '30',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '7',
'size' => '150',
'type' => 'VARCHAR'
}
Everythings bad link reports are working great now. Sometimes a little sleep goes a long way.
Here's the rest of the bad_link.cgi changes that got it working:
# Define the variables
# ---------------------------------------------------
my ($id, $db_links, $rec, $confirm, $reason);
# Get the Links ID number from the input.
$id = $IN->param('ID');
$confirm = $IN->param('confirm');
$reason = $IN->param('Reason');
...
$db_bad_links->add ( { LinkID => $id,
URL => $rec->{'URL'},
Title => $rec->{'Title'},
IP => $ENV{'REMOTE_ADDR'},
Reason => $reason
} );
I think that should solve your problem as well DemolitionCrew. Thanks for you help everybody! Some nice info to know.
Later
I just found the problem
The Bad_Links.def file wasn't being updated. I forgot it was using that so I had to add in the new field properties manualy...
'Reason' => {
'form_size' => '30',
'form_type' => 'TEXT',
'not_null' => '1',
'pos' => '7',
'size' => '150',
'type' => 'VARCHAR'
}
Everythings bad link reports are working great now. Sometimes a little sleep goes a long way.
Here's the rest of the bad_link.cgi changes that got it working:
# Define the variables
# ---------------------------------------------------
my ($id, $db_links, $rec, $confirm, $reason);
# Get the Links ID number from the input.
$id = $IN->param('ID');
$confirm = $IN->param('confirm');
$reason = $IN->param('Reason');
...
$db_bad_links->add ( { LinkID => $id,
URL => $rec->{'URL'},
Title => $rec->{'Title'},
IP => $ENV{'REMOTE_ADDR'},
Reason => $reason
} );
I think that should solve your problem as well DemolitionCrew. Thanks for you help everybody! Some nice info to know.
Later