- From: Philippe Wittenbergh <phiw13@gmail.com>
- Date: Thu, 14 Oct 2004 22:43:48 +0900
- To: www-validator@w3.org
On Thu, 14 Oct 2004 18:56:39 +0900, olivier Thereaux <ot@w3.org> wrote:
>[...]
> > However, when I try to validate a file (either via http:// or via file
> > upload), the validator returns the following error:
> >
> > [quote]
> > Software error:
> >
> > Can't use string ("") as a HASH ref while "strict refs" in use at
> > /Library/WebServer/Documents/validator/htdocs/check line 1504.
> > [/quote]
> >
> > Is this a problem in the validator itself, or did I miss something
> > (possibly in the required Perl modules) ?
>
> As far as I know, the validator installs just fine on osX, so it's
> probably not a validator bug, but who knows...
>
> From the error message you quote, I think the line of code where it
> fails is the following:
> [[ $type = $CFG->{'File Type'}->{$ct} || $ct; ]]
> knowing that, the first thing I would do is to check, in the
> configuration file for the validator:
>
> that the line "File Type
> file:///Library/WebServer/Documents/validator/htdocs/config/type.cfg"
> in your configuration file does not have ay typo, and that the file
> type.cfg is indeed in the
> /Library/WebServer/Documents/validator/htdocs/config/ directory.
>
> Could you check that and get back to us?
Unfortunately:
The file (type.cfg) is there where it should be;
double checking the validator.conf file doesn't reveal any typo.
>
> Also, you may want to check the web-dev list at apple, see if anyone
> else ran into the same issue.
> http://lists.apple.com/mailman/listinfo/web-dev
The only relevant message on that list has been posted by me, a few days ago.
(I did check through my Apache errorlog, but nothing relevant to this
issue popped up).
Regards,
Philippe
--
p._/_
http://emps.l-c-n.com
Received on Thursday, 14 October 2004 13:43:49 UTC