Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Visitor Logs not working (SOLVED)
Hello,
Since the last time I cleared my visitor logs, only the 1st visitor gets logged. I’ve checked this out by accessing my site from several locations to test it, always only the first hit gets logged and no other hits after that. If I delete that hit, then the very next hit gets logged, then it breaks again.
I am using smd_lately and it is currently active. Beyond that, I cannot figure out why nothing gets logged. My Apache logs do show visitors, just not Textpattern’s “Visitor Logs”
Any ideas??
Thanks,
Les
Last edited by lsnadon (2011-01-03 21:01:44)
Offline
#2 2011-01-02 22:58:47
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Visitor Logs not working (SOLVED)
In Preferences there are 2 settings for visitor logs: Basic > Logging and Advanced > Logs expire after how many days. Did you check these settings?
Offline
Re: Visitor Logs not working (SOLVED)
Yes, first thing I’ve done, make sure the settings are correct. Currently, I have it set to log all hits (again). I had it set on this, then to referrer only, but now it is back on log all hits.
Offline
Re: Visitor Logs not working (SOLVED)
I turned on debugging and sure enough – there was the problem txp_log was not incrementing.
I moved my website from one server to another. Actually, I moved everything to a new server.
In the process of copying the MySql DB’s, every single one of them turned off “auto-increment”. Beats me why this happened. On all of my DB’s (which were broken), all I had to do was turn on “auto-increment”. I was not aware of the txp_log table inside of textpattern, therefore, I did not know to turn on “auto-increment”.
Problem solved….
Les
Last edited by lsnadon (2011-01-03 21:02:38)
Offline
#5 2011-01-03 21:52:27
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Visitor Logs not working (SOLVED)
Ah, glad you found it. I think in phpMyAdmin there is a setting ‘Add AUTO_INCREMENT value’ that should be checked when exporting the db.
Offline
Re: Visitor Logs not working (SOLVED)
I almost used phpMyAdmin to export my DB’s – instead I used Webmin. I don’t recall seeing a setting like that in Webmin. I’ll look later when I get home…
Les
Offline
Pages: 1