When enabling the module, I get the following error:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'website.system' doesn't exist: SELECT weight FROM system WHERE name = :comment; Array ( [:comment] => comment ) in comment_allow_anonymous_enable() (line 13 of C:\wamp\www\sites\all\modules\comment_allow_anonymous\comment_allow_anonymous.install).

I suppose it has to do with my tables being prefixed (drupal7_system, drupal7_node etc.)

CommentFileSizeAuthor
#2 1116614-table-prefixes.patch680 bytesNiklas Fiekas

Comments

Anonymous’s picture

I've got the same error.

Fix:

File: comment_allow_anonymous.install
Row: 13

Change

FROM system

to

FROM {system}

Niklas Fiekas’s picture

Status: Active » Needs review
StatusFileSize
new680 bytes

Here's that change as a patch.

Status: Needs review » Needs work

The last submitted patch, 1116614-table-prefixes.patch, failed testing.

Niklas Fiekas’s picture

Status: Needs work » Needs review

Test failures are unrelated.