I get the following error on the admin/modules page:
Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 202 of /var/fog/apps/app35080/damienmckenna.phpfogapp.com/includes/install.inc).

Comments

damienmckenna’s picture

Title: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 202 of includes/install.inc) » Undefined index: distribution_name in drupal_install_profile_distribution_name()

Shorter title.

lesleyb’s picture

Hi

Just confirming this bug occurs on a fresh install of Drupal 7.12 running localhost/drupal7/install.php

I get
Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 196 of /usr/share/drupal7/includes/install.inc).

so it seems to have moved up a few lines.

I attempted to trace the error and that trace (as far as I got with it is) shown in http://drupal.org/node/1532318

I think my summary is that $install_state['profile_info']['distribution_name'] isn't defined but that the remaining code expects it to be. I don't have the experience to decide if it needs to be set explicitly within the code or with the profile .info files.

Hope this helps

lesleyb’s picture

My error isn't related to Panopoly so sorry for posting here.
FWIW: I found that setting dbconfig.php data in correctly helped.

webchick’s picture

I got this when installing from Drush without the patch at #1491258: Allow Panopoly to Install with Drush (Including Apps support) applied.

populist’s picture

Status: Active » Fixed

I did some more testing here and believe this error has been resolved with a couple new code commits, including a patch from #1491258: Allow Panopoly to Install with Drush (Including Apps support).

jeremiahtre.in’s picture

Version: 7.x-1.0-beta2 » 7.x-1.0-beta3

I am getting the above error, and the below text, in my status report, when installing without the Panopoly profile:
Info - Install profile (panopoly-)

However, looking into it further, I removed my install profile from and replaced it into the ../profiles folder - there is a known bug when doing that. #1186196: Fix upgrade documentation to ensure people don't remove profiles from /profiles

Thanks for work, thus far!

jtreinau

jeremiahtre.in’s picture

Oops, changing back to 7.x-1.0-beta2 to match original post.

Version: 7.x-1.0-beta3 » 7.x-1.0-beta2
Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.