Juicebox Gallery does not work in all browsers after upgrading to Drupal 10.2.0

Created on 1 January 2024, 11 months ago
Updated 5 February 2024, 9 months ago

I have run and I maintain several Drupal 10 sites on two different hostingplatforms.
In my sites I use the modul Juicebox HTML5 Responsive Image Galleries in exactly the same way.

All went perfectly till I upgraded from Drupal 10.1.7 to Drupal 10.2.0.
After this upgrade Juicebox HTML5 Responsive Image Galleries wil not longer work correctly in every browser.

I tried complete new installations with the latest software files. Drupal-versie 10.2.0 / Juicebox HTML5 Responsive Image Galleries 4.0.0-alpha1 / Libraries API 4.0.4.
I also downloaded the latest Juicebox files, version 1.5.1.2. I have PRO licensies.
I also tried several configuration within Juicebox like image style Juicebox PRO multi-size (adaptive) but nothing gave a solution.
I could not come to a solution or a understanding of the bug.
Everytime the sites showed the same behavior.
Only with one provider I could get Juicebox HTML5 Responsive Image Galleries work properly.
With my other provider I could not be succesfull.

Juicebox HTML5 Responsive Image Galleries does not work correct when hosted with:
Webserver= Apache
PHP= Versie 8.2.10 memorylimit 512M
Database= Versie 8.0.34 Systeem MySQL, Percona Server, or equivalent
A sample of a problempage of my site is https://leobrosens.nl/venb/node/883

Juicebox HTML5 Responsive Image Galleries does work correct when hosted with:
Webserver= Apache/2.4.57 (Debian)
PHP= Versie 8.2.7 memorylimit 192M
Database= Versie 10.11.4-MariaDB-1~deb12u1 Systeem MariaDB
A sample of a working page of my site is https://www.eikelswordeneiken.nl/site4/node/951

Whem is used browser Firefox then Juicebox HTML5 Responsive Image Galleries works correctly by both hosters.
When is used browser Chrome then Juicebox HTML5 Responsive Image Galleries works correctly only on my admin pc windows 11 pro at home and does not work corectly on other pc's.
On my admin pc the Juicebox HTML5 Responsive Image Galleries does not work when opened in Edge.
On a Android smartphone Juicebox HTML5 Responsive Image Galleries does not work correct.
On a Apple tablet Juicebox HTML5 Responsive Image Galleries does also not work correct.

I hope the communty can bring a solution.
Thanks

Leo Brosens

πŸ› Bug report
Status

Closed: cannot reproduce

Version

4.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands ljjbrosens

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ljjbrosens
  • πŸ‡ΊπŸ‡ΈUnited States fkelly

    https://leobrosens.nl/venb/node/883 is working from my Windows PC using both Chrome and Firefox

    same with https://www.eikelswordeneiken.nl/site4/node/95

    Trying the first link (node/883) on my Google Pixel (android) phone I can view your gallery just fine.

    My own web site (fkelly.org) is running Drupal 10.2 and the latest Juicebox release. Works fine. Same for my local PC using Wampserver and Drupal 10.2. I usually use just Chrome but have Firefox around. I use the phone to view web pages occasionally. I have Edge buried as deep as I can bury it on my PC.

    Maybe you can do a screen capture or otherwise provide more detail re. the problems you are seeing? It is good to see that you are using Drupal 10.2. We are trying to develop for the latest releases though Juicebox has to work for any 10... release.

  • πŸ‡ΊπŸ‡ΈUnited States fkelly

    On 2/2/2024 I received the following direct email from Leo Brosens:

    "I am not educated in IT but I tried the following.

    In the root at the provider where juicebox gallary will not work correctly
    there is present a .htaccess and a .ovhconfig file.
    I renamed those files assuming that those files are not needed because in the
    subdirectory of my drupal 10.2 there is a own .htaccess en config file.
    After renaming those files I got this error:

    Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are
    running 5.4.45, please upgrade PHP or use Composer 2.2. LTS via "composer
    self-update--2.2", Aborting

    Does someone understand what this means, what the cause is?
    Has this to do with the fault I experience?

    I hope someone can help me out. "

    We can't provide direct email assistance through the issue queue. Looking back to your initial post from January 1 and 2, 2024 I can still go to your links (e.g., https://www.eikelswordeneiken.nl/site4/node/951) and see your galleries. It looks like someone has done a good job setting them up. The error message about PHP in your email indicates that somewhere in your site or sites you are still trying to use PHP 5.x. That won't work with Drupal 10. You can't just rename the htaccess file and expect Drupal to work.

    From what you've posted there is no way to diagnose what's going on. The fact that I can use the link to your site and see galleries indicates that someone has set up things properly. I'm guessing that somewhere else in your sites the setup is incorrect. .htaccess needs to point to a properly functioning Drupal site and then Drupal needs to be able to load a supported PHP version (like 8.3). You might need to find some help locally with someone who knows how to set up Drupal sites.

    I will send you an email asking your to check this issue queue. Most likely we will close this as unable to reproduce the problem.

  • Status changed to Closed: cannot reproduce 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States fkelly

    problem β†’

    Several community members, including myself have tried to help out in the form thread linked above. As mentioned in that thread, I can see Leo's web pages and Juicebox galleries. using a Chrome browser and I have viewed several of them in this current issue queue thread. Also can view them with Firefox.

    While we (the maintainers and interested users here) are still working towards a stable Drupal 10 release of Juicebox having this current issue listed as critical is not appropriate. It really should be unable to reproduce. If further information merits it we can re-open it.

Production build 0.71.5 2024