Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [afinlr] updating bad link table

Quote Reply
Re: [afinlr] updating bad link table In reply to
Wooho! Sly

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
Subject Author Views Date
Thread updating bad link table Demolitioncrew 8048 Mar 20, 2003, 12:03 PM
Thread Re: [Demolitioncrew] updating bad link table
afinlr 7787 Mar 20, 2003, 12:18 PM
Thread Re: [afinlr] updating bad link table
Demolitioncrew 7826 Mar 20, 2003, 12:24 PM
Thread Re: [Demolitioncrew] updating bad link table
afinlr 7803 Mar 20, 2003, 12:33 PM
Thread Re: [afinlr] updating bad link table
Demolitioncrew 7842 Mar 20, 2003, 12:41 PM
Thread Re: [Demolitioncrew] updating bad link table
afinlr 7847 Mar 20, 2003, 12:47 PM
Thread Re: [afinlr] updating bad link table
Demolitioncrew 7813 Mar 20, 2003, 12:55 PM
Thread Re: [Demolitioncrew] updating bad link table
Paul 7784 Mar 20, 2003, 1:19 PM
Thread Re: [Paul] updating bad link table
Demolitioncrew 7794 Mar 20, 2003, 1:53 PM
Thread Re: [Demolitioncrew] updating bad link table
Jonze 7799 Mar 20, 2003, 9:59 PM
Thread Re: [Jonze] updating bad link table
Demolitioncrew 7753 Mar 20, 2003, 10:03 PM
Post Re: [Demolitioncrew] updating bad link table
Jonze 7752 Mar 20, 2003, 10:18 PM
Thread Re: [Jonze] updating bad link table
afinlr 7823 Mar 21, 2003, 5:31 AM
Thread Re: [afinlr] updating bad link table
Jonze 7775 Mar 21, 2003, 8:40 AM
Thread Re: [Jonze] updating bad link table
afinlr 7771 Mar 21, 2003, 8:48 AM
Thread Re: [afinlr] updating bad link table
Jonze 7750 Mar 21, 2003, 9:07 AM
Thread Re: [Jonze] updating bad link table
pugdog 7742 Mar 21, 2003, 9:35 AM
Thread Re: [pugdog] updating bad link table
Jonze 7750 Mar 21, 2003, 11:30 AM
Thread Re: [Jonze] updating bad link table
Paul 7714 Mar 21, 2003, 12:14 PM
Thread Re: [Paul] updating bad link table
ronzo 7721 Mar 21, 2003, 1:46 PM
Thread Re: [ronzo] updating bad link table
Paul 7729 Mar 21, 2003, 4:11 PM
Thread Re: [Paul] updating bad link table
ronzo 7727 Mar 21, 2003, 5:07 PM
Post Re: [ronzo] updating bad link table
pugdog 7665 Mar 22, 2003, 11:19 AM