Experiencing a 401 Unauthorized Error During Update?

If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here( onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.

Implemented Uncaught ReferenceError: Joomla is not defined

Meer
3 jaren 6 maanden geleden - 3 jaren 6 maanden geleden #1683 door Tim Davis
Hi Ruud,

I am trying to get ochGlightbox to work on a site and am getting a Uncaught ReferenceError: Joomla is not defined error showing in dev tools.

The page I need to get working is:

carsoncitycoinclub.com/mintage-figures/mintage-totals

Thanks!

Tim

Dit bericht bevat vertrouwelijke informatie
Laatst bewerkt 3 jaren 6 maanden geleden door Ruud van Lent.
Onderwerp is gesloten.
Meer
3 jaren 6 maanden geleden #1684 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Uncaught ReferenceError: Joomla is not defined
Hi Tim,
following the Joomla API (also for JS), my script depends on Joomla's core.js ("Core.js defines the 'Joomla' namespace and contains functions which are used across extensions")
This site doesn't load (for unknown reasons) this Joomla script.

in the OP (first post) is a downloadlink to a new / test version of ochGlightBox that will load the needed Joomla Core JS functionality.

Can you give it a try and report back if it works for this site?

thanks in advance,
Ruud.
Onderwerp is gesloten.
Meer
3 jaren 6 maanden geleden #1685 door Tim Davis
Beantwoord door Tim Davis in topic Uncaught ReferenceError: Joomla is not defined
Hi Ruud,

Yes, that worked, thank you very much.

I'm not sure why the site isn't loading the script either. I'm new to working on this one and know that it was a 1.0 site that antohter company migrated (as much as that term fits) to 1.5 and then to 3.

I've been helping them get some basics fixed up for future upgrades. This fix for them is greatly appreciated!

Tim
Onderwerp is gesloten.
Meer
3 jaren 6 maanden geleden - 3 jaren 6 maanden geleden #1686 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Uncaught ReferenceError: Joomla is not defined
Hi Tim,
glad it worked :)
It will be part of the next release, but the test release is good to go (will update automatically when new release is released).

For my customers I never upgrade sites that are to be used on production. I always start from 'scratch' as that way i am sure that there are no 'naughty' code left over from the often long history of updating.

I have created a special component for that: you just do a clean joomla install, install the component and basically hit 'import' (it's a little bit more complicated, but this is the idea). All content, required plugins / modules / extensions settings (not the code itself, that needs to be fresh installed) etc. will then be imported

This way you are guaranteed that bad code, unmaintained left-overs, mallware etc. are not on the new site.

anyway, going off-topic here :)
Laatst bewerkt 3 jaren 6 maanden geleden door Ruud van Lent.
Onderwerp is gesloten.