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.
Notice: Undefined index: distribution_name în drupal_install_profile_distribution_name() (line 207 in /public_html/includes/install.inc).
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-1971068.patch | 472 bytes | sadashiv |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedSee #1170362: Install profile is disabled for lots of different reasons and core doesn't allow for that.
Comment #2
sadashiv CreditAttribution: sadashiv commentedHi @zet,
I faced the same issue after upgrading from drupal 6 to 7. On debugging I found that when we install drupal 7 as a fresh install then it makes a entry in system tables as a "standard" module installed with the path of installation profile so the code in install.inc loads it but when we upgrade from drupal 6 to 7 then the standard module status is 0 so it throws error, changing it 1 didn't fix my error.
I made the attached patch as a workaround.
Hth,
Sadashiv.
Comment #3
mskicker CreditAttribution: mskicker commenteddrush rr
worked for me
Comment #4
Summit CreditAttribution: Summit commentedHi,
This is still not incorperated in Drupal 7.34 ... I do not see the duplicated issue somewhere linked to.
I will set this to active and tested by community if this is ok. Otherwise sorry to interfere.
Greetings, Martijn
Comment #5
Summit CreditAttribution: Summit commentedComment #6
mspikes CreditAttribution: mspikes commentedWhen I apply this patch, I get a "Parse error: syntax error, unexpected T_IF in ~/docroot/includes/install.inc on line 207"
Ideas?
Comment #8
David_Rothstein CreditAttribution: David_Rothstein commentedThe issue this is a duplicate of is mentioned in comment #1 (also linking it to it here now, so it's attached to the issue).
Comment #9
johnsonroots.com CreditAttribution: johnsonroots.com commentedI am a novice and having this same issue. How do I apply the patch. I have no idea.
Comment #10
dscoop CreditAttribution: dscoop as a volunteer and at Cooper Webdesign commentedI am getting the same error in Drupal 7.50
Comment #11
Kris77 CreditAttribution: Kris77 commentedRun this command in phpmyadmin:
UPDATE system SET status=1 WHERE name='standard';
Its same to works.
Comment #12
ronald CreditAttribution: ronald commentedWhat do I do if there's no row in the 'system' table where name = 'standard'?
Can I create it?
Comment #13
ronald CreditAttribution: ronald commentedFor the record and in case this helps anyone with the same issue.
What I did to fix this is:
* created a fresh Drupal 7 install, then
* copied the above record from the database (SELECT * from system WHERE name = 'standard';), and
* inserted it into the system table on my upgraded system.