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 Error

  • Fabrice PELLETIER
  • Onderwerp Auteur
  • Offline
Meer
3 maanden 1 week geleden #2988 door Fabrice PELLETIER
Error werd gestart door Fabrice PELLETIER
Hello,

When I want to add translation for template, we have this error !

I opened an existing item, I clicked on "Save a copy", I changed the Alias, and when I click on "Save", I have the error.

Onderwerp is gesloten.
Meer
3 maanden 1 week geleden #2989 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Error
Hello Fabrice,
Thanks for reporting this.
I'm currently abroad / out of the office for a short break and have only mobile access.
Thursday I will be back in the office and can troubleshoot this issue.
Hope this doesn't interfere with your plans for implementing ochsubscritions.
Onderwerp is gesloten.
  • Fabrice PELLETIER
  • Onderwerp Auteur
  • Offline
Meer
3 maanden 1 week geleden #2990 door Fabrice PELLETIER
Beantwoord door Fabrice PELLETIER in topic Error
Hi Ruud,
I can wait.
Good holidays.
Onderwerp is gesloten.
Meer
3 maanden 6 dagen geleden #2992 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Error
Hi Fabrice,
in the Private message tab there is a download link to a new (dev) version. only change is the fix for the 'save as copy'.
Please note (I have added that as a description to the alias) that the alias is used to select the correct template.

So when the header is needed it will do a query for a template with alias 'header'. When making multiple language versions, the alias must stay the same. When you set the alias as header-fr then it will still search for header and as such use the language 'all' version.

I have also improved this is the code (default behavior was to remove the alias, now when doing a save as copy it will keep the correct alias (and allows it to save)

The dev version can be installed over the current version (3.13.1).

If you can confirm this fixes the issue I will do a new release in the next days.

Regards, Ruud.
Onderwerp is gesloten.
  • Fabrice PELLETIER
  • Onderwerp Auteur
  • Offline
Meer
3 maanden 2 dagen geleden - 3 maanden 2 dagen geleden #3014 door Fabrice PELLETIER
Beantwoord door Fabrice PELLETIER in topic Error
Hi Ruud,

When I install the new version, I have the messages :

success
Obsolete (left-over from previous release) directory "/home/gmapfp/sites/gmapfp-pro/administrator/components/com_ochsubscriptions/views" successfully removed.
Obsolete (left-over from previous release) directory "/home/gmapfp/sites/gmapfp-pro/administrator/components/com_ochsubscriptions/layouts" successfully removed.
Obsolete (left-over from previous release) directory "/home/gmapfp/sites/gmapfp-pro/administrator/components/com_ochsubscriptions/libraries/vendor" successfully removed.
Installation of the component was successful.×
danger
BLOB, TEXT, GEOMETRY or JSON column 'style' can't have a default value

and when I try to save a copy or save a new, I have the error :

danger
Save failed with the following error: Field 'style' doesn't have a default value

I have this error only on the template header and footer. It works for the others.
Laatst bewerkt 3 maanden 2 dagen geleden door Fabrice PELLETIER.
Onderwerp is gesloten.
Meer
3 maanden 1 dag geleden - 3 maanden 1 dag geleden #3015 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Error
Good morning Fabrice,
turns out my 'fix' only works on newer Databases (hence the error you are getting).
So I worked around this limitation and solved it in another way (through code instead of via the database).

new test version in link above (turns out that private messages are entered in a tab but not displayed in a tab :))

Let me know of this works, you can install it over the previous dev version.

regards,
Ruud
Laatst bewerkt 3 maanden 1 dag geleden door Ruud van Lent.
Onderwerp is gesloten.
  • Fabrice PELLETIER
  • Onderwerp Auteur
  • Offline
Meer
3 maanden 1 dag geleden #3017 door Fabrice PELLETIER
Beantwoord door Fabrice PELLETIER in topic Error
Hi Ruud,

This part works.
And how I can translate :
- Products
- Files Categories
- Files
- Coupons
- ...
Onderwerp is gesloten.
Meer
3 maanden 1 dag geleden #3018 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Error
Hi fabrice,
thanks for confirming.
ochSubscriptions uses Joomla core functionality for the language.
You can use Joomla Core functionality to make some language overrides:
docs.joomla.org/Help4.x:Languages:_Overrides
Onderwerp is gesloten.
  • Fabrice PELLETIER
  • Onderwerp Auteur
  • Offline
Meer
3 maanden 1 dag geleden - 3 maanden 1 dag geleden #3019 door Fabrice PELLETIER
Beantwoord door Fabrice PELLETIER in topic Error
Yes, for the texts of the component.
But in the products items, I can't select language. So I can't translate my text in description field or other information.
Laatst bewerkt 3 maanden 1 dag geleden door Fabrice PELLETIER.
Onderwerp is gesloten.
Meer
3 maanden 1 dag geleden #3020 door Ruud van Lent
Beantwoord door Ruud van Lent in topic Error
Hi,
correct, that is not possible, only the component and the templates can be used multilanguage unfortunately.

everything from subscriptions (times) to discounts to rights is linked to the product id, when implementing multilanguage the 'Joomla way' you would get an additional product for each language resulting in different products.

That would not work for this component.

but having said that, maybe (in a future version) we could add the different languages (e.g. product description) in one field but label it. When rendering th eproduct it would the look for the e.g. fr-FR label and when it finds that in the product description display that, if not display the generic part.

That is something I need to think about: would that work, what would be the impact, how to implement so it is easy for you as a user to use it, etc.

If you have any ideas on this or examples: feel free to share and discuss
Onderwerp is gesloten.