PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Problem with pdf download

s2Member Plugin. A Membership plugin for WordPress®.

Problem with pdf download

Postby dimitriosvasileiou » December 27th, 2011, 7:02 am

Hello everyone

I just started using s2 and after 2 failed attempts at other membership plugins, so far so good, s2 looks very promising.

However, we seem to have a problem with the pdf downloads and need your help. I believe we have done everything right by following the videos.

I am adding what my technical guy asked me to add as I am not too technical myself. Any questions, I will pass them on to my tech guy, thank you. The site is http://landscapephotographymagazine.com/

"Fresh install of S2Members framework. Custom theme.
S2Members folder exists, and has .htaccess rules.
Problem:
Files truncate/fail to download from website. File downloads 70kb and stops, or just stalls/fail to request anything depending on browser.
File types tested PDF and zip files.
Tested with barebones 2010 theme, problem still persists.
Site is multi-site configured but only used as a single site. Sub-site(s) are development platforms at present with no user access.
Suggestions on how to proceed with diagnostics and/tips how to resolve?"
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011

Re: Problem with pdf download

Postby Eduan » December 27th, 2011, 8:56 am

Could you please try the hack that is suggested in this post:
viewtopic.php?p=46685#p46685

Please tell me how it goes.

Hope this helps. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Problem with pdf download

Postby dimitriosvasileiou » December 27th, 2011, 10:26 am

Thank you for the prompt reply. My tech said that he had to go for this code (below) as this is the one that worked in the end. Perhaps because we are using w3total cache? Oh, and it only worked with zip files, it didn't recognise pdf for some reason.

<?php add_filter("ws_plugin__s2member_chunk_file_downloads", "__return_false"); ?>

For ZIP

Thank you very much, problem solved.
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011

Re: Problem with pdf download

Postby Eduan » December 27th, 2011, 11:12 am

Could you try making a compatibility test?
Just disable each plugin one by one (without including s2Member) until the problem goes away.

Also could you please try changing the theme to the default one (TwentyEleven)?

Thanks.
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Problem with pdf download

Postby Cristián Lávaque » December 28th, 2011, 5:50 am

Glad you solved it, Dimitrios. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Problem with pdf download

Postby dimitriosvasileiou » December 28th, 2011, 10:21 am

Eduan wrote:Could you please try the hack that is suggested in this post:
viewtopic.php?p=46685#p46685

Please tell me how it goes.

Hope this helps. :)


Oops, it seems that I have spoken too soon I'm afraid, problem is not solved at all.

Could you try making a compatibility test?
Just disable each plugin one by one (without including s2Member) until the problem goes away.
Also could you please try changing the theme to the default one (TwentyEleven)?

---
All plug-ins disabled bar S2Member - fault still persists.
Copied link to a none custom post type - fault still persists.

Tried both options on the link provided, second of the two code snippets 404s the link and the second enables the download but it's corrupted. Both removed results in 404s. Checked the .htaccess for any redirects for downloads (we used Download Manager for a while) but all entries have been removed. Temporarily renamed .htaccess and links fail as per above.

This is for signed in ringed subscribers and doesn't affect administrators which is what threw us off initially. Tried 5 browsers so not a browser issue (Firefox 3.6, 8, IE 8, Safari and Opera 11.6)

We need help I'm afraid.
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011

Re: Problem with pdf download

Postby Eduan » December 28th, 2011, 11:40 am

Have you tried changing to the default theme?

If not, please do and tell me how it goes.

Thanks.
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Problem with pdf download

Postby dimitriosvasileiou » December 28th, 2011, 12:47 pm

Eduan wrote:Have you tried changing to the default theme?

If not, please do and tell me how it goes.

Thanks.

yes, didn't work.
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011

Re: Problem with pdf download

Postby Harty » December 28th, 2011, 10:23 pm

Could the problem be connected with an incorrect folder permission issue?
User avatar
Harty
Registered User
Registered User
 
Posts: 104
Joined: April 27, 2011
Location: New Zealand

Re: Problem with pdf download

Postby Cristián Lávaque » December 29th, 2011, 5:28 am

Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Problem with pdf download

Postby dimitriosvasileiou » December 29th, 2011, 8:50 am

Harty wrote:Could the problem be connected with an incorrect folder permission issue?

Nope.
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011

Re: Problem with pdf download

Postby dimitriosvasileiou » December 29th, 2011, 3:05 pm

Cristián Lávaque wrote:Could you try this? viewtopic.php?f=4&t=15731&view=unread#p50635

We tried this and only Safari, Chrome & Opera work but not Firefox and IE. :x
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011

Re: Problem with pdf download

Postby Cristián Lávaque » December 29th, 2011, 11:45 pm

OK... Have you tried using Amazon S3 to serve the files? It's most probable you won't have this issue there.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Problem with pdf download

Postby dimitriosvasileiou » December 30th, 2011, 11:10 am

Cristián Lávaque wrote:OK... Have you tried using Amazon S3 to serve the files? It's most probable you won't have this issue there.

Probably not but I would prefer to have the pdf files on my server.
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011

Re: Problem with pdf download

Postby Harty » December 30th, 2011, 2:13 pm

Could it be an MU issue? Is it worth experimenting your theme etc on a single site install on your current server?
User avatar
Harty
Registered User
Registered User
 
Posts: 104
Joined: April 27, 2011
Location: New Zealand


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 3 guests

cron