Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello!
I have profile installation of TouchPro.
I receive warning in all admin pages:
Notice: Undefined index: distribution_name in function drupal_install_profile_distribution_name() (line 202 in file /home/u5200/domains/u5200.krypton.vps-private.net/includes/install.inc).
My hosting admin says it's concerned with this: http://drupal.org/node/1170360
Could you please explaine how to fix it in TouchPro?
Comments
Comment #1
jbarrington CreditAttribution: jbarrington commentedI have also been chasing this error for a few days after an upgrade from 7.10 to 7.12 and it appears to be an issue with drupal Core because it seems to affect all sites using install profiles.
This is what worked for me when I was getting the following error on the modules list page:
Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name()
This requires some work with the database tables. Start with the System table:
Within the system table you will find a profiles/standard/standard.profile
If you change the status to 1 it tells drupal to use the default profile.
Next look in the variable table and change the install_profile from
s:8:"touchpro";
to
s:8:"standard";
Finally, empty the backup_migrate_profiles table. This clears out any remaining profile cache inherited from the upgrade.
Hope this helps
JB
Comment #2
olegvo CreditAttribution: olegvo commentedThank you so much!
It helps.
Comment #3
JurriaanRoelofs CreditAttribution: JurriaanRoelofs commentedComment #4
JurriaanRoelofs CreditAttribution: JurriaanRoelofs commented