a6e6s / slimstat

Automatically exported from code.google.com/p/slimstat
GNU General Public License v2.0
1 stars 0 forks source link

Stats fail to appear #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Clicking on any link in my Textpattern site.
2. Checking slimstat 2.0 page.
3. Failing to see the click recorded.

What is the expected output? What do you see instead?
I would expect to see all pages that are being accessed reflected in the stats.

What version of the product are you using? On what operating system?
I am using version 2.0 with textpattern 4.2.0.

Please provide any additional information below.

Original issue reported on code.google.com by arainoff...@gmail.com on 11 Nov 2009 at 4:13

GoogleCodeExporter commented 9 years ago
Are you including SlimStat via JavaScript or via PHP? You can find instructions 
here:

http://slimstat.net/install

Try un-commenting the error_log() calls in stats_include.php such as this one:

http://code.google.com/p/slimstat/source/browse/tags/slimstat-2.0/stats_include.
php#137

Then see if any messages appear in your error log.

Original comment by step...@wettone.com on 11 Nov 2009 at 10:44

GoogleCodeExporter commented 9 years ago
Including via PHP, though I also tried Javascript to see if it was a PHP issue. 
I
have error logging on, but I'm not getting any errors in the log. So obviously 
not a
problem with your code. :)

I note on the Textpattern forum that some other people have had similar 
problems with
this in the past - namely that slimstat will log correctly if it's an entry page
(directly input into the location bar of the browser), but no subsequent clicks
through the site.

Do you know at all if Txp is caching at all? Could something like this be 
causing the
problem?

Original comment by arainoff...@gmail.com on 11 Nov 2009 at 2:32

GoogleCodeExporter commented 9 years ago
You should probably also edit line 23 of index.php to turn SlimStat's error 
reporting
back on:

http://code.google.com/p/slimstat/source/browse/tags/slimstat-2.0/index.php

If that doesn't reveal anything, then try inserting some error logs at various 
points
inside stats_include.php to check whether the code is actually being executed. 
Start
at the top of the SlimStatRecord() function and work your way down.

I don't know if Txp is caching, but if you are including SlimStat via PHP and 
the PHP
is not being run each time then that is a likely candidate for the cause of the 
problem.

Original comment by step...@wettone.com on 11 Nov 2009 at 3:13

GoogleCodeExporter commented 9 years ago
Hi folks.
I'am using Slimstat 2.0 (SVN) within TXP 2.0 and php include (<txp:php> 
(...code here...) </txp:php>) and 
all works fine for me.You can contact me by mail if you need more details.

Many thx for this new version :D
I hope we could find the "path" module very soon in next realize.
Best regards.

Patrick (aka Pat64)

Original comment by patrick....@gmail.com on 11 Nov 2009 at 8:00

GoogleCodeExporter commented 9 years ago
It looks like this is no longer a problem, with no response after two weeks. It 
also
looks like this is a Textpattern problem, not a SlimStat problem, so I'm going 
to
close this ticket. Please re-open it if there is still a problem.

Original comment by step...@wettone.com on 27 Nov 2009 at 4:00