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™

You need PHP v5.2+ to use the s2Member plugin.

s2Member Plugin. A Membership plugin for WordPress®.

You need PHP v5.2+ to use the s2Member plugin.

Postby jetheat » October 16th, 2010, 2:38 am

I have downloaded and installed and activated the plugin but as soon as I do, I get the error:

Code: Select all
You need PHP v5.2+ to use the s2Member plugin.


I have PHP 5.3.3 installed on my server.

Furthermore, the plugin settings don't appear in my Wordpress sidebar once it is activated.

I have tried adding:
define ("WS_PLUGIN__S2MEMBER_MIN_PHP_VERSION", "5.2");
to my wp-config file but that didn't make the plugin appear on my sidebar either.

Any suggestions?
User avatar
jetheat
Registered User
Registered User
 
Posts: 8
Joined: October 16, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby jetheat » October 19th, 2010, 3:47 pm

No answers yet?
User avatar
jetheat
Registered User
Registered User
 
Posts: 8
Joined: October 16, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby Jason Caldwell » October 22nd, 2010, 5:37 am

Hi there. Thanks for your patience.

I can confirm that s2Member IS compatible with PHP v5.3.
Are you running a beta release perhaps?

Please run this test file and see what you get.
Code: Select all
<?php echo PHP_VERSION; ?>

If you take a look inside /s2member/s2member.php you will find this section of code:
Code: Select all
version_compare (PHP_VERSION, WS_PLUGIN__S2MEMBER_MIN_PHP_VERSION, ">=") 

You can remove that part of the conditional statement if you really need to.

~ Please report back if you can. Thanks!
~ 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: You need PHP v5.2+ to use the s2Member plugin.

Postby MarshaS » November 4th, 2010, 10:44 am

I'm trying to use s2Member as well and I have exactly the same issue.
I just had the webhost transfer the site to a server with PHP v5.2, uninstalled and reinstalled s2Member and I still get the message and don't see anything in the dashboard for s2Member.

Please advise.

And note, I'm not a coder but I can find my way around most things with enough explanation, so please be gentle. ;)

Many thanks.
User avatar
MarshaS
Registered User
Registered User
 
Posts: 5
Joined: November 4, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby Jason Caldwell » November 4th, 2010, 11:12 am

Hi there. Thanks for reporting this important issue.

Please load this file onto your server ( anywhere ) and open it in a web browser. I'd like to see what your installation of PHP is reporting itself as; this way we'll know where the comparison issue is at.
Code: Select all
<?php echo PHP_VERSION; ?>
php-version.zip
(154 Bytes) Downloaded 32 times
~ 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: You need PHP v5.2+ to use the s2Member plugin.

Postby MarshaS » November 4th, 2010, 1:55 pm

Thanks, Jason.
I extracted and uploaded the file. When I open it, I get this:
<?php echo PHP_VERSION; ?>

Is this what you're looking for?

Marsha

The site is http://www.polaritycenter.com
User avatar
MarshaS
Registered User
Registered User
 
Posts: 5
Joined: November 4, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby Jason Caldwell » November 4th, 2010, 2:06 pm

Thanks for the follow-up.
No, you'll want to be sure the file has a .php extension so the contents of the file are parsed ( processed ) as PHP code. You should end up with something like this in your browser:
Code: Select all
5.2.6
~ 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: You need PHP v5.2+ to use the s2Member plugin.

Postby MarshaS » November 4th, 2010, 4:11 pm

Forgive my ignorance here.
When you say, Open it in your browser, what exactly do you mean?
I right clicked the file and opened it in a new tab.
Is there something else I should be doing?
Sorry if this is basic stuff. I'm learning, but not much of a techie yet. :?
User avatar
MarshaS
Registered User
Registered User
 
Posts: 5
Joined: November 4, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby Jason Caldwell » November 4th, 2010, 4:45 pm

Not a problem. Since PHP is a server-side programming language, you'll want to FTP/upload the file /php-version.php to your web server; so you can access it through a web browser.

So you might open a link in your browser that points to:
Code: Select all
http://yoursite.com/php-version.php
That will output what we need then.
~ 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: You need PHP v5.2+ to use the s2Member plugin.

Postby MarshaS » November 4th, 2010, 6:29 pm

I uploaded it using the upload command in the file manager of the web host. Is that not adequate?
User avatar
MarshaS
Registered User
Registered User
 
Posts: 5
Joined: November 4, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby mariamar » November 18th, 2010, 9:56 pm

Hi,

I have the same problem as Jethead. I am trying to install s2member to my wordpress and I get the same message. Please advise, as I don't see any solution offered, and there's three of us with the problem. Be easy on me. I'm not a coder.

Thanks,
MM
User avatar
mariamar
Registered User
Registered User
 
Posts: 16
Joined: November 18, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby paulinobrener » November 22nd, 2010, 1:50 pm

i uploaded php-version.php and ran it (at http://elsse.com/php-version.php)

and got the following

4.4.9
User avatar
paulinobrener
Registered User
Registered User
 
Posts: 7
Joined: November 13, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby paulinobrener » November 22nd, 2010, 2:04 pm

and i got this message from my server host customer service

"The server your account is on is running php 5.3.2."
User avatar
paulinobrener
Registered User
Registered User
 
Posts: 7
Joined: November 13, 2010

Re: You need PHP v5.2+ to use the s2Member plugin.

Postby paulinobrener » November 25th, 2010, 4:11 pm

my issue is solved. thanks for the answers!
User avatar
paulinobrener
Registered User
Registered User
 
Posts: 7
Joined: November 13, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 3 guests

cron