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™

Free Download Stopped Working

s2Member Plugin. A Membership plugin for WordPress®.

Free Download Stopped Working

Postby denvert » September 14th, 2011, 12:49 pm

I am administrating a site that has 1 free video download per free registrant every 60 days and it is automatically going to the membership options page without letting users get the one free download. It has been working and just stopped working. I'm at a loss as to how to troubleshoot this.

http://alturl.com/sz6ey
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Free Download Stopped Working

Postby denvert » September 15th, 2011, 10:10 am

Hey, Any advice? sorry to be inpatient but we just sent out a huge e-mail blast.
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Free Download Stopped Working

Postby Jason Caldwell » September 15th, 2011, 1:01 pm

Hi there. Thanks for reporting this important issue.
I'm investigating this now. Thanks for your patience.

What version of WordPress/s2Member are you running please?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Free Download Stopped Working

Postby Jason Caldwell » September 15th, 2011, 1:14 pm

Thanks for your patience.

I've just taken a quick look at your site, and it appears that you're running a corrupted and/or incomplete installation of s2Member and s2Member Pro. Upon free registration, I received this error:
Code: Select all
Fatal error: Class 'c_ws_plugin__s2member_pro_remote_ops' not found in /home/thevideo/public_html/wp-content/plugins/s2member/includes/classes/registrations.inc.php on line 433
This indicates to me that your installation of s2Member and s2Member Pro are incomplete. That is, I would try logging in via FTP and delete these two directories completely.
Code: Select all
/wp-content/plugins/s2member/
/wp-content/plugins/s2member-pro/

Then upload a complete copy of both s2Member and s2Member Pro again following these instructions. Both of these applications are available inside your account at s2Member.com. Please let us know if you continue to have trouble after upgrading your installation to the latest version.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Free Download Stopped Working

Postby denvert » September 15th, 2011, 1:40 pm

Hi Jason,

I think you were subscribing as I was upgrading to latest version. I went back and upgraded to latest versions based on link you sent and still getting the same results. When hovering over link it shows url of the re-direct page. In the past it would show the location of the video and then be re-directed after logging in.

We have had conflict with other scripts on site/theme so their were some mods made that could be creating the error. There also used to be a popup that would appear saying how many downloads were left etc. and this isn't working anymore either.

thanks for your time
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Free Download Stopped Working

Postby Jason Caldwell » September 15th, 2011, 2:03 pm

Ah, gotchya. Thanks.
I just logged into my account with you, and all of the download links point directly to this page:
Code: Select all
http://www.thevideopool.com/membership-options
Since s2Member doesn't modify the links directly, I'm guessing this problem has more to do with the logic behind the actual display of links, and not with s2Member itself. You mentioned that JavaScript confirmation is not working either, and that would be expected when the links are no longer pointing to an actual file download, and just pointing directly to the Membership Options Page: http://www.thevideopool.com/membership-options
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Free Download Stopped Working

Postby denvert » September 15th, 2011, 2:14 pm

When logged in as a user level 1 or above the links work though, they are not set up to go to http://www.thevideopool.com/membership-options.

I upgraded your account to a monthly user, you should be able to see what i'm explaining.
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Free Download Stopped Working

Postby Jason Caldwell » September 15th, 2011, 2:34 pm

Thank you. Yes, the download links are functioning properly on my account now.

The reason the download confirmation prompt is still not working, is because the content portion of your site is being loaded dynamically, through what looks like AJAX, and so s2Member's event listeners are not being attached, because the content of the document does not contain any download links initially. This may also explain the Free Subscriber problem you're having. That is, if content is being pulled via AJAX dynamically, and your developer has integrated conditionals to test Membership Level, these might be failing to provide accurate results, depending on the way your developer integrated things.

The download prompt may or may not be a huge deal for you, but I'm sure that the accurate testing of conditional routines IS important. I would start debugging, by taking a look at your dynamic content integration, and make sure that the current User/Member is being recognized properly in any custom routines that you've built. I'm not seeing anything here that I could call a bug with s2Member yet.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Free Download Stopped Working

Postby denvert » September 15th, 2011, 2:44 pm

Thanks for your help Jason.

The developer needs "some functions that will return true or false when i'm checking if the current user has the right to download a single file". Is there any documentation I can point him to for integrating the ajax with the plugin?
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011

Re: Free Download Stopped Working

Postby Jason Caldwell » September 16th, 2011, 4:09 pm

Yes, please direct them to our forum, and specifically to this article in the s2Member Codex:
viewtopic.php?f=40&t=12455&src_doc_v=110913
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Free Download Stopped Working

Postby denvert » September 16th, 2011, 4:25 pm

Thanks Jason.
User avatar
denvert
Registered User
Registered User
 
Posts: 57
Joined: March 25, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron