jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: gdproctor@aparian.com on 05.12.2018 02:30:56

Title: Error Too many redirects - On download
Post by: gdproctor@aparian.com on 05.12.2018 02:30:56
I have updated my php from 5.6 to 7.0 on my staging site.
I have been delaying the upgrade because I get an error when clicking on the download for a document.
"www.staging1.aparian.com redirected too many times".

I have reinstalled jdownloads with no joy.
Also tried later php versions.
I have talk to tech support at siteground and they have no idea whatis causing the problem.
Any suggestions would be apreciated.
Title: Re: Error Too many redirects - On download
Post by: ColinM on 05.12.2018 16:17:46
HiNot heard of a multiple redirect problem before!  Will try to help.
I went to your site and tried a to download via the Downloads menu itemGot message as below.  As my browser, Firefox, does send a referrer I presume that I fall foul of the priveledge. Is that correct?
Saw that you are using a modified Files layout but that is not the 'challenge' - thought it was nice about Type and file type.Will send you a PM.Colin
"Notice  Unauthorized access to downloads.
Error! Either you tried to start a download from an unauthorised resource or your browser did not send a referrer."
Title: Re: Error Too many redirects - On download
Post by: gdproctor@aparian.com on 05.12.2018 22:35:45
Colin,

I have tried my origin upload directory path
/home/aparian3/public_html/jdownloads

and in my staging directory
/home/aparian3/staging/1/jdownloads

with the same result.

Graham
Title: Re: Error Too many redirects - On download
Post by: ColinM on 06.12.2018 15:23:28
Graham,
Seem related to hot link protection in the Security tab.  Turned that off and Downloads work.  Might be an .htacces conflict.  Still investigating.
Colin
Title: Re: Error Too many redirects - On download
Post by: gdproctor@aparian.com on 07.12.2018 17:53:20
Thats is great news. 

Thanks for the help.

Graham