WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => Modules => Topic started by: tobyw7 on March 10, 2023, 05:52:33 PM

Title: MiniGal - unable to click to add comment
Post by: tobyw7 on March 10, 2023, 05:52:33 PM
Hi,

I've a site that I have just upgraded to 2.13.3
PHP v 8.1

Updated MiniGal to 2.5.4 from AddOn Gallery.

Now when I try to click on the image to add a comment, or to delete the image, nothing happens.

In Devtools I see the following error on the following line: 408 of modify.php

Swal.fire({

Uncaught ReferenceError: Swal is not defined

Anyone else seeing this?

Title: Re: MiniGal - unable to click to add comment
Post by: dbs on March 10, 2023, 06:16:52 PM
Can confirm the error message. The version in the info.php is 2.5.3.
But after empty browser cache it worked for me.
Title: Re: MiniGal - unable to click to add comment
Post by: tobyw7 on March 10, 2023, 06:23:45 PM
Can confirm the error message. The version in the info.php is 2.5.3.
But after empty browser cache it worked for me.

Well, that's weird. Just tried in private session and works for me too. Must be some strange caching. I did go through and update the template a little. I have used  jQuery for some menus but WB is bundled with that so changed it to use the newer version in the /include dir.

I also enabled SSL on this site whilst doing the upgrade.

Other than that, nothing else.
Title: Re: MiniGal - unable to click to add comment
Post by: ruebenwurzel on March 11, 2023, 08:34:59 AM
Hello,

attached Version 2.5.4.1

Changelog:
- output now HTML5 conform

Ruud got from me the changes for to integrate in a common Version of his Modul. Changes are minimalistic, so if the Modul works it is not neccessary to upgrade

Link to Developpers Page: https://dev4me.com/modules-snippets/opensource/minigallery-v2 (https://dev4me.com/modules-snippets/opensource/minigallery-v2)

Title: Re: MiniGal - unable to click to add comment
Post by: tobyw7 on March 12, 2023, 12:58:32 PM
Hello,

attached Version 2.5.4.1

Changelog:
- output now HTML5 conform

Ruud got from me the changes for to integrate in a common Version of his Modul. Changes are minimalistic, so if the Modul works it is not neccessary to upgrade

Link to Developpers Page: https://dev4me.com/modules-snippets/opensource/minigallery-v2 (https://dev4me.com/modules-snippets/opensource/minigallery-v2)



Thanks! I updated the version :)

I force refreshed the page and can add comments and delete without running in private session now. Will monitor this going forwards.