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.
After installing the update to 7.24 (former version was 7.23) Drupal finds no library anymore! See the appending files before and after update.
Comment | File | Size | Author |
---|---|---|---|
lib7.24-afterUpdate.JPG | 64.7 KB | iceman2202 | |
lib7.23-beforeUpdate.JPG | 38.66 KB | iceman2202 |
Comments
Comment #2
perpignan CreditAttribution: perpignan commentedSame issue..
Comment #3
Maverick0412 CreditAttribution: Maverick0412 commentedSame issue. Downgraded to 7.23 and all libraries work.
Comment #4
ron_s CreditAttribution: ron_s commentedI think the issue is
libraries_update_7202
fails.Give users the new permission of "access library reports" and see if it works. It did so for me.
The first time I ran the update I got the following:
Then I ran
drush updatedb
a second time and it completed successfully.Comment #5
iceman2202 CreditAttribution: iceman2202 commentedThis issue has nothing to do with the development version!
There aren't any errors during update/installation. Only the downgrade to 7.23 works.
Comment #6
ron_s CreditAttribution: ron_s commentedI'm not going to argue with you, but a problem in 2.4 is a problem in -dev. It's the latest release, and therefore it matches whatever exists in -dev. And if any patch is going to be written, it certainly is not going to be done against 2.4.
After updating permissions (since 7.x-2.4 adds a new permission), it works for me without issue.
Comment #7
kjuro CreditAttribution: kjuro commentedI have the same problem on some of my sites (not for all, with the same code). Libraries like Colorbox are not recognized. DB upgrade shows no problem. How to fix this?
Comment #8
iceman2202 CreditAttribution: iceman2202 commentedAfter I granted the permission "View library reports" in 7.24 to all users, including anonymous users:
Libraries do not work. The issue has nothing to do with permissions.
Comment #9
kjuro CreditAttribution: kjuro commentedI found problem for my site. I had some old install profile from Drupal 6 migration. Libraries module uses profile for finding directories. I executed:
DELETE FROM variable WHERE `name` = 'install_profile';
and after cache was cleared then libraries was recognized.
Comment #10
iceman2202 CreditAttribution: iceman2202 commentedHad also an old install profile (drupalcenter), probably since Drupal 6 migration.
I changed the installtion profile with profile switcher to "standard" and afterwords deleted this old profile with module missing message fixer.
Now it seems to work fine.
Comment #11
bharat.kelotra CreditAttribution: bharat.kelotra as a volunteer and at DrupalAnswers commentedI have a site on Acquia and for me the libraries_get_libraries function return empty due to a condition
I tried to give that new permission to all roles but libraries are still not working.
Does anyone have this issue?
Comment #12
techwolf12 CreditAttribution: techwolf12 at Unc Inc commented#9 also worked for me.
Comment #13
heilop CreditAttribution: heilop as a volunteer commented#9 works like a charm!
Comment #14
aquaphenixI can confirm that by installing Profile Switcher and enabling the current profile then Libraries continue to work normally after clearing the cache.
Comment #15
andyanderso CreditAttribution: andyanderso as a volunteer commented#9 also worked for me. Thank you.
Comment #16
Sseto CreditAttribution: Sseto commented#9 also worked for me. Thank you!
Comment #17
AlbionBrown CreditAttribution: AlbionBrown commentedI think this could be related to a suspected logic error I found the other day. I made a patch on another thread - https://www.drupal.org/project/mailchimp/issues/2054037
https://www.drupal.org/files/issues/2018-09-25/libraries_7.x-2.4_patch.diff
Comment #18
hmalaboosi CreditAttribution: hmalaboosi commented#9 worked for me. Thank you!
Comment #19
Anghelu CreditAttribution: Anghelu commented#17 worked for me. Thank you!
https://www.drupal.org/files/issues/2018-09-25/libraries_7.x-2.4_patch.diff
Comment #21
joseph.olstadPlease try the latest 7.x-2.x dev release
please confirm fix .
Thanks everyone!
Comment #23
joseph.olstadignore the 7.x-3.x branch, use 7.x-2.x