I'm no longer developing this.
YAC is a web counter and logger written in Perl
Copyright (C) 2001-2002 Roland "Robelix" Obermayer
Current Version: 0.6.3
Development Status:
Counter (yac.pl) - seems to be stable
Log-analyzer (yac-stat.pl) - beta (running quite stable, but not feature complete)
< Main / Features / Download / Requirements / Documentation / Changelog / License / Comments >
YAC only counts "real" visits - it only increases the counter if there was no request from the same IP within one hour, but logs every page hit.
It has 3 modes (text, graphic and quiet) and a configurable minimum number of digits.
It's fine for free/cheap servers where you have no access to the server-logs.
It uses flock() for all file-operations to avoid courrupt data.
Log-analyzer-script that produces (maybe too) detailed statistics about visits/day, accessed pages, browsers and operating systems
< Main / Features / Download / Requirements / Documentation / Changelog / License / Comments >
File |
Size |
Date |
| 19 KB | 01/01/2002 | |
| 18 KB | 10/10/2001 | |
| 17 KB | 22/07/2001 | |
| 17 KB | 13/07/2001 | |
| 11 KB | 20/04/2001 | |
| This are gzip compressed tar-archives, a standard format on unix - can be opened with tools like Winzip, too. | ||
< Main / Features / Download / Requirements / Documentation / Changelog / License / Comments >
An Apache server running on Unix (so far tested with Linux only) with SSI (server side includes) enabled.
Perl 5 with the CGI and Fnctl modules (should be on every Unix machine)
The Right to run own cgi-scripts on the server
If you want graphic output you need a set of digit-images, a more than complete collection can be found here
< Main / Features / Download / Requirements / Documentation / Changelog / License / Comments >
Changes to yac-stat.pl: fixed date formatting bug, now correctly detects Opera 6 and Galeon, cleaned up some browser detection code a bit.
Changes to yac-stat: Cleaned up configuration, improved browser / system detection, improved speed
Bugfix in yac.pl
log-analyzer (yac-stat.pl) added, minor changes to yac.pl
First public release
< Main / Features / Download / Requirements / Documentation / Changelog / License / Comments >
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
< Main / Features / Download / Requirements / Documentation / Changelog / License / Comments >
Messages 1 - 7 of 7
[Add New]
Sun, 10.Mar.2002 17:18, Unintialized value in concatination (.) from Rick Philbrick [Mail]
Hi,
I got the counter working but not the log analyzer. For the logAnalyzer i used the sample html page. When i call the page i get the following error..
Use of uninitialized value in concatenation (.) at /var/www/cgi-bin/yac-stat.pl line 209.
All the data files have some data.
Side note-- in the tarball there is a file called .directory, i don't see any mention of it in the doc, whats it for??
RIckp
[reply]
Wed, 20.Mar.2002 6:57, Re: Unintialized value in concatination (.) from Rick Philbrick [Mail]
Oh,
Over the weekend I had a minute to see if the double quotes in the configuration section caused this script to be cranky, so i used single quotes and got better results.
RIckp
[reply]
Tue, 19.Feb.2002 1:48, counter images same on all pages from brenden [Mail]
My log looks like it's tracking the pages fine (and seperate), but every page has the same
number of hits on it.
I formatted my shtml tag exactly like in the docs.. No real biggie, just thought I'd mention it.
[reply]
Mon, 25.Feb.2002 21:20, Re: counter images same on all pages from robelix [Mail]
That's exactly what I wanted - it counts the total number of visitors - of all pages together
The hits per page are in the statistics created by yac-stat.pl
If you want a seperate counter for every single page you'll have to look for something else, or try to change it yourself
Roland
[reply]
Sun, 3.Mar.2002 14:58, Re: Re: counter images same on all pages from brenden [Mail]
Ah, that explains it. I wasn't quite sure if that's the way it was supposed to work.
Thanks for a quick easy counter!
[reply]
Sun, 20.Jan.2002 19:46, yac-stat error - Use of uninitialized value in localtime at /opt/apache/cgi-bin/yac-stat.pl line 306 from brenden [Mail]
When I try to get stats I get the following error:
Use of uninitialized value in localtime at
/opt/apache/cgi-bin/yac-stat.pl line 306
I'm using the example HTML for the page (with a
change to the cgibin dir of course). I double/triple
checked my paths and they all appear fine.
I'm just starting to learn perl, probably could figure it
out if I knew more ;-)
[reply]
Tue, 22.Jan.2002 21:15, Re: yac-stat error - Use of uninitialized value in localtime at /opt/apache/cgi-bin/yac-stat.pl line 306 from robelix [Mail]
I'm sure it is no bug depending on wrong paths!
I was recently told that it produces an error message if the log is empty - maybe it's this one...
I'm going to check and fix it soon.
[reply]
Thu, 24.Jan.2002 22:14, Re: Re: yac-stat error - Use of uninitialized value in localtime at /opt/apache/cgi-bin/yac-stat.pl line 306 from brenden [Mail]
My log.txt file has tons of data in it.
I just checked things over, the log.txt lines have a final
pipe with no data after it. Appears that the $ref isn't
initialized due to no data in the log. Looks like yac.pl
removes this if the referrer is the host system?
If you'd like me to send my log.txt, let me know.
[reply]
Thu, 24.Jan.2002 22:19, Re: Re: Re: yac-stat error - Use of uninitialized value in localtime at /opt/apache/cgi-bin/yac-stat.pl line 306 from brenden [Mail]
Ack, sorry, that was after I commented out line 302
which is the same error on chop($ref).
[reply]
Thu, 24.Jan.2002 22:20, Found Problem - Use of uninitialized value in localtime at /opt/apache/cgi-bin/yac-stat.pl line 306 from brenden [Mail]
This appears to have been due to an empty line at
the end of the file, probably caused it myself.
[reply]
Tue, 30.Okt.2001 17:14, retry: minor typo in yac-stat.pl (v 0.6.2, line: 247) from sopi
sorry, forgot to write the typo in the prev msg:
at the end of the line (see subject):
Dez should be Dec
sopi
[reply]
Tue, 22.Jan.2002 21:12, Re: retry: minor typo in yac-stat.pl (v 0.6.2, line: 247) from robelix [Mail]
fixed in 0.6.3
[reply]
Tue, 30.Okt.2001 17:09, minor typo in yac-stat.pl (v 0.6.2, line: 247) from sopi
hi,
great stuff!
i just customized a bit when noticed a tiny tipo, see subject.
regards,
sopi
[reply]
Mon, 24.Sep.2001 20:53, error on line 468 of yac-stat.pl from Ron Glenn
Hi,
The counter script works great! (version 5.0)
But I am having trouble with the statscript. (version 6.1)
I get the following error when running the script:
Cannot open file at /path/to/script/yac-stat.pl line 468.
It looks like it is not able to opren the count.txt file. I have the correct path to the file set in the config and all the file permissions are correct. Like I said the counter script works fine. Could it be an issue caused by running an older version of the counter?
Thanks,
Ron
[reply]
Sun, 21.Okt.2001 14:13, Re: error on line 468 of yac-stat.pl from Robelix [Mail] [URL]
Sorry, this was some forgotten testing-stuff there - it's solved in 0.6.2
[reply]
Fri, 14.Sep.2001 12:58, YAC from Jon [URL]
I like yac, I've used it in conjunction with my website which is now a perl program rather than straightforward html pages, and the integration wasn't painless at all. I've also modified it in the past to work with the GD library and generate on the fly png's without much difficulty at all :)
[reply]
Tue, 22.Jan.2002 21:17, Re: YAC from robelix [Mail]
I also like the combination of SSI and perl - some of my pages contain up to 10 includes...
[reply]
powered by Pappalapapp




