This is a friends website and he's been asking me for some time why does the counter show 0 views for every node and doesn't keep track of them? Just for a temporary work around I installed a separate mod to keep track of the visits for now.

http://www.babelation.com/?q=node/2250

If you go to that link and scroll toward the bottom, just above the comments area, it will say...
# *share mod here*
# 0 views
# Download (7.54 MB)
# 91 reads
# 3 min 21 sec

The 91 reads is the mod I added for him a few months ago, but otherwise how can I fix the "0 views" or remove it from being visible at all? I tried turning off permissions to view statistics counter in the access page, but that in turn removes the display for the "91 reads" as well as "0 views". So I'm sort of stuck on how else to approach this. If anyone has any ideas for me that would be great, thanks so much.

Happy Holidays everyone!
<3

Comments

christopherareed’s picture

Friendly holiday bump!

christopherareed’s picture

Bump :(

vm’s picture

is the statistics module enabled and set up? in drupal core? It's what counts retains and displays when a node has been pulled from the database.

christopherareed’s picture

Yes.

christopherareed’s picture

What next?

vm’s picture

I'd uninstall the statistics module and reinstall it.

What module did you add to handle reads? No idea what effect disabling and uninstalling the statistics module will have on the module in use. So make sure you back up the database.

have you checked the table with phpmyadmin to see if it's in working order?

Based on the site CHANGELOG.txt file you are 14 security and bug fix releases behind.
Disable statistics.module
unistall it
update drupal
reenable

again make sure you back up your database first.

Beyond that you can sift through the pathces that went in to the last 14 release of Drupal 5.x and see if you can locate a specific issue with a specific patch for this type of issue. It's far too much for anyone in the forums to sift through.

If your code base is 14 releases behind, I"d image your modules are also insecure and should also be updated ASAP. Especially now that the site has been posted and the CHANGELOG.txt has been left in place in such a way as to tell others what version is likely in use.

Security issues when patched are made public. Right now you're more insecure than you were yesterday.

christopherareed’s picture

Yikes, I was just trying to help a friends site out. I'm basically relaying whatever you guys suggest to him. I was hoping for something less time consuming. Thanks for the response, I'll let you know where it goes from here and if a specific culprit is ever found.

christopherareed’s picture

Says he's getting failed cron runs now too, sounds like a deeper much bigger underlying problem...

vm’s picture

Not sure what to tell you here at this point. With a site that insecure and outdated anything can be wrong.

christopherareed’s picture

Understandable. Thanks again VM!

jsims281’s picture

Not sure if you are still having this problem, but if you go to
www.site.com/admin/reports you should see an "Access log settings" option. Click this and make sure the access log is enabled.

If you don't see that option then most likely the Statistics module is not enabled.

queryblitz’s picture

Wow geez saved me a lot of trouble trying to figure that out.