Site stats

I’ve been experimenting with ShortStats, a site statistics collector. I was pleasantly surprised how easy it was to set up, although if you want this to run under Textpattern you’ll need to swap things around a bit…

Shortstats suggests putting their PHP include line at the top of your files, so I go to put it in the page template in TextPattern, only to find it gives me a database error – I’m guessing that Textpattern holds a lock on the database while it’s loading, so ShortStats can’t get access to it. So you need to delay ShortStats until after Textpattern has finished doing its magic, as described on Jon Hick’s site.

Anyway, if you’re interested, you can take a look at ”/shortstat/” in my root directory. Expect the figures to remain pitifully low for quite some time…

· 2004-10-16 ·

  1. Hello! HÃ¥var Fredriksen    Aug 25, 02:03 AM    #

Commenting is closed for this article.