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™

Buddypress & s2Member Fatal Error/ JS Issue

s2Member Plugin. A Membership plugin for WordPress®.

Buddypress & s2Member Fatal Error/ JS Issue

Postby karlwithak23 » October 19th, 2011, 4:48 pm

Hi everyone...setting up an s2Member site with the Paypal Pro Forms integration as well as a Buddypress install. Coming across an issue though - when Buddypress is turned on and I go to my s2Member Sign Up/Register page, the Pro Form doesn't load properly - there seems to be some PHP and JS issues. Here's what the Error Console in FF says:

Error: The stylesheet http://ginaaliotti.com/dev/wp-content/p ... 1222758178 was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://ginaaliotti.com/dev/fitness-netw ... -up-today/
Line: 0

Error: missing ; before statement
Source File: http://ginaaliotti.com/dev/wp-content/p ... 1222758178
Line: 2, Column: 9
Source Code:
<b>Fatal error</b>: Call to undefined function bp_is_register_page() in <b>/nfs/c08/h04/mnt/123249/domains/ginaaliotti.com/html/dev/wp-content/plugins/s2member/includes/classes/systematics.inc.php</b> on line <b>113</b><br />

I'm using s2Member version 111017, Buddypress version 1.5.1, and Wordpress 3.2.1.

I've turned off all plugins and the Pro Form works as expected EXCEPT when Buddypress is turned on. Any thoughts?

Thanks!
-Karl
User avatar
karlwithak23
Registered User
Registered User
 
Posts: 5
Joined: October 19, 2011

Re: Buddypress & s2Member Fatal Error/ JS Issue

Postby karlwithak23 » October 19th, 2011, 8:54 pm

For anyone else who's having this problem, I seem to have "fixed" this particular issue by commenting out the error-causing line (113 in v111017) in s2member/includes/classes/systematics.inc.php:

else if (c_ws_plugin__s2member_utils_conds::bp_is_installed () && (bp_is_register_page () || bp_is_activation_page ()))
{
return ($is_wp_systematic = apply_filters ("ws_plugin__s2member_is_wp_systematic_use_page", true, get_defined_vars ()));
}

Just commenting this section out stopped the problem. I'll have to test if processes properly, but it's a temporary solution! (until the next update)
User avatar
karlwithak23
Registered User
Registered User
 
Posts: 5
Joined: October 19, 2011

Re: Buddypress & s2Member Fatal Error/ JS Issue

Postby Eduan » October 19th, 2011, 9:13 pm

Okay glad you were able to solve it, I would inform Jason of this bug with this form: http://www.s2member.com/contact/

P.S. Please tell me when you have reported him.
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: Buddypress & s2Member Fatal Error/ JS Issue

Postby karlwithak23 » October 20th, 2011, 10:27 am

Hi Eduan,

Just reported the bug through the form now!
User avatar
karlwithak23
Registered User
Registered User
 
Posts: 5
Joined: October 19, 2011

Re: Buddypress & s2Member Fatal Error/ JS Issue

Postby Eduan » October 20th, 2011, 10:39 am

Great!
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: Buddypress & s2Member Fatal Error/ JS Issue

Postby Jason Caldwell » October 20th, 2011, 5:32 pm

Thanks for bringing this thread to my attention.
Thanks for reporting this important issue.

I believe we have this issue corrected in s2Member v111017+.
If the problem persists on your installation, please DO let me know. Thank you!
~ 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


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron