jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Bugs => Topic started by: Gianni on 14.04.2021 17:52:51

Title: 404: page not found jDownload Tree
Post by: Gianni on 14.04.2021 17:52:51
Hi,
I just put in place a multi-language site, with Italian and Spanish languages normally working. I'm using Joomla! 3.9 and gk_magazine Gavic Pro template, but exactly the same happens with Protostar. I have two problems:
1) clicking on an element of the tree when selected language is Italian, all is working fine but selecting Spanish, jDownload Tree returns a "404: page not found" error, which is impossible, because if I reach the same point via menu, the page is correctly there.
2) from jDownload content displayed in the mainbody section of the page, logging in with a user enabled to Create downloads, same situation: using Italian language no problem but if I select the "Add" button, it returns me the same "404: page not found" error. Could you please suggest me something to verify? Both problems seems to be related to multi-language site... Thanking you in advance
[image 1 is related to normal situation clicking on "Documenti pubblici" element of the tree it works fine, displaying the corresponding content; Second image refers to clicking under same situation but under Spanish language]
Title: Re: 404: page not found jDownload Tree
Post by: Arno on 15.04.2021 03:02:24
Hi,
could you please activate the 'language debug' option in Joomla and try it then again (with Spanish)?
Post then here the result or send it me via PM. Thanks.

The reason could be some mistakes in the Spanish language file.
Title: Re: 404: page not found jDownload Tree
Post by: ColinM on 15.04.2021 17:48:13
Hi
Have you made a duplicate copy of the jD Treemodule setting each one with the relevant language?They will then only pick up those jD cats and Downloads in the relevant language.
In a multilingual site if you use All as the language for the module it will only pickup those of the current language
Colin
Title: Re: 404: page not found jDownload Tree
Post by: Gianni on 15.04.2021 19:35:06
Hi Arno: if you like I can do but I know the problem is not into the language for itself because I tried before to reinstall all the site starting from Spanish language as installation language and then I added Italian; in that case, the role of languages were inverted: Spanish was the one working fine and Italian returned the 404 page not found error!!!


Again: from the menu, Public Documents category in spanish is normally displayed but, clicking on the tree element -> 404error!!!      Hi Colin: Yes, for sure: I will attach modules declarations I did:
Title: Re: 404: page not found jDownload Tree
Post by: Gianni on 15.04.2021 19:39:14
I'm sorry, this is the right image with spanish tree published
Title: Re: 404: page not found jDownload Tree
Post by: ColinM on 16.04.2021 15:25:39
HiIt is more challenging in multilang.  what I have found that works is that where appropriate it is also necessary to set up the associations.My multilang test site has 4 languages :English German, French and Arrabic.  It also has categories and dowloads that belong to All.
Pic 'Tree modules01.png'  is a composite to show all 4 Tree Modules in the Frontend.  Note that each selects those Categories in the relevant language ans also the 'All' ones.
The other two pics show the listing of the categories in the backend.  The Downloads similarly have Associations.
Rather than thinking that the 404 is a 'bug' perhaps it is saying that the expected file or category does not exist in the choosen language :) ;) Best wishesColinPS Yes the Tree module is more 'particular' than most!!!
Title: Re: 404: page not found jDownload Tree
Post by: Gianni on 16.04.2021 16:12:14
Hi, thanks a lot to answer but the problem is still hot. As you can see in picture "Associtions2", public categories are associated! Here I have a second problem, because, as you can see in picture "Assocoations3", I associated even another category, but, even if the associations field is saved, I cannot see the associations flag  (Associations2) in the "General jDownloads view"! but, selecting jDownloads Multilanguage associations even that category appears associated. I don't understand how it is possible that in general jDownolads Categories' overview does not appear the association but in jDownload Multilanguage Associations (Associations 4) screen yes, it appears. ?!? This is very strange from my point of view, don't you see?
Title: Re: 404: page not found jDownload Tree
Post by: ColinM on 18.07.2021 18:11:58
Gianni
I have now updated both thedocuments about includindthe List all jD Cats in Main menu
https://www.jdownloads.net/documentation-for-v3-9/language-related/associations-multilingual-support
https://www.jdownloads.net/documentation-for-v3-9/language-related/multilingual-modules
Colin
Title: Re: 404: page not found jDownload Tree
Post by: ColinM on 31.07.2021 17:20:44
Associations

Figure Associations 2 shows that you have Associated the Italian Category 'Documenti pubblici', which has 3 Downloads, with its Spanish equivalent.  I would expect the associated Spanish Category to have a title such as 'Documentos públicos'.  Is that assumption correct?


Similarly that Spanish  Category 'Documentos disponibles', which has one Download, is associated with its Italian counterpart. I would expect the associated Italian Category to have a title such as 'Documenti disponibili'.  Is that assumption also correct?

The Italian Category 'Documenti I Grado' is not associated with asnything at the time.

Figure 3
This shows that Category 'Documenti I Grado' will be associated with Spanish Category 'Documentos I Grado ES' when saved.  But matbe it has already been saved.


Figure 4
shows that the Italian Category 'Documenti pubblici' is associated with a Spanish Category.And that Italian Category 'Documenti I Grado'is associated with a Spanish Category.
All seems OK bt I am not sure which categories are associated wih each other.  But Associations do work AOKIf you hover the mouse over the language symbol it shows the associated item - see pic


Colin