Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
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.
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.
Comments
Comment #1
gashev commentedDrupal7 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.
Comment #2
gashev commentedComment #3
Morn commentedDrupal7 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.
Comment #4
gashev commentedThank 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.
Comment #5
gashev commentedComment #6
gashev commentedFixed to 7.x-1.0-alpha7.
Comment #7
gashev commented