Member
Member
Ralf   08-01-2016, 10:50
#1

Hi,

I have a problem with the DownloadList Plugin - I guess it has something to do with the user rights.

I have added the printdownloadlist to the codeblock of some articles:
printdownloadlist('uploaded/subfolder')
which works fine as long as i am logged in.

Not logged in vistors see the files, but can not download them.
Example:
http://ralf-kerkhoff.de/artikel/black-white-styles

Can someone point me in the right direction and tell me which settings I have to make?

Cheers
Ralf

Member
Member
Ralf   08-01-2016, 11:35
#2

Hi,

problem is caused by the static html plugin.
Disabling it, solves the problem.

Is there a solution other than:
Either add news.php to the excluded pages in the plugin settings or adding each page (like news.php/titlelink) in the plugin settings?

Cheers
Ralf

Administrator
Administrator
acrylian   08-01-2016, 11:36
#3

Sadly this seems to be an incompatibility with the static_html_cache. If not logged in you get the cached pages and those do not execute the download process for yet unknown reasons. So sadly the only fix currently is to turn the cache off…

Administrator
Administrator
acrylian   08-01-2016, 11:39
#4

You were faster ;-) I don't understand your other question. It is either exclude all news or specific ones. There is no other way. Normally you don't want to exclude that much or any since that is the point of a cache actually.

Member
Member
Ralf   08-01-2016, 12:04
#5

Hi,
my question was if there is another solution than excluding the pages in the static html plugin or disabling the static html plugin.

Something like a 'no cache' argument in the plugin..

Cheers
Ralf

Administrator
Administrator
acrylian   08-01-2016, 12:25
#6

No, the cache happens on a base theme page level. The downloadlist not working is simply a bug no one ever noticed before.

Administrator
Administrator
acrylian   08-01-2016, 17:34
#7

Please try the support build (fix is in /zp-core/index.php) for a fix.

Member
Member
Ralf   08-01-2016, 19:14
#8

Hi,
just uploaded the index.php (as described above) and voila:
download works with the static html plugin enabled.

Thanks a lot for fixing it !!!!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.