Closed (fixed)
Project:
Counter
Version:
5.x-1.9
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2008 at 17:34 UTC
Updated:
3 Dec 2008 at 15:52 UTC
The main trouble I am having with Counter is that the counter report page isn't showing the results. The only thing that appears is a table top like:
# ID IP Address Created Date Access page
and beneath it no results. Just empty.
Am I maybe doing something wrong? I enabled the module normally, set it to show everything (Site Counter, Unique visitors, etc.) and then I visit some pages of my site. But when I look at the Counter Report page the table shows empty, as if there have been no visits.
What may be wrong? Why is it displaying no results?
Thanks for the attention folks.
I really can't figure it out.
Comments
Comment #1
simon_s commentedI have the same module version and the same problem.
Comment #2
drupalnesia commentedMake sure that table with "counter" name exists in Drupal database, otherwise need to reinstall this module.
Comment #3
haraldessert commentedHello, Drupal-id.com! Thank you for the reply.
I have checked, and yes, there is a table called "counter" in my database. It has four fields in it, called counter_id, counter_ip, counter_date and counter_page.
None of them has any registers. They're all empty.
I've tried to reinstall the module a couple of times but the error persists: no visits are registered.
What else might be wrong besides the database? Is there maybe a dependancy on any other optional core module?
Comment #4
drupalnesia commentedthere are no any dependencies. just to make sure, have u enable the counter-block in your website?
counter module will count the visitor only when the counter-block enable (and displayed on the page).
Comment #5
haraldessert commentedThank you again for the reply!
I think now I've got the point of the module. Only the pages in which the counter block is shown are counted by the module.
If I may give any suggestion, this should be reported in the Readme file. I thought the block was just an alternative to display the counter results, and not actually to count the accesses.
Maybe most site administrators don't want the results to be shown to everyone. So, I read this solution here: http://drupal.org/node/317553
It is not the perfect solution, since the option of displaying or not the results to others should perhaps be a built-in feature of the module (and can also become in the future), but works fine.
Thanks, Drupal-id.com for this practical module!
Comment #6
haraldessert commented