Open roycamp opened 11 years ago
I have narrowed the issue down to the api_key_manager dependency. More specifically I believe it is the list_text reference in: api_key_manager/api_key_manager.install I think the list dependency is missing from the api_key_manager/api_key_manager.info file.
After adding that though I received a new error which needs further investigation. Integrity constraint violation: 1048 Column 'rid' cannot be null
To resolve the first issue I added: api_key_manager/api_key_manager.info: dependencies[] = list
The second issue is being caused by these lines api_key_manager/api_key_manager.install: // Grant default permissions to administrator role. $admin_rid = variable_get('user_admin_role', $admin_role->rid); user_role_grant_permissions($admin_rid, array('administer api keys'));
I tried creating the administrator role but that caused a duplicate key error. Also tried populating $admin_role using user_role_load_by_name("administrator") but that did not resolve the issue either. I don't have experience with Drupal so I'm not sure what the proper solution is. For now I can comment the two lines and the install completes successfully.
During install (install profile step) I am getting the error bellow. The list module does exist in modules/field/modules/list and this is a fresh Drupal and Petitions download as of today. OSX, PHP5.4, MySQL5.5, Mongo2.4.7 Any ideas would be appreciated, Thanks!
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://localhost/install.php?profile=petitions&locale=en&id=1&op=do StatusText: OK ResponseText: Home | Drupal @import url("http://localhost/modules/system/system.theme.css?0"); @import url("http://localhost/modules/system/system.messages.css?0"); @import url("http://localhost/modules/system/system.menus.css?0"); @import url("http://localhost/modules/system/system.base.css?0"); @import url("http://localhost/modules/field/theme/field.css?0"); @import url("http://localhost/modules/node/node.css?0"); @import url("http://localhost/modules/user/user.css?0"); @import url("http://localhost/profiles/petitions/modules/contrib/views/css/views.css?0"); @import url("http://localhost/modules/system/system.admin.css?0"); @import url("http://localhost/modules/system/system.maintenance.css?0"); @import url("http://localhost/profiles/petitions/modules/contrib/ctools/css/ctools.css?0"); @import url("http://localhost/themes/seven/reset.css?0"); @import url("http://localhost/themes/seven/style.css?0"); Home Installation tasksChoose profile(done)Choose language(done)Verify requirements(done)Set up database(done)Install profile(active)Configure site Finished Attempt to create a field of unknown type list_text.