When you try to install the module without having taxonomy module enabled, you get the following error:

WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: [error]
1146 Table 'taxonomy_term_data' doesn't exist: INSERT
INTO {forward_statistics} (bundle, id, type) SELECT v.machine_name AS
bundle, t.tid AS id, 'taxonomy_term' AS type
FROM 
{taxonomy_term_data} t
INNER JOIN {taxonomy_vocabulary} v ON t.vid = v.vid; Array
(
)
 in forward_install() (line 45 of
/.../sites/all/modules/contrib/forward/forward.install).
Cannot modify header information - headers already sent by (output   [warning]
started at /.../drush/drush/includes/output.inc:38)
bootstrap.inc:1233
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'taxonomy_term_data' doesn't exist: INSERT INTO {forward_statistics} (bundle, id, type) SELECT v.machine_name AS bundle, t.tid AS id, 'taxonomy_term' AS type
FROM 
{taxonomy_term_data} t
INNER JOIN {taxonomy_vocabulary} v ON t.vid = v.vid; Array
(
)
 a forward_install() (línia 45 de /.../sites/all/modules/contrib/forward/forward.install).
Drush command terminated abnormally due to an unrecoverable error.   [error]

Adding taxonomy as dependency solves the issue (not sure if is the best solution, but works)

CommentFileSizeAuthor
forward-added-taxonomy-dependency.patch660 bytesakalam
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

akalam’s picture

Status: Active » Needs review

  • john.oltman committed 3a439d2 on 7.x-3.x
    Issue #2375191 by akalam: Base table or view not found if taxonomy...
john.oltman’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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