You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#107367 Get error when tying to save after 2.9.5 update

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by rojteatern on Saturday, 10 April 2021 15:12 BST

rojteatern
After update I can't save the module, just gets this popup:

"Alert

Please select an image or enter an image URL"

//Dennis

Ryan
Which module are you referring to?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

rojteatern
JCE PRO

Attachments

Ryan
Have you set a URL for the thumbnail image in the Image tab?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

rojteatern
Hi,

I've done as I've done for the past years - select image -created a thumbnail - selected popup - selected the popup image - accepted the association with the thumbnail - clicked on save and got the error.

//Dennis

Ryan
I'm not able to reproduce this in my tests on my local dev site or the demo site - https://demo.joomlacontenteditor.net/

My process:

1. Select an image and create a thumbnail.
2. Click the Popups tab and select JCE MediaBox from the Popup Type list.
3. Confirm the "Associated Thumbnail" prompt.
4. Click Insert.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

rojteatern
Hi,

Well I use the same procedure - and I downgraded to 2.9.4 and it worked again.

What I use is a template of a previous page to get consistent look-and-feel for the site.

The template consists of 4 thumbnails in a row and expanded to several rows. So there is previous content that I exchange if that is of concern for the issue.

The code looks like this:

<div id="wrap">
<div class="box">
<div class="innerContent"><a href="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/kringarbete11.jpg" target="_blank" type="image/jpeg" class="jcepopup noicon" data-mediabox="1" data-mediabox-group="momo-kring1" data-mediabox-title="Amfiteatern tar form!" data-mediabox-caption="Foto: Zacharias Östman" data-mediabox-src="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/kringarbete11.jpg" data-mediabox-type="image/jpeg"><img src="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/thumbnails/thumb_kringarbete11.jpg" alt="kringarbete11" width="280" height="280" /></a></div>
</div>
<div class="box">
<div class="innerContent"><a href="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/kringarbete13.jpg" target="_blank" type="image/jpeg" class="jcepopup noicon" data-mediabox="1" data-mediabox-group="momo-kring1" data-mediabox-title="Zacke och Anders Bygger" data-mediabox-caption="Foto: Zacharias Östman" data-mediabox-src="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/kringarbete13.jpg" data-mediabox-type="image/jpeg"><img src="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/thumbnails/thumb_kringarbete13.jpg" alt="kringarbete13" width="280" height="280" /></a></div>
</div>
<div class="box">
<div class="innerContent"><a href="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/kringarbete12.jpg" target="_blank" type="image/jpeg" class="jcepopup noicon" data-mediabox="1" data-mediabox-group="momo-kring1" data-mediabox-title="Kostymbossen Mikael Tjäder" data-mediabox-caption="Foto: Zacharias Östman" data-mediabox-src="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/kringarbete12.jpg" data-mediabox-type="image/jpeg"><img src="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/thumbnails/thumb_kringarbete12.jpg" alt="kringarbete12" width="280" height="280" /></a></div>
</div>
<div class="box">
<div class="innerContent"><a href="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/kringarbete10.jpg" target="_blank" type="image/jpeg" class="jcepopup noicon" data-mediabox="1" data-mediabox-group="momo-kring1" data-mediabox-title="Välbehövlig paus för Sussi och Anton" data-mediabox-caption="Foto: Zacharias Östman" data-mediabox-src="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/kringarbete10.jpg" data-mediabox-type="image/jpeg"><img src="https://www.joomlacontenteditor.net/images/momo/img/kringarbete/thumbnails/thumb_kringarbete10.jpg" alt="kringarbete10" width="280" height="280" /></a></div>
</div>
</div>

One other issue I had with 2.9.4 was that the " data-mediabox-src=" didn't get updated so I had to open the procedure again to view the select popup and save and then it got updated.

Regards
Dennis

Ryan
You are correct, it was related to updating an existing popup.

Please try JCE Pro 2.9.6 Beta 2 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

rojteatern
Hi,

It seems to be working now!

But the other issue from 2.9.4 is still there.
"One other issue I had with 2.9.4 was that the " data-mediabox-src="https://www.joomlacontenteditor.net/ didn't get updated so I had to open the procedure again to view the select popup and save and then it got updated."

//Dennis

Ryan
The data-mediabox-src attribute shouldn't actually be set as the value is taken from the link href attribute. I have fixed this in beta 3 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Update the popup and it will remove the data-mediabox-src attribute.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

rojteatern
Hi Ryan,

Ok, the value was deleted altogether - thats fine for me.

//Dennis