This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Installed W3C-Logvalidator and try to run >logprocess -f logprocess.conf Can't use string ("\var\log/apache/access.log combi") as an ARRAY ref while "str ict refs" in use at C:/Perl/site/lib/W3C/LogValidator/Config.pm line 167. I am running Windows XP SP2 Perl version as below C:\Program Files\W3C-LogValidator>perl -v This is perl, v5.10.0 built for MSWin32-x86-multi-thread (with 3 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 1002 [283697] provided by ActiveState http://www.ActiveState.com Built Jan 10 2008 11:00:53 Any help would be much appreciated.
Hello, "\var\log/apache/access.log" looks odd, are you sure this is the path to your logs? I'll try to look at why it triggers such an error.
(In reply to comment #1) > Hello, > "\var\log/apache/access.log" looks odd, are you sure this is the path to your > logs? > I'll try to look at why it triggers such an error. Olivier many apologies for the typo I tried so many log combinations. The issue appears to be that the process is failing before it attempts to open the file whether the file exists or not. I have tried the following location examples and some more besides. Can't use string ("\var\log\apache\access.log combi") as an ARRAY ref while "strict refs" in use at C:/Perl/site/lib/W3C/LogValidator/Config.pm line 167. Can't use string ("/var/log/apache/access.log combi") as an ARRAY ref while "strict refs" in use at C:/Perl/site/lib/W3C/LogValidator/Config.pm line 167. Can't use string ("'c:\weblogs\access.log' combined") as an ARRAY ref while "strict refs" in use at C:/Perl/site/lib/W3C/LogValidator/Config.pm line 167. Can't use string ("c:\weblogs\access.log combined") as an ARRAY ref while I tried looking at the perl and docs etc. to debug but it was a bit beyond me I'm afraid as I have a very basic knowledge just about sufficient to install and run etc.
Created attachment 602 [details] proposed patch Patch proposed (off-list) by Colm Dougan. To be tested.
(In reply to comment #3) > Created an attachment (id=602) [details] > proposed patch > > Patch proposed (off-list) by Colm Dougan. To be tested. I applied Colm's patch and am moving forward with a release.