DragonflyCMS Projects > Audit (IP Tracker) > IP Tracker stops tracking after 1000 Tracks > Community Forums > Phoenix Netology
Forum Index > Management > Audit (IP Tracker)

IP Tracker stops tracking after 1000 Tracks Reply to topic


Hi !

I have a problem, that the IPTracker stopped tracking now the 2nd time (I did new installation in between)
My config file is set to the following:
$ipmax = 100000; //How Many IP Tracking Records Do You Want As A Maximum? $ipdel = 10000; //Delete How Many IP Tracking Records When Maximum Reached? $numip = 100; //Display How Many IP Tracking Records Per Page? $hide_ipseg[1] = 0; //Hide First Segment of the IP Address? (1=Yes 0=No) $hide_ipseg[2] = 0; //Hide Second Segment of the IP Address? (1=Yes 0=No) $hide_ipseg[3] = 0; //Hide Third Segment of the IP Address? (1=Yes 0=No) $hide_ipseg[4] = 0; //Hide Fourth Segment of the IP Address? (1=Yes 0=No) $hide_host = 0; //Hide Hostname? (1=Yes 0=No) $ipmaskchar = "x"; //IP Address Masking Character $members_see_iphost = 0; //Ignore Hide IP segments and Hostnames for Members? (1=Yes 0=No) $members_see_users = 1; //Let Members see User Names? (1=Yes 0=No) $members_profile = 1; //Show Members profile link (1=Yes 0=No) $show_hits = 0; //0=show to all, 1=only show to members, 2=only show to anonymous $members_see_online = 1; //Let Members see who is Online? (1=Yes 0=No) $admin_see_online = 1; //Let Admin see who is Online? (1=Yes 0=No) $updown_arrows = 1; //Show Up/Down arrows for ASC/DESC sorting (1=Yes 0=No)

... so I would say IPTracker should normally delete old tracks and get new ones ... but it seems that in my case it doesn't do it !??
When looking on "All Modules" I got exactly 10 pages with 100 tracks on it so in sum 1000 Tracks.

Any ideas ?

Cheers

gtown

Please enter your server specs in your user profile! 😢


You can have 90000 results, but if only 990 unique IP records -> 10 pages.

Example, my case currently, 99313 records, 2792 IP addresses -> 28 pages.

If you want 100000 records, $ipdel can be what you want, but I use 1000.

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Hi Phoenix!

Hmm I am not sure if I understand you, but I thought IPTracker will delete old tracks if maximum limits are hit and replace them with actual tracks ?

In my case the newest tracks are now 3 days old, so I would say IPTracker is not deleting the old tracks to have room for new ones!? But maybe I am wrong with my idea.

What would you suggest to do in config in my case (if it is a configuration problem) ?

Cheers

gtown

Please enter your server specs in your user profile! 😢


IPT does delete old 'tracks' - I'm not sure why you have a problem - as I mentioned before, try setting $ipdel to 1000 instead of 10000

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


I just tried it, but it didn't help.
So now I wanted to uninstall IPT and reinstall it again through Modules Admin. Now this is what I got:


SQL Queries:

includes/classes/installer.php
LINE 118: DROP TABLE IF EXISTS cms_iptracking
admin/modules/modules.php
LINE 259: ALTER IGNORE TABLE cms_admins DROP radminip_tracker


Errors:
includes/db/db.php
CMS Warning line 51: On /admin.php?op=modules&uninstall=IP_Tracker While executing query "ALTER IGNORE TABLE cms_admins DROP radminip_tracker" the following error occured: Can't DROP 'radminip_tracker'. Check that column/key exists In: /home/www/web73/html/FINAL/admin/modules/modules.php on line: 259


Damn and now its neither working nor uninstalled :-/
You could have a look here, it's not working at the moment.

Cheers

gtown

Please enter your server specs in your user profile! 😢


gtown wrote
I just tried it, but it didn't help.
So now I wanted to uninstall IPT and reinstall it again through Modules Admin. Now this is what I got:


SQL Queries:

includes/classes/installer.php
LINE 118: DROP TABLE IF EXISTS cms_iptracking
admin/modules/modules.php
LINE 259: ALTER IGNORE TABLE cms_admins DROP radminip_tracker


Errors:
includes/db/db.php
CMS Warning line 51: On /admin.php?op=modules&uninstall=IP_Tracker While executing query "ALTER IGNORE TABLE cms_admins DROP radminip_tracker" the following error occured: Can't DROP 'radminip_tracker'. Check that column/key exists In: /home/www/web73/html/FINAL/admin/modules/modules.php on line: 259


Damn and now its neither working nor uninstalled :-/
You could have a look here, it's not working at the moment.

Cheers

gtown


It reports that "This module is not active".

Please enter your server specs in your user profile! 😢


how do you know it stopped tracking? I am confused.

NEMINI.org, NEMINI.us, NEMINI.info & NYMINI.org

Please enter your server specs in your user profile! 😢


I can only presume gtown has seen that the incremental record number has not changed.

gtown, for whatever reason, you are missing radminip_tracker in your cms_admins table - if you add it to that table the uninstall will complete.

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Alright Phoenix thanks!

Okay uninstall worked, reinstall worked aswell.
Now old tracks are lost (but this is fine for me) and IPT is tracking again!
I'm not sure why it was stopping, I just mentioned it the 2nd time now.

@ NEMINI: I knew it cause I have visitors every day and IPT is tracking my own movement aswell, so when I looked at IPT the last pagehit was safed for a date 3 days ago. I played around a bit but it just didn't show any new hits so I guess it just stopped tracking, but I've still no idea why.

Please enter your server specs in your user profile! 😢


just curious you using the latest version? (ie: the one with DJMaze's enhancements?) I am not and I have not been able to replicate the issue, just trying to elimate variables to narrow the search.

NEMINI.org, NEMINI.us, NEMINI.info & NYMINI.org

Please enter your server specs in your user profile! 😢


hmm, never had the problem with any version - perhaps just some local database corruption - forgot to mention try a repair.

Donations & Audit for DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


My IPT Version was the newest now. My feeling was like IPT was safing all the hits as usual until the maximum limit was reached. Then it had a problem of deleting old recors and so it simply stopped ... but maybe that's wrong.

And now after reinstall I got a lot of SQL errors but I think I found the problem:

I created a custom field in userdata for safing the age.
Now I tried to build a simple Block showing up on the main page
which is telling the average age of my users.
There were some SQL errors with it until I put it to the lowest position on the main page right side blocks so I thought ... why care Wink

This blcok now caused a lot of SQL errors with IPT (maybe my block is not really configured in the right way to be a "BLOCK" in CPGNuke)

BUT I am not sure if this had to do with my earlier problem ...


However, don't want to miss IPT on my CPG-Site Wink

Please enter your server specs in your user profile! 😢

All times are Australia/Adelaide


Jump to: