Page 1 of 1

Version 111029 S2member

PostPosted: October 31st, 2011, 7:33 pm
by tgmblog
We just upgraded the S2Member basic plugin to Version 111029. Now none of our download links appear to work. We cannot hit any of our member only links and get them to download. Prior to the upgrade everything was working fine. I did a search and could find no problems reported.

any clues.....we keep getting "cannot download file because of unknown error"

thanks

Re: Version 111029 S2member

PostPosted: October 31st, 2011, 7:39 pm
by Eduan
It may be a s2Member bug...
Use the following contact form to securely inform of this bug:
http://www.s2member.com/contact/

Re: Version 111029 S2member

PostPosted: October 31st, 2011, 7:49 pm
by tgmblog
Eduan wrote:It may be a s2Member bug...
Use the following contact form to securely inform of this bug:
http://www.s2member.com/contact/



It seems impossible to report a bug on that contact form and NOT give them access to the site.....that seems a little much. I will wait for an answer on the forum.

Re: Version 111029 S2member

PostPosted: October 31st, 2011, 8:02 pm
by Eduan
You can fill those fields with fake data.

Re: Version 111029 S2member

PostPosted: October 31st, 2011, 8:13 pm
by tgmblog
Eduan wrote:You can fill those fields with fake data.


cool...just did so ...thanks

we have no idea what it can be

Re: Version 111029 S2member

PostPosted: October 31st, 2011, 8:21 pm
by Jason Caldwell
Thanks for the heads up on this thread.

Please report back with the type of server that you're running please. Apache/Windows/other? In the mean time, please try this temporary hack and let us know how it affects your installation.

Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_filter
("ws_plugin__s2member_chunk_file_downloads", "__return_false");
?>

If that makes no difference, please try this:
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_filter
("ws_plugin__s2member_chunk_file_downloads", "__return_false");
add_filter("ws_plugin__s2member_flush_file_downloads", "__return_false");
?>


* Please make that you have NO extra spaces/tabs/line breaks before or after <?php ?>. If you get PHP header errors, that's why. /mu-plugins/ are MUST USE plugins.
See reference article here: http://codex.wordpress.org/Must_Use_Plugins

Re: Version 111029 S2member

PostPosted: October 31st, 2011, 8:29 pm
by tgmblog
We are on a vps cloud. Running CentOS 5.5 x64

I will have to figure out how to do what you just asked. I don't have a clue. I will either figure it out or get some help.

Re: Version 111029 S2member

PostPosted: October 31st, 2011, 9:06 pm
by tgmblog
Jason Caldwell wrote:Thanks for the heads up on this thread.

Please report back with the type of server that you're running please. Apache/Windows/other? In the mean time, please try this temporary hack and let us know how it affects your installation.

Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_filter
("ws_plugin__s2member_chunk_file_downloads", "__return_false");
?>

If that makes no difference, please try this:
Create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_filter
("ws_plugin__s2member_chunk_file_downloads", "__return_false");
add_filter("ws_plugin__s2member_flush_file_downloads", "__return_false");
?>


* Please make that you have NO extra spaces/tabs/line breaks before or after <?php ?>. If you get PHP header errors, that's why. /mu-plugins/ are MUST USE plugins.
See reference article here: http://codex.wordpress.org/Must_Use_Plugins


Your FIRST hack worked like a charm. So there was no need to try the second hack~!!

Your win our S2Member employee of the month award! thank you ...thank you ...thank you!