Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: hit_logger plugins alpha v0.9.05 now available!
colak wrote:
I take it that you did not look into the referrer url yet…
I fixed that 30 seconds after you pointed it out in the previous build! Can you go into your plugins screen and edit the hit_viewer code? Scroll to the bottom and see if there’s a comment with the version. Something like:
<pre>
/*
** $LastChangedBy: LeeStewart $
** $LastChangedDate: 2005-09-15 21:37:59 -0400 (Thu, 15 Sep 2005) $
** $LastChangedRevision: 93 $
*/
</pre>
Thanks,
[Lee]
Monkeys could have written a better post..
Offline
Re: hit_logger plugins alpha v0.9.05 now available!
> LeeStewart wrote:
> Feel free to try something like this on the section that’s handling your 404s (go to “extensions:logger prefs” and specify the appropriate value for log_default_404_url):
Really cool, Lee, works great. I wonder if you could tuck in a tag like txp:hit_logger_if_referer, in order to fine tune even more the 404 section output. (If there’s no referer, eg when someone just makes a typo, it would be nice to be able to omit the “ask so-and-so to fix their link” text.)
-Alan
-Alan
Offline
Re: hit_logger plugins alpha v0.9.05 now available!
schussat wrote:
Really cool, Lee, works great. I wonder if you could tuck in a tag like txp:hit_logger_if_referer, in order to fine tune even more the 404 section output.
Done! It’ll be in the next release.
I’m not sure how I missed that tag, somehow it wasn’t listed in my requirements with the other tags…
[Lee]
Last edited by LeeStewart (2005-09-16 19:06:40)
Monkeys could have written a better post..
Offline
Re: hit_logger plugins alpha v0.9.05 now available!
> LeeStewart wrote:
> NeilA, is the system collect page hits? If you go into “View Details” page, what are the bottom two values in the “Quick Stats” list?
> It should look something like:
> First hit: 2005-09-08 20:02:03
> Last hit: 2005-09-15 23:49:46
Yep, sure is.
Apart from the db ‘errors’, it’s all working as expected.
Duplicated this on another site as well… but I’m not sure if I have the latest release, so will check that today.
If it’s relevent, all these sites are on Dreamhost.
Cheers
Offline
Re: hit_logger plugins alpha v0.9.05 now available!
NeilA, what are those bottom two values in the “Quick Stats” list?
Dreamhost shouldn’t be an issue, I have this running on three sites that are hosted with them. Although they have the option to run as CGI, FastCGI, PHP 5, Extra Web Security, etc – so who knows?
[Lee]
Monkeys could have written a better post..
Offline
Re: hit_logger plugins alpha v0.9.05 now available!
> LeeStewart wrote:
> NeilA, what are those bottom two values in the “Quick Stats” list?
First hit: 2005-09-16 02:23:12
Last hit: 2005-09-16 15:14:33
(Ths is a very new site, almost no vistors yet!)
> Dreamhost shouldn’t be an issue,
No, I didn’t think so – as I’m assuming your plugin gets the db info fron the config.php…
Cheers
Offline
Re: hit_logger plugins alpha v0.9.05 now available!
> LeeStewart wrote:
> bq. colak wrote:
I take it that you did not look into the referrer url yet…
I fixed that 30 seconds after you pointed it out in the previous build! Can you go into your plugins screen and edit the hit_viewer code? Scroll to the bottom and see if there’s a comment with the version. Something like:
<pre>
/*
** $LastChangedBy: LeeStewart $
** $LastChangedDate: 2005-09-15 21:37:59 -0400 (Thu, 15 Sep 2005) $
** $LastChangedRevision: 93 $
*/
</pre>
Thanks,
[Lee]
Hi lee,
My mistake. I have followed your instructions but I have re-installed the old plug in.. All is fine
Last edited by colak (2005-09-17 09:54:32)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#20 2005-09-17 12:04:39
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: hit_logger plugins alpha v0.9.05 now available!
What am I doing wrong???
When installing both plugins I experienced about the same things as NeilA did, but eventually everything showed up fine. In logger prefs I set everything to ‘yes’, in Admin > Preferences: Logging: all hits, disable_hit_logger: no. The tables are there, they just remain very empty… it’s not logging anything! There have been hits, TXP is logging them, in the txp_log table some 150 hits were logged since I activated the plugins. It’s also not redirecting to the 404 page I entered in logger prefs.
I’m sure I forgot to do ‘something’, but what???
Offline
Re: hit_logger plugins alpha v0.9.05 now available!
Well Lee, I installed it last night (my time) without error, except the expected one, and it seems to have been running fine so far (about 8 hours). And my lovely 404 is now accessible. Yay! :) So what’s next then?
And what you doin’ Els?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#22 2005-09-17 13:29:37
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: hit_logger plugins alpha v0.9.05 now available!
thebombsite wrote:
And what you doin’ Els?
If I only knew…
Just uninstalled en reinstalled, now I’ll wait for an hour or so for some hits. What I can say now is that it’s not logging my own hits, and not redirecting to the 404 page :(
Offline
Re: hit_logger plugins alpha v0.9.05 now available!
Have you put the path to your 404 such as in mine it is:-
thebombsite.com/error/hal404.php ?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#24 2005-09-17 13:38:45
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: hit_logger plugins alpha v0.9.05 now available!
Yep, except mine is an article, not a file. This is what I entered: doggiez.nl/foutje/404-niet-gevonden, and I can access that url directly in the browser without a problem.
It just crossed my mind that I added an extra line in txp_log.php (like this), to remove my own hits from the logs. Could that be related?
Offline