Page 1 of 1

Restricted downloads sending users to login

PostPosted: November 20th, 2011, 5:05 pm
by RyanJM
I am using links of the type

http://barreciprocity.com/?s2member_fil ... e-file.zip

with target files in the location

.../plugins/s2member-files

I have set the Basic Download Restrictions so that Level 0 users can download an unlimited number of files (I just wanted to force login before download) and this setup was working. Today it started sending me to my login page. The popup launches and tells me how many files I've downloaded and that I have an unlimited number, then it takes me to the login page (where I am already logged in) without downloading the file.

The resulting URL is of the form

siteroot/login/?s2member_seeking=file-Washington+Rules+%28MJP-5.5%29.pdf&s2member_level_req=0

Thanks for your help!

Re: Restricted downloads sending users to login

PostPosted: November 21st, 2011, 4:17 am
by Cristián Lávaque
Hi Ryan.

Did you change something before the behavior changed? Like updating/adding a plugin, for example?

Do you have the latest release of s2Member?

Re: Restricted downloads sending users to login

PostPosted: November 21st, 2011, 9:12 am
by RyanJM
Thanks, Cristian. I changed some links to files in the Uploads directory to their new location in s2member-files. Other than that I don't remember doing anything. I do have the latest s2Member.

Re: Restricted downloads sending users to login

PostPosted: November 21st, 2011, 6:35 pm
by RyanJM
I figured this out and am sorry to report it was a waste of everyone's time. My partner and I had a miscommunication on some SQL queries and we ended up with half www.domain.com and half domain.com links. We got 'er goin' now. Thanks!

Re: Restricted downloads sending users to login

PostPosted: November 25th, 2011, 1:45 pm
by Cristián Lávaque
Thank you very much for reporting back! I'm glad you sorted it out. :)