Hi,

Colorbox was working fine, and since last update (30/12/2015) the labrarie is not loading properly.

I revert back to the version which was working (21/12/2015), and not working anymore.

The librarie is showed as loaded (v 1.6.1) in the drupal dashboard.

Site : http://dp8.clg-wallon-savignyletemple.eu

Thanks for help.

Comments

Jhereck created an issue. See original summary.

Sam152’s picture

Have you done a cache rebuild since updating the module? Also, there hasn't been an upgrade path between some of the schema changes since this is still a dev branch.

I would recommend going to the settings page and checking the "paths" textarea. These may have changed since the upgrade.

I'd recommend pinning to a single commit until a stable release is tagged.

jhereck’s picture

Which "settings" page are you talking about ?

And which "textarea" ?

Thanks.

Sam152’s picture

Under "Configuration" there is a page called "Colorbox settings". Check under "Advanced settings" what the value of "Pages" is.

jhereck’s picture

The plugin is applyed on all pages, so can't be that.

Sam152’s picture

What happens if you uninstall the module and reinstall it?

jhereck’s picture

I tried another lightbox and same problem : so it's probably not related to colorbox, but another module.

Sam152’s picture

To be honest, a lot of the modules (such as this one!) are still in heavy development and flux so there is a good chance the other one you tried is also just broken. If you uninstall and reinstall (drush pm-uninstall colorbox -y && drush en colorbox -y && drush cr), I would guess everything comes back as expected. I think the altered settings schema could be the culprit in this instance.

jhereck’s picture

Ok i will try this and update the issue if solved !

jhereck’s picture

Ok tried to uninstall and reinstall the new version : still bugged.

Tried to uninstall and reinstall the old one (from 21/12) and it worked again !

So this update is faulty !

Sam152’s picture

Yep, I've filed #2642496: Remove trailing whitespace from default configuration. which could be the cause.

jhereck’s picture

Title: Colorbox librarie is not loaded » Colorbox plugin doesn't work anymore
Priority: Normal » Critical
jhereck’s picture

Updated the name of the issue, cause it's pretty critical.

frjo’s picture

Status: Active » Fixed

I believe the patch I now have committed in #2642496: Remove trailing whitespace from default configuration. have fixed this. Please reopen if it has not.

You will need to uninstall Colorbox module, update to latest dev version and enable it.

fomenkoandrey’s picture

drupal 8.0.1
theme BARTIK
colorbox didnt work at all in any version, last i tried with version from 2/jan/2016

frjo’s picture

With the latest dev version, Drupal 8.0.1 and the Bartik theme I can not reproduce the problem.

Did you uninstall the Colorbox module and then enable it again? This should clear all settings and let you start on a clean slate.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.