Gossamer Forum
Home : Products : Links 2.0 : Discussions :

No date?

Quote Reply
No date?
Anyone happen to know what this error means and how to solve it - I've not seen it before:

(Occurs when building):

Warning: No date for line: 1|Title|http://url.com/|26-Oct-2001|Miscellaneous/Automobile|Bla Bla Description.|bla bla keywords|Admin|admin@website.com|0|No|No|0|0|No

Skipping..

I get this for all links in the database but it carries on building.


Last edited by:

RedRum: Oct 26, 2001, 8:43 AM
Quote Reply
Re: [RedRum] No date? In reply to
I've never seen it before either but in sub build_newpop, i can see that it says if there is no db_modified show the error.
Code:
# Now go through the links database and update new links, and
# add the hits.
open (DB, "<$db_file_name") or &cgierr("unable to open database: $db_file_name.\nReason: $!");
if ($db_use_flock) { flock(DB, 1); }
LINE: while (<DB>) {
/^#/ and next LINE; # Skip comment Lines.
/^\s*$/ and next LINE; # Skip blank lines.
chomp; # Remove trailing new line.
@values = &split_decode($_);
$values[$db_modified] or print "Warning: No date for line: $_. Skipping..\n" and next LINE;

I too wonder why you would get that when you have the date there.
Lavon Russell
LookHard Mods
lavon@lh.links247.net
Quote Reply
Re: [Bmxer] No date? In reply to
Ah. Thanks!

I better double check links.def