Closed (fixed)
Project:
Counter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2012 at 08:04 UTC
Updated:
9 Jul 2014 at 09:47 UTC
Jump to comment: Most recent
Comments
Comment #1
steeph commentedYes, same problem here. I wasn't sure if it was an update or due to something else, because I migrated my site to a different server and updated some modules at the same time. Installing an older version of the Counter module doesn't help thou.
Comment #2
steeph commentedOK, after installing 2.14 and updating to 2.16 again two times it works for me. I don't know what went wrong the first and second time. Don't forget to run update.php.
Comment #3
Quillz commentedI've just installed counter 2.16 - no previous versions installed - and I am encountering this problem too.
Comment #4
drupalnesia commentedPlease try newer 6.x, e.g: 6.x-2.23 and report again if you still face this issue.
Comment #5
holydrupal commentedI have the same issue with 6.x-2.23.
and also the published nodes counter does not update when I add new node.
Have you encounter these issues?
Comment #6
andrey-sw commentedSorry for my english.
The problem, in my view, is related to the code of counter.module line 120-132
is a corrected version for quick solutions
first time after installation of variable counter_lastdate not initialized, and $interval always zerro
Comment #7
drupalnesia commentedUsing new installation of 6.x-2.23, I can not reproduce this bug.
@andrey-sw:
- the code should be
$counter_lastdate = variable_get('counter_lastdate', date('Y-m-d H:i:s', time()));Drupal variable_get will get value from second argument if variable not yet set.
Comment #8
EvilGenius commentedI have the same issue, but with version 7.x-1.0-alpha7. alpha6 also had this issue...
Comment #9
drupalnesia commented@EvilGenius:
by default Counter only refresh its value after 10 seconds (you can change this in Advanced Counter Settings). Try to wait 10 seconds then refresh, also try to clear the Drupal cache. Please report if the Unique Visitors still not counting. Thanks.
Comment #10
Teeman commentedI'm having the same problem with 7.x-1.0-alpha7, also tried alpha6 on the same site and had the same problem. Clearing the cache didn't change anything.
Comment #11
EvilGenius commentedStill not counting with 7.x-1.0-alpha7. Clearing cache, running cron, nothing works.
Hope you can help, do I need to open a new ticket?
Comment #12
drupalnesia commented7.x-1.0-alpha8: Bug fix: Wrong SQL command for PostgreSQL
7.x-1.0-beta1: New: Views integration
7.x-1.0-beta2: New: Save uid, nid, type, browser name, browser version, platform
Please open new ticket if still error,