1
Answers
Vote up!
0
Vote down!

Step 5, install profile crashes

I'm at the step 5, install profile and warning are display, which I imagine don't kill the installation. But below the warning bloc the following is displayed:
Notice: Undefined index: delete terms in 11 in user_role_grant_permissions() (line 3032 of /homepages/9/d153489178/htdocs/Drupal/modules/user/user.module
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null
Kickstart is trying to install 133 modules. Below is the function:
function user_role_grant_permissions($rid, array $permissions = array()) {
$modules = user_permission_get_modules();
// Grant new permissions for the role.
foreach ($permissions as $name) {
db_merge('role_permission')
->key(array(
'rid' => $rid,
'permission' => $name,
))
->fields(array(
'module' => $modules[$name], (bombs here line 3032)
))
->execute();
}
// Clear the user access cache.
drupal_static_reset('user_access');
drupal_static_reset('user_role_permissions');
}
In the db the Table structure for table `KS_role_permission` has 249 entries, they all look ok to me.
I have no idea how to solve this problem, but maybe there is knowledge out there in the cloud.
Any help is greatly appicated. I think I'm all most there with the installation, if I can get over this problem.

Asked by: GrayRyder
on July 1, 2012

1 Answer