News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Guests can't download files... - [Solved]

Started by romagromov, 22.02.2015 15:38:16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ColinM

#15
Hi
Think the problem might be the "updated to jdownloads 1.9.2.11" step below.
QuoteI had joomla 2.5 and jdownloads 1.9.16
Then I updated to jdownloads 1.9.2.11
Then to jD2,5
Then to joomla 3.xx
And finally to jD3.2

jD1.9.2.11 is for Joomla 3.x only.  Not sure what would happen if it is loaded onto a Joomla 2.5.x platform
 The route that I and other people have used is to migrate the site from Joomla 2.5.x to Joomla 3.x broadly following the sequence in article
http://www.jdownloads.net/documentations/item/from-jd1-9-1-x-on-joomla-2-5-to-jd3-2-on-joomla-3-2.  
In the later stages it does refer to http://www.jdownloads.net/documentations/item/how-to-upgrade-jdownloads-component-from-1-9-x-to-latest-3-x-version?category_id=40

Perhaps I should change title of article to refer to 1.9.2.x explicitly  Yes will do
Colin

Edit
Please also see topic http://www.jdownloads.com/forum/index.php?topic=7865.msg31316#msg31316
Colin M
  •  

romagromov

#16
Ok, I tryed to check permissions in debug mode.

1. On my 1-st site, that working fine for registered users listed all categories and downloads as "alowed"



and in this list present all files and categories



2. On my 2-nd site listed only component and 2 categories, as alowed




Also, I found next:

When I open any category with "not allowed" setting



I manually set "alowed" and save



Then I again set "inherited" and save. After this, category have "allowed" permission  :o



And after this it displays in user groups



Of course, I can manually open all categories and downloads and set permission, but it will take a few days.

Is there way to make it in batch mode?

PS. Also, when I create new download - it have correct permissions.
Best free windows software for your PC at bestwinsoft.com
  •  

romagromov

#17
Ok, I tryed this way.
I have created temporary category, then replaced all categories in to this category using batch mode in jdownloads admin panel.
Then, I moved all categories back.
After this all categories have correct permissions.
For example, lets take category "Translators":





BUT!!!! When I open this category on site it displays "Only registered and logged in users can download files from this category"   ??? :o :-[ >:(



I'm confused... I don't have ideas anymore...


And when I trying to login as registered user I get notification: You cannot access the private section of this site.

Best free windows software for your PC at bestwinsoft.com
  •  

romagromov

#18
Ok, in assets database were errors...
com_jdownloads must have parent_id - 1
but some downloads had parent_id - 1 and even 0...
After I fix it, message "You cannot access the private section of this site." is gone

Next, If category with permissions "Allowed" have downloads with permissions "Inherited" or "Disallowed" - this category will displays message "Only registered and logged in users can download files from this category".

So, to fix permissions for categories - need to move them in other folder and back.

To fix permissions for downloads - need to move them in other category and back using batch mode. But it possible only step by step (category by category)
So, if you have 100 categories - you should move files from each category - 100 times.

Thanks for help, problem fixed.
I only can't understand, how it happens...  ???
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

Hi
All I can say is well done - very tiresome but 100 is not as bad as one thousand!

Colin
Colin M
  •  

Arno

Hi romagromov,
i think your problems have in this case to do with earlier beta versions. Sorry for this circumstances.

QuoteSo, to fix permissions for categories - need to move them in other folder and back.
Hm.. maybe had you better used the reset permissions help function in the tools page? But not sure...  ::)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

romagromov

Quote from: Arno on 26.02.2015 01:27:48
Hi romagromov,
i think your problems have in this case to do with earlier beta versions. Sorry for this circumstances.
Hm.. maybe had you better used the reset permissions help function in the tools page? But not sure...  ::)

Hi Arno.

Reseting permissions in the tools page not helps.
Best free windows software for your PC at bestwinsoft.com
  •  

Arno

You have right, in your case with the wrong parent_id's helped this not.
The parent_id's in the assets table should have always this structure (see pic).


[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

romagromov

Ok, thanks Arno. I already fix that  ;)
Best free windows software for your PC at bestwinsoft.com
  •