Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Did anybody try mint?
jstubbs-
Something is wonky with your .htaccess setup I believe. Not sure what to tell you specifically though. I’m no .htaccess guru.
If I use definative urls ie:
http://highperformancetennis.com/programs/index.php
http://highperformancetennis.com/about/index.php
Then the hits get logged.
Offline
Re: Did anybody try mint?
Hi soulship, that’s my point too – definitive URL’s get logged but not much else :-)
Here is the .htaccess file. It is the default file that goes with TXP.
<code>#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php </IfModule>#php_value register_globals 0</code>
Offline
Re: Did anybody try mint?
I wonder is Stuart or someone else running SlimStat on TXP could answer the question of how to get stats working on other pages apart from the homepage? I get the stats to work if entering the full URL in the URL bar but not if going from the homepage to other pages, or rather, I don’t see them tracked.
The URL to SlimStats is in a previous post if someone cares to take a look.
Offline
Re: Did anybody try mint?
On my site SlimStat just worked “out of the box” and recorded all pages which were rendered by textpattern (/section/article url mode).
You could try to invoke http://highperformancetennis.com/slimstat/inc.stats.php directly. If everthing works fine, you should find a new row in the table you configured for Slimstats use (check with phpMyAdmin or any other db tool)
Slimstat records resources by executing this line of php: $stat["resource"] = SlimStat::my_esc( $_SERVER["REQUEST_URI"] );
Do you use any plug-in which could interfere with textpattern’s built-in url handling?
Try moving the include_once($_SERVER["DOCUMENT_ROOT"]."/slimstat/inc.stats.php");
directive to the very start of /index.php, so it gets a chance to run before anything else mangles REQUEST_URI.
Offline
Re: Did anybody try mint?
Hi, invoking inc.stats.php directly does not work, as you can probably see. I moved the include to the start of index.php, and I don’t see any difference.
I don’t believe I have any plugin that interferes with URL handling. I have:
aba_image_import
ako_nav
etz_crumbs
glx_admin_image
rss_thumbpop
stw_category_tree
upm_img_popper
zem_contact
Maybe its just me – if you go through pages do you see the stats reflecting the visits? I can see visits to pages, but I don’t know if you are accessing the URL directly or going through the site.
Offline
Re: Did anybody try mint?
I still can’t get this to work as it should. The pages I visit or those my visitors go to are not recorded. In fact, I get a lot of visits or referrals to favicon.ico and /blogs/wp-atom.php and I have no idea why.
Offline
Re: Did anybody try mint?
I’m not sure if this will make a difference but I always remove the @ sign at the beginning of that “include” code line.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Did anybody try mint?
No difference at all when I remove the @ at the beginning of the include file. In the stats I can see some people have moved from one page to another – in the “paths” portion of the stats. However, when I visit and move around all I see is the homepage showing up.
Since I have no idea what others do, its hard to tell whether the stats work or not.
Offline
Re: Did anybody try mint?
I have indeed been thinking about using Mint. The only thing that really irks me is the fact that it is so hyped. This is not bad of course, but I often sense a form of skepticism when things get hyped in such an aggressive manner.
Offline
Re: Did anybody try mint?
jstubbs – when you are inside SlimStat have you clicked on your IP address to show the details?
Last edited by thebombsite (2005-12-04 15:37:58)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Did anybody try mint?
Stuart, I think I looked at everything! The URL is here: http://highperformancetennis.com/slimstat/
Maybe you can see something I can’t!
Jonathan
Offline
Re: Did anybody try mint?
Now I know what you are talking about! You’ve added the “Paths” plug-in. I don’t have that. Let me go install it and I’ll see what I get.
Back again. OK I installed it and it seems to be working for me. One thing I have noticed that may have confused you is that your visits, or anybody’s latest visit, aren’t necessarily at the top of the page. If you or whoever came to the site earlier in the day, their current browsing will be logged as a continuation of their first visit which means they could well be down at the bottom of the page. It seems to keep adding visits by the same IP to a single list.
Last edited by thebombsite (2005-12-04 21:41:04)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline