jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: ddjenkins on 25.07.2015 10:10:24

Title: Multiple entries in front end view V3.2.35[Solved v3.2.37]
Post by: ddjenkins on 25.07.2015 10:10:24
Hi Colin/Arno,

I'm afraid the multiple entries that I reported previously does not appear to be fixed. If you look here http://pdarcs.com.au/index.php/items-of-interest/club-newsletters/category/2-newsletters I'm still getting multiples. I cleared the cache on the server just in case, but still repeats appear.

Please advise if I need to do anything else to force the fix?

Regards, Daniel
Title: Re: Multiple entries in front end view V3.2.35
Post by: ColinM on 25.07.2015 22:21:29
Hmm!
Quite an impressive number of repeats!  Please send admin links to Arno and myself by PM.  The fix in version 35 sorted out the bug as understood but this seems another one!
Colin
Title: Re: Multiple entries in front end view V3.2.35
Post by: ColinM on 27.07.2015 18:06:30
Hi
Just had another look.  See you have added the August Newsletter.  Still two copies of each download.  In each case both seem identical but difficult to see cause just from front end.

We would like to help you solve.  Do you have multiple menu items to this category?

Colin
Title: Re: Multiple entries in front end view V3.2.35
Post by: ddjenkins on 05.08.2015 04:29:58
Hi Colin, apologies for the delay, I'd not ticked notify my of replies & did not know you'd responded.

I've sent a PM to Arno & you with login & ftp account details.. In answer to your question, yes I have 2 menu items that pint at this location & also one jDownloads Latest module.

Regards, Daniel
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 05.08.2015 13:21:29
Hi Daniel,
sorry for the delay but we have holiday time here in germany.

Thanks for the login data. I will check very soon your backend.
Title: Re: Multiple entries in front end view V3.2.35
Post by: ColinM on 05.08.2015 21:43:55
Hi
Need to look at actual files and directories.  Just summarising things observed - nothing totally significant yet.

Found that all the 'doubles' are newly created downloads whilst the others all appear to be from the 1.9 version when you migrated.
You have several old layouts which you could delete.  But not related to 'double vision'.

Think I have just identified the cause of the problem!

You have a menu item in Hidden Menu called Newsletters (Alias: newsletters) with type  jDownloads » Single Category

In Main Menu  sub menu Items of Interest you have  menu item Newsletters (Alias: club-newsletters) with type jDownloads » Single Category

Both of these menu items point to the Newsletter category.  If I un-publish the Hidden Menu item then only one version of the newsletters appears, that is no more 'double vision'.

This is a bug, a different one from last multiple repeats.  It may be that jD is erroneously using the menu name rather than the menu alias but I am just sumising.  Arno will be able to find the 'challenging' code much better than me!

Your links all work, I have found no side effects of un-publishing the hidden menu item. So I have left it unpublished

Colin
PS loved the front page videos - I trained originally as an aero engineer so really appreciated control shown!!
Title: Re: Multiple entries in front end view V3.2.35
Post by: ddjenkins on 06.08.2015 06:25:18
Hi Colin,

Thanks for looking into this, I've sent you a PM on this subject. I'm aware that there are two menu items. Please see PM for details.

Thanks for your help. Glad you like the site!

Regards, Daniel
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 08.08.2015 11:04:43
QuoteThis is a bug, a different one from last multiple repeats.  It may be that jD is erroneously using the menu name rather than the menu alias but I am just sumising.  Arno will be able to find the 'challenging' code much better than me!
I will test it with hidden (not published) single category menu items. Many thanks for the hint.

Edit:
Hm... it seems to be a very special situation:
1. the 'Hidden Menu' is 'published' like a normal menu module
2. it shall be viewed on 'all pages' like a normal menu module
3. but has not assigned a module position!
::)



Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 08.08.2015 11:52:06
Okay. It was possible for me to reproduce this now.
So it should now be possible to fix it. ;)
Title: Re: Multiple entries in front end view V3.2.35
Post by: ColinM on 08.08.2015 12:06:34
@Arno  - sounds very good :D ;D

@ddjenkins -  are you sure you need to keep published in order to use the link?  Alternatively you could look at https://alterbrains.com/joomla-extensions/seo/direct-alias which provide either direct or relative links.  I have used this with article menu links but  I have not yet tried with jD menu links.

Colin
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 08.08.2015 14:10:37
It seems not so easy to solve this problem with more as a single category menu item for the same category.  :-\
Must be the second menu item in the 'hidden menu' really published?
Title: Re: Multiple entries in front end view V3.2.35
Post by: ddjenkins on 09.08.2015 05:12:55
Arno/Colin,

Now I'm confused (not hard to achieve) I see one of you unpublished the menu item. It still appears to be working & the repeats have gone. I guess shortcut works & repeats are gone I'm happy to close off this issue. Again, thanks for your work.

Regards, Daniel
Title: Re: Multiple entries in front end view V3.2.35
Post by: ColinM on 09.08.2015 12:12:00
Hi
If one of us did unpublish it was an oversight - so apologies.  I know that when I first did my tests and unpublished it I tested that the links in the footer still worked
QuoteYour links all work, I have found no side effects of un-publishing the hidden menu item. So I have left it unpublished
I should have made that message clearer.  Using Hidden menus to get a link is a Joomla! 'trick' I learnt long ago
Colin
Title: Re: Multiple entries in front end view V3.2.35
Post by: steve30000 on 25.08.2015 05:40:08
I'm having this same issue. I have modules set up showing the latest downloads in a single category and I also have menu items for that category as well. I have two sets of files in both the menu item and the module. Is there a workaround for this as I need both the menu item and the module for my site?
Title: Re: Multiple entries in front end view V3.2.35
Post by: ColinM on 25.08.2015 09:53:51
Hi
Could you PM details of your site so we can look.  Also let us know which menu the menu item is on.  May later need admin access.

Have you migrated from a jD 1.9 or moved from Joomla 2.5 to 3.x?  We are trying to understand this bug which is proving 'elusive'.
Colin
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 27.08.2015 15:41:44
@Steve:
you have an old Joomla version 3.3.6 and an very old jDownloads version 3.2.19 installed!!!

We can not give support for old jD versions. So please read  the hints here:
http://www.jdownloads.com/forum/index.php?topic=6811.0
before you post next time a supposed bug! The described bug is already fixed in the meantime!
Title: Re: Multiple entries in front end view V3.2.35
Post by: steve30000 on 27.08.2015 16:00:27
Hi Arno,

The 3.2.19 version that is installed on my development site is just an example of when the software was actually working. On my live server, I have jdownloads 3.2.35 and that is the version that is showing duplicate entries when there are multiple menu items or modules pointing to a single category. Giving you access to the old version on the development server was simply a way for you to see if the bug was introduced during one of the jdownloads updates. If you'd like, I can update 3.2.19 to 3.2.35 and see if the bug is introduced.

Thanks,
Steve
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 27.08.2015 16:38:47
Hi Steve,
the given link is your development site. Okay. And here is the result correct.
This is normal, as we have first to a later point changed the mysql query in some cases. Afterwards we had sometimes double results when it exists nmenu items to single categories. This is known and should be solved with one from our the last updates.

It is not always easy to reproduce bugs like this but i will try it again.
Have you  more as two menu items to the same category?
Is in the development site the same menu structure as in the public website?
Title: Re: Multiple entries in front end view V3.2.35
Post by: steve30000 on 27.08.2015 17:05:58
The development site and the public site have the same menu structure. The error is most noticeable in the Technical Notes menu item under the Business User, Instructors, and Students menu heading as there are three different menu items pointing to the same single category. I also have the same issue when there is a module and menu item listing the same single category.

I have just updated the live site to jDownloads 3.2.36 so it has the most recent version installed and is still displaying the behavior of displaying the same download multiple times in the list. 

Thanks.
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 27.08.2015 19:51:56
Okay. I will check this tonight or tomorrow again here with a menu structure like yours. 
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 28.08.2015 14:35:48
Hi Steve,
i could not reproduce your problem here. I have tried it with some single menu items for single categories and also with some modules.
So i think we have only this option to find and solve the problem:
- you send me a complete akeeba backup from your development website (without the files from the /jdownloads/ folder).
- afterwards i can install it here locally (via akeeba kickstart)
- then it is easy to find the bug with my debugger

So please create the backup and send me a download link via PM.
Title: Re: Multiple entries in front end view V3.2.35
Post by: steve30000 on 28.08.2015 17:26:24
You want the development site in which everything is working properly or do you want the live site which is showing the error?
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 28.08.2015 18:42:51
I think it should be enough your backup site. I can here install then the latest version  and then should we have here the same (wrong) result. Or not?
Title: Re: Multiple entries in front end view V3.2.35
Post by: pruegg on 02.09.2015 08:19:13
I got the same Problem. Our site is multilanguage and the downloads are all the same. But for this reason, we have 3 menuitems for the same category. Result: Each download Shows up 3 times.

[gelöscht durch Administrator]
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 02.09.2015 13:13:38
Hi,
we works on a solution.
But we need a few days for it.  :-\
Title: Re: Multiple entries in front end view V3.2.35
Post by: knackjack on 03.09.2015 15:03:50
My site has the same issue.   All my forms are duplicated.

I have :  jDownloads Version 3.2.36

Do you know when there will be a fix ??
Title: Re: Multiple entries in front end view V3.2.35
Post by: ColinM on 03.09.2015 18:10:35
Hi
Arno is working on a solution.  So it will be soon but it is impossible to define how long it will take to resolve with a robust solution.  Fortunately it is simple to reproduce.  It only seems to appear when there are multiple single category menus active that specify the same category.

Could you confirm that is the same on your site by temporarily disabling one of the single category menu items or by making it specify a different category.  Any confirmation of the causes would be helpful.

Thanks

Colin
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 03.09.2015 19:15:57
Hi.
sad to say but it is not so easy to fix this bug. Possible that we need a 1-2 days more for it, since we will contact for the help also other developers.

Sometimes could it be a temporary solution to deactivate the single category links until we have solved this issue.  ::)
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 04.09.2015 11:54:22
Hi Guys,
i hope i have now found a solution to fix this bug.
The solution is not perfect but should be a help for the moment. A better fix will come with the version 3.x.

Please install the files below, test it and post then here your results.
Many thanks.

[gelöscht durch Administrator]
Title: Re: Multiple entries in front end view V3.2.35
Post by: ColinM on 06.09.2015 18:04:28
Arno
I have checked it out and it now only lists the downloads once.  Had two menu items both listing the same single category.
Colin
Title: Re: Multiple entries in front end view V3.2.35
Post by: Arno on 07.09.2015 11:17:12
Hi Colin,
many thanks for the result.
I have in the meantime found a faster solution. So i will  send your later today another version for a short test.  ;)
Title: Re: Multiple entries in front end view V3.2.35
Post by: steve30000 on 07.09.2015 19:53:04
I will be able to test on Wednesday when I am back from vacation so just let me know what version you want me to test.

Thanks,
Steve
Title: Re: Multiple entries in front end view V3.2.35
Post by: steve30000 on 16.09.2015 20:11:44
Thank you for the fix. It appears to be working fine in the latest release (v3.2.37).