Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name()

To reproduce the issue

  1. Open admin/modules.
  2. At admin/reports/, open the Recent log messages, it will show the following notice:
Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 207 of ...).

To solve

Adapt the table name if you use prefix and then execute the following SQL statement:

UPDATE `system` 
SET `status` = '1' 
WHERE `filename` = 'profiles/standard/standard.profile';

Reference: http://stackoverflow.com/questions/21334035/drupal-7-notice-undefined-index-distribution-name-in-drupal-install-profile