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.
Colorbox plugin Not detected: At least 1.3.21.1
The version of the Colorbox plugin library could not be detected. You need to download the Colorbox plugin, extract the archive and place the colorbox directory in the sites/all/libraries directory on your server.
This is the error I am getting
Library installed with drush, I also tried downloading latest from github, this is happening in a Commerce Kickstart installation.
Checked perms recursively set to 775.
Ownership set recursively to ckosloff:www-data.
I ran out of options to eliminate this error.
Comment | File | Size | Author |
---|---|---|---|
#1 | colorbox.module-2463111.patch | 496 bytes | uberhacker |
Comments
Comment #1
uberhacker CreditAttribution: uberhacker commentedUnfortunately, the dev version is not correct either. I have included a patch that fixes this issue and is also downward compatible with earlier versions of the Colorbox jQuery plugin. The reason the current version doesn't work is the libraries module is looking for the second match and the current pattern returns the version in the third match.
Comment #2
frjo CreditAttribution: frjo commentedAre you trying to use the 2.x version of the Colorbox plugin? That version is in alpha and have not been updated for two years.
Please use the 1.x version as the documentation recommends.
Comment #3
uberhacker CreditAttribution: uberhacker commentedHi frjo,
Thanks for your feedback. Yes, I was using the 1.x version of the jQuery Colorbox plugin. Apparently, the maintainers have decided to change the pattern of the version. This is a simple fix that will help avoid a lot of confusion.
Thanks
Comment #4
uberhacker CreditAttribution: uberhacker commentedComment #5
uberhacker CreditAttribution: uberhacker commentedHi Fredrik,
I tested this again and your version detects correctly. I must have been testing against an older version of the module or my cache wasn't cleared.
Thanks
Comment #6
uberhacker CreditAttribution: uberhacker commented