[Bug 6524] New: ?Use of uninitialized value / substr outside of string? errors filling server logs

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6524

           Summary: “Use of uninitialized value / substr outside of string”
                    errors filling server logs
           Product: Validator
           Version: 0.8.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: check
        AssignedTo: ot@w3.org
        ReportedBy: ot@w3.org
         QAContact: www-validator-cvs@w3.org


The following errors are not critical to the function of the validator, but
cause countless lines of error output to apache's error log. They should be
fixed/muted.

# cat error.log | grep "[error]" | sed 's/.*client.*] //' | sed 's|, referer:
http://validator.w3.org/||' | head -100000 | sort | uniq -c | sort -nr | head

  63640 check: Use of uninitialized value $line in length at
/usr/local/validator/httpd/cgi-bin/check line 1720.
  26691 check: Use of uninitialized value $line in length at
/usr/local/validator/httpd/cgi-bin/check line 1727.
   1735 check: substr outside of string at
/usr/local/validator/httpd/cgi-bin/check line 2040.
   1735 check: substr outside of string at
/usr/local/validator/httpd/cgi-bin/check line 2016.
   1590 check: Use of uninitialized value $line in length at
/usr/local/validator/httpd/cgi-bin/check line 1739.
   1531 check: Use of uninitialized value $line in substr at
/usr/local/validator/httpd/cgi-bin/check line 1739.
    952 File does not exist: /usr/local/validator/htdocs/favicon.ico
    171 check: Use of uninitialized value $line in substr at
/usr/local/validator/httpd/cgi-bin/check line 1747.
    171 check: substr outside of string at
/usr/local/validator/httpd/cgi-bin/check line 1742.
    170 check: Use of uninitialized value $line in length at
/usr/local/validator/httpd/cgi-bin/check line 1724.

Line numbers relevant only to 0.8.4 release


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 3 February 2009 00:16:39 UTC