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.
I don't mind hard-coding the location of a library, as long as that location is sites/all/libraries and not the module folder. I saw a similar issue to this tagged d7, I'm tagging this one d6 because I don't think you need the libraries module, at least not for this quick fix. Please just alter your one line of code that opens the library, and change the location to sites/all/libraries. Yes, it will break people's current installs, but that's going to happen anyway with the library in the modules folder. This way it only breaks once instead of every single time there's a new dev release.
Comments
Comment #1
greggmarshallI have to agree, I like the idea of having all my third party libraries in one place, not scattered around in various modules' directories.
Comment #2
daniorama CreditAttribution: daniorama commentedUsing libraries folder is the logic way. I hope they fix it so upgrading would be faster and easier.
Comment #3
rickvug CreditAttribution: rickvug commentedI think we're all in agreement here. Marking as a duplicate of #902410: plupload_library() requires plupload library to be in module folder rather than flexible or sites/all/libraries.
Comment #4
justintime CreditAttribution: justintime commentedRe-opening because the 6.x and 7.x branches are basically separate projects. I'm about to resolve this for 6.x but don't want to close it for 7.x.
Comment #5
justintime CreditAttribution: justintime commentedPlease apply the patch in this comment. Along with working with new versions of plupload, it has support for sites/all/libraries as well as libraries module
Comment #6
justintime CreditAttribution: justintime commentedSince patch from #1124476: plupload library versions >= 1.4.3 change file paths has been committed, this issue should be fixed as well.
Comment #7
carwin CreditAttribution: carwin commentedprobably need to update the readme
Comment #8
justintime CreditAttribution: justintime commented@carwin - I already did: http://drupalcode.org/project/plupload.git/blobdiff/ed3cea20d4c299e97303...
Comment #9
rickvug CreditAttribution: rickvug commentedThis hasn't been ported to the 7.x-1.x-dev branch yet.
Comment #10
justintime CreditAttribution: justintime commentedPlease do a quick search before making changes to existing fixed issues. D7's issue for this is over at #902410: plupload_library() requires plupload library to be in module folder rather than flexible or sites/all/libraries - it's even mentioned in #3 above.
Comment #11
rickvug CreditAttribution: rickvug commentedSorry about that. I should have known better with the D7 version being quite different and all.
Comment #12
dddave CreditAttribution: dddave commentedSorry for reopening but there is a small yet dangerous typo in the Readme. You want users to create a "libaries" folder.
Comment #13
justintime CreditAttribution: justintime commentedNo worries, good catch. Fixed that, and also fixed the typo on 'dowload'.