RE: Validator Help

Hello Oliver -

I checked the things you suggested and put my comments below.

> - check the (beta) installation guide here, and verify that you did not
> forget any of the steps.
> http://validator.w3.org:8001/docs/install

I could not access the install document above.

> - look at your (Web) server log errors. If the validator always returns
> "invalid", chances are it spits out error messages.

I checked and found this error message:
[Wed Jan 07 17:47:35 2004] [error] [client 192.168.1.95] [Wed Jan  7 
17:47:34 2004] check: Use of uninitialized value in pattern match (m//) 
at /var/www/html/validator/check line 744., referer: 
http://192.168.1.17/dev/tests/

Here is the code found at line 744:
   if ($File->{ESIS}->[-1] =~ /^C$/) {
     undef $File->{ESIS}->[-1];
     $File->{'Is Valid'} = TRUE;
   } else {
     $File->{'Is Valid'} = FALSE;
   }

> - Do you have openSP installed? Which version? (onsgmls --version) Have
> you tried running OpenSP directly (command line)? Check e.g the
> following for command-line usage:
> http://lists.w3.org/Archives/Public/www-validator/2003Oct/0065.html

I have openSP installed.
/var/www/html/validator$onsgmls -version
onsgmls:I: OpenSP version "1.3.4"

> - Did you install the SGML lib, too?
> http://validator.w3.org/sgml-lib.tar.gz

Yes, I did install the SGML lib.

> - Did you copy and edit the config at /etc/w3c/validator.conf ?

Yes, I used the check.cfg file to create my validator.conf file.

I get a page returned to me after I try to validate a page, and it has 
all of the same properties that the validator at validator.w3.org has, 
except mine keeps saying that the pages aren't valid when the test 
pages should be perfectly fine.  I also do not get the lines that are 
causing the problems.  The w3 validator will tell you which lines cause 
the errors to occur, but mine just says "This page is not Valid HTML 
4.01 Transitional".

Thanks again,
David
___________________________
David Taylor
Database Specialist
Rapidparts Inc.
616.647.3108
dtaylor@rpionline.com

-----Original Message-----
From: olivier Thereaux [mailto:ot@w3.org]
Sent: Wednesday, January 07, 2004 4:52 PM
To: David Taylor
Cc: www-validator@w3.org
Subject: Re: Validator Help

Hello David,

On Jan 8, 2004, at 2:41, David Taylor wrote:
> I've got the Validator setup on a linux machine on our internal
> network and have managed to get things work, for the most part. 
[but...]

I am not sure what causes you problem, but I think we can help you find
out:

- check the (beta) installation guide here, and verify that you did not
forget any of the steps.
http://validator.w3.org:8001/docs/install

- look at your (Web) server log errors. If the validator always returns
"invalid", chances are it spits out error messages.

- Do you have openSP installed? Which version? (onsgmls --version) Have
you tried running OpenSP directly (command line)? Check e.g the
following for command-line usage:
http://lists.w3.org/Archives/Public/www-validator/2003Oct/0065.html

- Did you install the SGML lib, too?
http://validator.w3.org/sgml-lib.tar.gz

- Did you copy and edit the config at /etc/w3c/validator.conf ?

Tell us your findings, and thanks for installing the validator.
-- 
olivier

Received on Wednesday, 7 January 2004 18:08:17 UTC