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.

#99538 Sometimes no mediabox-popup-window

Posted in ‘Mediabox’
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 Ryan on Monday, 22 April 2019 13:58 BST

HGH
JCE: 2.7.11 Mediabox: 2.0.10
-----------------------------------------
Hi Ryan,

I have some strange probs when displaying pics in the mediabox-popup-window.

In newly created popups, the window opens in a modal-popup - see:

In my older created popups, the window only opens in a new browser-tab - see:

The old ones have a older syntax, but even if I converted it - as in this example, it does not work.

There are also a lot of js-errors:

JQMIGRATE: Migrate is installed, version 1.4.1
570:kwz-der-kaiser-wilhelm-zug-als-modell-von-maerklin-trix:500 Uncaught SyntaxError: Unexpected end of input
woys.php:1 Failed to load resource: the server responded with a status of 404 ()
701.13.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
701.21a.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
701.17.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
570:kwz-der-kaiser-wilhelm-zug-als-modell-von-maerklin-trix#anstriebs-technik-elektronik-3:1 Uncaught SyntaxError: Unexpected token r in JSON at position 20
at JSON.parse (<anonymous>)
at Function.d.parseJSON (jquery.min.js?2da282ff29c130eddb87e9180fc84eb2:2)
at Function.a.parseJSON (jquery-migrate.min.js?2da282ff29c130eddb87e9180fc84eb2:2)
at Object.parse (jcemediabox.min.js?921232c6666cfda2efb7aeec0125543f:2)
at Object.getData (jcemediabox.min.js?921232c6666cfda2efb7aeec0125543f:2)
at Object.process (jcemediabox.min.js?921232c6666cfda2efb7aeec0125543f:2)
at HTMLAnchorElement.<anonymous> (jcemediabox.min.js?921232c6666cfda2efb7aeec0125543f:2)
at Function.each (jquery.min.js?2da282ff29c130eddb87e9180fc84eb2:2)
at a.fn.init.each (jquery.min.js?2da282ff29c130eddb87e9180fc84eb2:2)
at Object.create (jcemediabox.min.js?921232c6666cfda2efb7aeec0125543f:2)
701.43A.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
701.22.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
701.22a.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
701.22b.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
DELTA-Logo.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Adress_Codierung-k.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
DELTA-Adressierung.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
switch_DIL-4.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
arrow_rtl.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
VM39:1 Uncaught TypeError: Cannot read property 'parent' of null
at constructor.initMarkup (eval at <anonymous> (menu.min.js:28), <anonymous>:1:2638)
at new constructor (eval at <anonymous> (menu.min.js:28), <anonymous>:1:2498)
at _menuInit (570:kwz-der-kaiser-wilhelm-zug-als-modell-von-maerklin-trix:173)
at b (ext-core.js:8)

Ryan
Please try JCE MediaBox 2.0.11 Beta 2 - https://www.joomlacontenteditor.net/downloads/mediabox/development

I'm not sure that this specifically addresses the issue, but your popups are working fine on my test site when I copy the code from your site.

Ryan Demmer

Lead Developer / CEO / CTO

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

Ryan
You appear to have a number of malformed popup links on your site, eg:
data-mediabox="group[KWZ-pros] rel=" noopener=""
This is causing the errors when MediaBox attempts to parse the parameters. Please try JCE MediaBox 2.0.11 Beta 3 - https://www.joomlacontenteditor.net/downloads/mediabox/development

Ryan Demmer

Lead Developer / CEO / CTO

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

HGH
Hi Ryan,
many thanks for your investigation. After a correction it now works.:D

But how have you found out this?
I have looked more than a hundred times and haven't seen it.:(

Ryan
But how have you found out this?
I have looked more than a hundred times and haven't seen it.


13 years experience 😛 , and it is what you pay for 🙂

Ryan Demmer

Lead Developer / CEO / CTO

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