Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
If using a drush make file for an installation profile build media_gallery_library() defaults to 'sites/all/libraries' as the 'media_gallery_library_path' however this may not be the case as drush make will default to profiles/INSTALL-PROFILE/libraries instead of 'sites/all/libraries'.
As such during installation the following error is generated.
Type page not found
Date Monday, February 27, 2012 - 5:18pm
User admin
Location http://192.168.56.101/sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js?v=1.3.9
Referrer http://192.168.56.101/install.php?profile=INSTALL-PROFILE&locale=en
Message sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js
Severity warning
Hostname 192.168.56.1
Operations
The file does exist at http://192.168.56.101/profiles/INSTALL-PROFILE/libraries/colorbox/colorb...
Comment | File | Size | Author |
---|---|---|---|
#1 | media-gallery-add-libraries-support-1459594-1.patch | 1.27 KB | Moloc |
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedFor this task (finding the correct library-folder), there is the Library API module.
The applied patch will use that module, if it is installed.
As the module allows to change the path with the variable media_gallery_library_path, the patch changes some string-concatenation to be backward compatible.
Comment #2
jgraham CreditAttribution: jgraham commentedPatch works great, thanks!
Comment #3
lsolesen CreditAttribution: lsolesen commentedAlso see http://drupal.org/node/1102722
Comment #4
lsolesen CreditAttribution: lsolesen commentedThe patch applies cleanly.
Comment #5
lsolesen CreditAttribution: lsolesen commented