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.
Copied Library API module to modules folder and the upgrade completed successful. Before it complained about missing Libraries API.
Fatal error: Call to undefined function libraries_detect() in sites\all\modules\colorbox\colorbox.admin.inc on line 14
It looks like colorbox does not enable Libraries API module in the upgrade path. This causes sites to crash.
Comment | File | Size | Author |
---|---|---|---|
#5 | enable_libraries-1986282-5.patch | 4.57 KB | Anonymous (not verified) |
Comments
Comment #1
frjo CreditAttribution: frjo commentedColorbox list Libraries 2.x as a dependency but if it's not activated automatically you need to do it manually.
Comment #2
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions for Aegir Cooperative commentedThe 'right' way to do this would be a colorbox_update_7203() function which calls module_enable() after checking.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous at Cheeky Monkey Media commentedAdded patch to enable libraries, and to also check libraries version in colorbox_requirements()
Comment #4
hass CreditAttribution: hass commentedThis is not allowed. Never use l() here.
Same bug
Same bug again.
Same bug again.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous at Cheeky Monkey Media commentedUpdated patch
Comment #6
Neslee Canil PintoPatch failed to apply.
Comment #7
Neslee Canil Pinto