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

Unable to use "Validate"

Quote Reply
Unable to use "Validate"
I just transferred Links 2 to a new server and everything appears to work fine, except when I go to "validate" under the "Links" heading in Admin. I get the following error report:

CGI ERROR
==========================================
Error Message : unable to open validation file: /c31/dbenn/cgi-bin/links/admin/data/validate.db. Reason: No such file or directory
Script Location : admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
db : links
validate_form : 1

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /c31/dbenn
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : lastLogin=2451605.1806; LastLoginDT=03-01-2000%2006%3A06%20PM; sessionLogin=2451603.175; sessionLoginDT=02-28-2000%2005%3A50%20PM
HTTP_HOST : www.hauntworld.com
HTTP_REFERER : http://www.hauntworld.com/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.7 [en] (Win98; U)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : db=links&validate_form=1
REMOTE_ADDR : 209.214.6.132
REMOTE_PORT : 1026
REMOTE_USER : frightmistress
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/admin.cgi?db=links&validate_form=1
SCRIPT_FILENAME : /c31/dbenn/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SCRIPT_URI : http://www.hauntworld.com/cgi-bin/links/admin/admin.cgi
SCRIPT_URL : /cgi-bin/links/admin/admin.cgi
SERVER_ADMIN : webmaster@hauntworld.com
SERVER_NAME : www.hauntworld.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.6 (Unix) mod_ssl/2.3.3 OpenSSL/0.9.3a
TEMPLATE : commerce

*******************************

I checked with FTP to make sure the file was where it should be and everything appears to be correct. What should I look at now?

------------------
Hauntingly Yours,
Frightmistress
Quote Reply
Re: Unable to use "Validate" In reply to
The error message does not address the LOCATION of the file (like unable to find), but addresses a permission problem.

Make sure that all your data files in the /data/ directory are set to 666 (rw-rw-rw-) and that the /data/ and /backup/ directories are set to 777 (rwxrwxrwx).

Re-read the README file when you get into trouble.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Unable to use "Validate" In reply to
Eliot,

All files have the correct permissions set. Data files to 666, data and backup folders to 777.


I am unable to tell you the number of times I read my copy of the README file and the one on this site. I feel like I know that page by heart. Believe me when I tell you that I not only read the README but went back 100 days on this forum to find an answer before posting here.

I hope you have another idea. I would really love to have this working again since it already does have a large db now. Everything else about the script appears to work, even the quick link check which didn't work on the last server.

------------------
Hauntingly Yours,
Frightmistress
Quote Reply
Re: Unable to use "Validate" In reply to
Welp...that is the only suggestion I have.

Quote:
it already does have a large db now.

This could be your problem in terms of having a large number of links to validate. (Although you would see different things than the error message you received if your server was unable to process the large number of links to validate.)

What you can do is manually copy the links from the validate.db file into the links.db, and then re-number the linksid.txt file to the last ID number in the links.db.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Unable to use "Validate" In reply to
Thanks.

Although this does solve the problem, would it be possible for you to see if any of your "Links 2" gurus might have a solution?

------------------
Hauntingly Yours,
Frightmistress
Quote Reply
Re: Unable to use "Validate" In reply to
The solution might be to see if you only validate a few links at a time.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Unable to use "Validate" In reply to
I tried with only 1 link to validate and got the same error page.

------------------
Hauntingly Yours,
Frightmistress