Help!

I enabled node_privacy_byrole-7.x-1.x-dev.tar.gz in drupal 7 and it caused the anonymous users to not be able to view any "views". I then disabled it, problem still persists. I have tried the normal steps, clearing cache, rebuilding permissions ,disable/enable any and all modules, I even reverted to a previous backup of my database and website(very strange this didn't work). So anyways this is the error received when an anonymous user tries to view the page.

PDOException: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'node_privacy_byrole' already exists: CREATE TABLE {node_privacy_byrole} ( `nid` INT unsigned NOT NULL DEFAULT 0, `gid` INT unsigned NOT NULL DEFAULT 0, `realm` VARCHAR(255) NOT NULL DEFAULT '', `grant_view` TINYINT unsigned NOT NULL DEFAULT 0, `grant_update` TINYINT unsigned NOT NULL DEFAULT 0, `grant_delete` TINYINT unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`nid`, `gid`, `realm`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8; Array ( ) in db_create_table() (line 2684 of /*/includes/database/database.inc).

If more information is needed let me know. This has happened to me on another Drupal install, but it was fixed once I disabled the module and rebuild the permissions.

Comments

ilovetoast’s picture

Status: Active » Closed (won't fix)