Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

date error when trying to add a url

Quote Reply
date error when trying to add a url
I've just installed 1.1x at my website,
and in testing out the add url feature I
find that I am running into the same error
everytime I attempt to add a url. It says
the following:

"There were the following errors trying to add your resource:

-Date (missing)

Please make any changes and try again!"

Any ideas on this one?

Cheers!

Cynthia
Quote Reply
Re: date error when trying to add a url In reply to
In add.cgi, sub process_form, make sure this appears:

Code:
sub process_form {
# --------------------------------------------------------
my ($key, $status, $line, $output);

# This will set system fields like Validated to their proper values.
foreach $key (keys %add_system_fields) {
$in{$key} = $add_system_fields{$key};
}
# Set date variable to today's date.
$in{$db_cols[$db_modified]} = &get_date;

The last two lines is what you should be looking for.

I hope this helps.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/