Closed (won't fix)
Project:
AddThis
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2012 at 15:55 UTC
Updated:
19 Mar 2012 at 22:05 UTC
I searched through the queue for this. If this already exists and I missed it, I apologize.
I am running openpublic. So this could be an issue with that; I figured I'd start here.
This is the error I get when I try to go to /admin/modules or /update.php:
Notice: Undefined index: view addthis in user_role_grant_permissions() (line 3028 of /var/www/html/modules/user/user.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null: INSERT INTO {role_permission} (rid, permission, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => view addthis [:db_insert_placeholder_2] => ) in user_role_grant_permissions() (line 3030 of /var/www/html/modules/user/user.module).I've tried adding the perm to the roles table. I've tried remming out the line for that permission. This permission doesn't show up on the admin/people/permissions page.
Let me know if you need anything else. Thanks.
Comments
Comment #1
matglas86 commentedIf you upgraded from 2.1-beta1 to 4-alpha1 you will have permissions problems. The view addthis permission is not defined in the 4 version. Also there will not be a upgrade path from 2.1 to 4. There might be from 6-3.0 to 7-4.0.