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

Error validating links

Quote Reply
Error validating links
I get the following error when i try to validate links:


Error validating links:

Validate Error: 0. Couldn't find record in validation database


any ideas??????

New Guy

[This message has been edited by New Guy (edited April 25, 2000).]
Quote Reply
Re: Error validating links In reply to
Where is the 'log' file supposed to be?? I looked and couldn't find it.
Also, where is it supposed to be defined in links.cfg??

Thanks,

New Guy
Quote Reply
Re: Error validating links In reply to
Make sure that you have a "log" file defined in the links.cfg file. And make sure that this log file is set to 666 (rw-rw-rw-).

Also, make sure that your validate.db file is set to 666 (rw-rw-rw-).

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Error validating links In reply to
*sigh*

HINT: Use your Find in Page option in your Text Editor and you will find the words and variables you are looking for. And you should consider using something other than SimpleText if that is what you are using.

Wink

Anyway....

Look for the following variable in the links.cfg file:

Code:
$db_mailer_log

Set this variable to the ABSOLUTE PATH in your server (like in the $db_script_path) to your log file, like the following:

Code:
$db_mailer_log = '/absolute/path/to/cgi-bin/links/data/links.log';

Regards,


------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: Error validating links In reply to
Do i have to create that file??? I tried to, and the problem stayed the same.
Quote Reply
Re: Error validating links In reply to
Yes...you have to create the file and change the permission of the file to 666 (rw-rw-rw-).

Quote:
# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big

TAKEN from the links.cfg file.

BTW: Do you even have any links in your validate.db file?

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.




[This message has been edited by AnthroRules (edited April 26, 2000).]
Quote Reply
Re: Error validating links In reply to
Did that, still doesn't work. Try it for yourself if you would like:
http://weedbed.hypermart.net/cgi-bin/search/admin/admin.cgi

Thanks,

New Guy

PS: The path shouldn't be set to validate.db, but links.log right? Also, is links.log a empty text file, or a directory, because i have it as a text file, and that doesn't seem right.
Quote Reply
Re: Error validating links In reply to
*sigh*

Quote:
The path shouldn't be set to validate.db, but links.log right?

Yes...the path goes to the links.log in the links.cfg file. Sorry for the confusion...however, I was asking you if there were ANY links in the validate.db file. If there are NONE, then this is another source of your problem.

Quote:
Also, is links.log a empty text file, or a directory, because i have it as a text file, and that doesn't seem right.

YES...the links.log file is supposed to be completely empty...no codes, no characters, nada!

Wink

Okay..I looked at your ADMIN console, and your validate.db file is corrupted. You need to make sure that your linksid.txt is first set with 0 in the first line...nothing else.

I would recommmend the following:

1) Manually delete all entries in the validate.db by downloading the file to your computer...Then upload a blank validate.db file.

2) Then make sure that your linksid.txt file has a 0 in the first line. Then upload this file to your server.

3) Make sure that all database files, including *.txt files, in the data directory is set to 666.

4) Then try adding links and categories via the admin.cgi file. Then try it via the add.cgi file.

Regards,


------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.