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

Rating (Can not be left blank)

Quote Reply
Rating (Can not be left blank)
When a user is trying to modify a link, this message is shown:

Rating (Can not be left blank)
Votes (Can not be left blank)
ReceiveMail (Can not be left blank)

I am using final version of Links.

The script has been acting very fine since I set it up February 11. (except the error shown above)
-----------------------------------------
A few hours later:
The reason why it did not work was because I used the version 1.11 link.db file. I can remember now that I earlier took it down and added two or three extra fields manually. Since the link.db only just about a 100 links I took it down again and added 0|0|No -at the end of each field.

And it seems to work fine now.

TJ

[This message has been edited by TJ (edited March 23, 1999).]
Quote Reply
Re: Rating (Can not be left blank) In reply to
Were you using a beta of Links v2 previously? If so, upload the add.cgi and modify.cgi from the final release and overwrite the beta versions. Then, check your links.def file to ensure that the following is included:

Code:
# System defaults. When adding new links or modifying links, these fields
# can not be overwritten by a user.
%add_system_fields = (
isNew => 'No',
isPopular => 'No',
Hits => '0',
Rating => 0,
Votes => 0,
ReceiveMail => 'Yes'
);

That should stop that error from happening.