-Create a view, create a list view block, enable Node: Recent Hits,
-Statistics module is on, and all permissions for stats enabled

It reports nothing back for hits for the nodes.

Comments

jrabeemer’s picture

Error in SQL..
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC LIMIT 0, 5' at line 1 query: SELECT node.nid, node.created AS node_created_created, daycount, node.title AS node_title, node.changed AS node_changed, node_comment_statistics.comment_count AS node_comment_statistics_comment_count, node_counter.totalcount AS node_counter_totalcount FROM node node LEFT JOIN node_comment_statistics node_comment_statistics ON node.nid = node_comment_statistics.nid WHERE (node.status = '1') AND (node.type IN ('feature','headline')) ORDER BY node_created_created DESC, DESC LIMIT 0, 5 in /var/www/includes/database.mysqli.inc on line 151. - did not match any documents.

jrabeemer’s picture

Status: Active » Closed (fixed)

Well, I reset my database, enabled core modules first that fixed my MySQL bug.

Then I turned on the access logs.
http://drupal.org/node/199797

jhebel’s picture

Did you try going to Logs > Access Log Settings and enabling the hit counter?