jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: gby on 31.03.2023 16:18:56

Title: Problem tag with 4.0.21 - [Fixed in 4.0.23 stable]
Post by: gby on 31.03.2023 16:18:56
Hi,

I succeeded following your advice to switch to Jdownloads 4 (with step jdownloads_3.9.8.7), no error. Thanks a lot for your advice (topic=13923.0).

But  :-\, I have a problem with the tag {jd_file file==xxx}, it is present in different articles, but it is not interpreted .
The plugins Content - jDownloads and Content - jDownloads Tags Fix are enabled.

If you have an idea !

Best regards

Title: Re: Problem tag with 4.0.21
Post by: gby on 31.03.2023 16:45:40
Sorry,

I understand, you have to be connected.

So how to have an access for "Public" without restriction : Menu, Tag in content, and so on ? (the web site is an intranet)

Best regards
Title: Re: Problem tag with 4.0.21
Post by: ColinM on 02.04.2023 13:14:32
Hi
It sounds to me that the IDs may have been changed in the upgrade.
I would suggest that you enable the jDownloads Content ButtonSee the article
'Using the Content Plugin in Articles and Modules'  - it is in the Modules & Pluguins section

If you use that it lists the Downloads so you can select them by name

Colin
Title: Re: Problem tag with 4.0.21
Post by: gby on 02.04.2023 18:20:44
Hi,
Thank for your response. But the problems are of Public Access type. The IDs are the same before update.

If I don't connect :
If I am connected :

No parameter allows to change this state and the rights are correct. So if you have an idea.
Best regards

Title: Re: Problem tag with 4.0.21
Post by: ColinM on 03.04.2023 10:09:24
Hmm!
Do not think I quite understand.
When you say you are connected do you mean that you are logged in? Presumeably as Super User. Is that correct?

Just had a thought.

In each of your top level Categories have you set the permissions of the Public User Group to Allow?

Colin
Title: Re: Problem tag with 4.0.21
Post by: gby on 03.04.2023 15:55:20
Hi,

Same effect if you are logged in "Registred" or "Super User", you can see all.

All the categories have the permissions "Public" and the Download is "authorized (legacy)" for "Public".

Georges
Title: Re: Problem tag with 4.0.21
Post by: Arno on 03.04.2023 16:59:58
Hi,
something fundamental:
- It would be helpful if they described the situation and the misconduct more in detail. Screenshots can also help.
- Of course, the best thing is to have an administrator in the backend to be able to look at the matter in detail.
- Also, you have now described two different problems at the beginning. This complicates the whole thing unnecessarily. Please only one bug report per topic!

Also useful to read: https://www.jdownloads.com/forum/index.php?topic=13732.0

So the first question that comes to mind, is the first posted problem solved?
Title: Re: Problem tag with 4.0.21
Post by: ColinM on 03.04.2023 18:06:26
Georges
As Arno said  screenshots are helpful

You wrote 'All the categories have the permissions "Public" and the Download is "authorized (legacy)" for "Public".'
Regret I do not understand what you mean by 'authorized (legacy)'
Could you please clarify.
Also do you have Super User access to the backend?

Colin
---------------------------------------------------------------------
Comme l'a dit Arno, les captures d'écran sont utiles.

Vous avez écrit 'Toutes les catégories ont les permissions "Public" et le téléchargement est "autorisé (hérité)" pour "Public".'
Regret je ne comprends pas ce que vous entendez par 'autorisé (hérité)'
Pourriez-vous clarifier s'il vous plaît.
Avez-vous également un accès super utilisateur au backend ?

Colin
Title: Re: Problem tag with 4.0.21
Post by: gby on 03.04.2023 18:20:12
Here there is a screenshot of the right of a categorie.

For the access to the backend, we did a test with Arno, but there is an IP condition. If you have an IP, maybe I can request an opening on this IP

---

Voici  une capture d'écran des droits d'une catégorie.

Pour l'accès au backend, nous avons fait un test avec Arno, mais il y a une condition d'IP. Si vous avez une IP fixe, je peux peut-être demander une ouverture sur cette IP
Title: Re: Problem tag with 4.0.21
Post by: ColinM on 05.04.2023 00:40:37
Georges,
Can you also please check the permissions settings for the top level categories

Have you set any permission for category or a Download for any User Group to Deny?
Colin
------------------------------------------------------------------------
Pouvez-vous également vérifier les paramètres d'autorisations pour les catégories de niveau supérieur

Avez-vous défini une autorisation pour une catégorie ou un téléchargement pour un groupe d'utilisateurs sur Refuser ?
Title: Re: Problem tag with 4.0.21
Post by: gby on 05.04.2023 01:17:30
Hi,
All the categories have the same access : Public and  Download is "authorized"
All the files have the same access : Public

For all files if I make a "Accessibility Check" or a "Preview", the response is "La page recherchée ne peut être affichée." Strange !

-----
Toutes les catégories ont le même accès : Public et Téléchargment est "autorisé"
Tous les fichiers sont en accès Public

Pour tous les fichiers si je fais une "Vérification d'accessibilité" ou un "Aperçu", j'ai la réponse "La page recherchée ne peut être affichée." Étrange !

Best regards

Georges
Title: Re: Problem tag with 4.0.21
Post by: ColinM on 05.04.2023 12:30:34
Georges,
Accessibility is for users who have for instance limited vision so it checkes if the page meets the WCAG standards. 
It has nothing whatsoever to do with the Joomla! Access critrerion

In the jD backend please go to Categories - it should give you a view like attached pic Categories01.png
Then click on a top level Category which will give a view like pic Categories02.png
Click on the Permissions tab to get a view like pic Categories03.png

Could you please send pics from your site like the ones shown.
Thanks
Colin
------------------------------------------------------------------
L'accessibilité est destinée aux utilisateurs qui ont par exemple une vision limitée, il vérifie donc si la page répond aux normes WCAG.
Cela n'a rien à voir avec Joomla! Critère d'accès

Dans le backend jD, allez dans Catégories - cela devrait vous donner une vue comme la photo ci-jointe Categories01.png
Cliquez ensuite sur une catégorie de niveau supérieur qui donnera une vue comme l'image Categories02.png
Cliquez sur l'onglet Autorisations pour obtenir une vue comme pic Categories03.png

Pourriez-vous s'il vous plaît envoyer des photos de votre site comme celles montrées.
Merci
Title: Re: Problem tag with 4.0.21
Post by: gby on 05.04.2023 12:55:39
Colin,
It's very nice to help me.

- Categories listing
- The Generale Categorie permissions
- A view of Menu Files listing without login
- BDD : table of categories

Thanks a lot
Title: Re: Problem tag with 4.0.21
Post by: Arno on 05.04.2023 14:38:03
Hi,
you could try this:
Open and save a basic category and a few from its downloads again.

Have you still the same problem, send me please again your jDownloads tables as DB export. But only the jD tables please!
So I can check it out.

If that doesn't help, I'll send them my IP to get access.
Title: Re: Problem tag with 4.0.21
Post by: gby on 05.04.2023 15:44:20
Hi,

Same result.

Zip File : all jDownloads tables

Danke sehr
Title: Re: Problem tag with 4.0.21
Post by: Arno on 06.04.2023 13:51:46
Hi,
QuoteI succeeded following your advice to switch to Jdownloads 4 (with step jdownloads_3.9.8.7), no error. Thanks a lot for your advice (topic=13923.0).
However, it looks like the jDownloads tables still have the structure of jDownloads 3.9. instead of the new one of jDownloads 4.

Nevertheless, when I import the tables sent to me, I can call up the frontend with the data without any problems. Everything is displayed as expected. See pic.

So something seems to have gone wrong with your update.

Here's what I would suggest:
- you create a complete website backup again!
- uninstall jDownloads 4 (but do not delete the download files or the images, but activate the option to delete the database tables!)
- now reinstall jDownloads 4
- then delete the newly created DB tables and import the previously backed up jDownloads tables (the option: 'Enable foreign key checks' should be deactivated for both actions)
so it might work.

Another option could be to send me a complete Akeeba backup from your Joomla installation AFTER you have updated to Joomla 4 but BEFORE you have tried the update to jDownloads 4!
Title: Re: Problem tag with 4.0.21
Post by: gby on 06.04.2023 14:37:58
I send you a wetransfer by private mail with a backup : Joomla 4 + Jdownloads 3.9 before update Jdownloads 4
Thanks for your help
Title: Re: Problem tag with 4.0.21
Post by: gby on 06.04.2023 19:40:55
Should I try to upgrade to 4.0.22 ? I see it is out yesterday
Title: Re: Problem tag with 4.0.21
Post by: Arno on 06.04.2023 21:35:54
No. I could succesful update your installation. I will your send tommorow the new data.
Title: Re: Problem tag with 4.0.21
Post by: Arno on 06.04.2023 22:47:01
Please check your e-mail account.  ;)

The problem occurs with the jDownloads version 3.0.8.7 or newer.
In this case you must use for an succesful update at least jDownloads 4.0.23.