Occurs after looking at the visitors statistic.
The Comment module is not active a this site.

Comments

gashev’s picture

Drupal7 create table comment during installation process. Comment table must be exist. If comment table does not exist - you have a problem with database schema and valid drupal installation. It's not a visitors module bug. For fix this problem you need recreate missing table.

gashev’s picture

Status: Active » Closed (works as designed)
Morn’s picture

Drupal7 create table comment during installation process.
Not thru (or is a Drupal 7 Bug).
I had a fresh 7.9 (upgraded to 7.10) minimal installation, table wasn't there.
So I activated/deactivated the Comment modul and then the table was there.

gashev’s picture

Thank you. Bug is reproduced.

Steps to reproduce:
1) Open http://domain.tld/install.php.
2) Select minimal installation profile.
3) Save and continue button click.
4) Finish installation procedure.
5) Open admin modules.
6) Set visitors module is enable.
7) Open http://domain.tld/visitors/user_activity

Displaying

Error
The website encountered an unexpected error. Please try again later.
Error message

* Notice: Undefined index: visitors_from in visitors_get_from_timestamp() (line 215 of /home/git/visitors/forms/date_filter.inc).
* Notice: Undefined index: visitors_to in visitors_get_to_timestamp() (line 230 of /home/git/visitors/forms/date_filter.inc).
* PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal7.comment' doesn't exist.

gashev’s picture

Status: Closed (works as designed) » Active
gashev’s picture

Fixed to 7.x-1.0-alpha7.

gashev’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.