Photoswipe Cache Probleme

2 years 6 months ago - 2 years 6 months ago #12721 by mowe
Photoswipe Cache Probleme was created by mowe
Guten Tag,
ich habe gerade folgendes Problem mit der Photoswipe-Galerieansicht bei aktivem Cache:
Wenn ich die Seite erstmals aufrufe, funktioniert alles, also ich kann auf die Thumbnails klicken und sehe dann die Galerieansicht (Photoswipe). Wenn ich die Seite dann erneut während der Lebensdauer des Caches öffne, kann ich die Galerie nicht mehr Starten. Beim Klick auf ein Thumbnail wird in der Browser-Console nur folgender Fehler ausgegeben:
Uncaught TypeError: Cannot read properties of undefined (reading 'firstChild')
    at Object.getChildByClass (photoswipe.min.js:1)
    at Object.init (photoswipe.min.js:1)
    at HTMLSpanElement.<anonymous> (photoswipe.sige.min.js:1)
    at HTMLUListElement.dispatch (jquery.js?version=1.0.855:4642)
    at HTMLUListElement.elemData.handle (jquery.js?version=1.0.855:4310)
getChildByClass @ photoswipe.min.js:1
init @ photoswipe.min.js:1
(anonymous) @ photoswipe.sige.min.js:1
dispatch @ jquery.js?version=1.0.855:4642
elemData.handle @ jquery.js?version=1.0.855:4310

Wenn ich den Joomla-Cache lösche und die Seite lade funktioniert es beim ersten Aufruf wieder, danach nicht mehr. Probleme bestehen sowohl mit dem Joomla-Systemcache als auch mit Page Cache Extended.
Bei deaktiviertem Cache kann ich überhaupt keine Probleme feststellen.

Vielen Dank schon einmal

Beste Grüße
Moritz
The topic has been locked.
2 years 6 months ago #12725 by Viktor
Replied by Viktor on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions
The topic has been locked.
2 years 6 months ago #12726 by mowe
Replied by mowe on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.
The topic has been locked.
2 years 6 months ago - 2 years 6 months ago #12727 by Viktor
Replied by Viktor on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions

This message has an attachment image.
Please log in or register to see it.

The topic has been locked.
2 years 6 months ago #12729 by mowe
Replied by mowe on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.

This message has an attachment image.
Please log in or register to see it.

The topic has been locked.
2 years 6 months ago #12730 by Viktor
Replied by Viktor on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions
The topic has been locked.
2 years 6 months ago #12731 by mowe
Replied by mowe on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.
The topic has been locked.
2 years 6 months ago #12732 by Viktor
Replied by Viktor on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions
The topic has been locked.
2 years 6 months ago #12733 by mowe
Replied by mowe on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.
The topic has been locked.
2 years 6 months ago #12734 by Viktor
Replied by Viktor on topic Photoswipe Cache Probleme
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions
The topic has been locked.
Time to create page: 0.220 seconds