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 WordPress.org. See: new forums @ WordPress.org

Upgrading to the latest version ( instructions )

Common Questions/Problems/Tips. Posted by Administrators & Support Reps.

Upgrading to the latest version ( instructions )

Unread postby Jason Caldwell » June 19th, 2010, 6:26 pm

Inside your WordPress Dashboard, go to:
`s2Member -> General Options -> De-Activation Safeguards`

Turn Safeguards `on`, and click Save. This tells s2Member NOT to remove any existing data/options; should WordPress try to de-activate it inadvertently.

It is always a good idea to backup your files and database before upgrading any aspect of your WordPress® installation. Now, you can either (upgrade automatically) by going to `WordPress® -> Plugins` and clicking "upgrade automatically". Or, if that fails with memory errors, you can upgrade manually by following these instructions:

1. Backup files and database ( always a good idea ).
2. Enable De-Activation Safeguards ( as instructed above ).
3. Login via FTP, and delete the entire `/wp-content/plugins/s2member` directory.
You can leave `/plugins/s2member-logs/` and `/plugins/s2member-files/`.
4. Now upload the latest `/s2member` folder to `/wp-content/plugins/`.
5. That's it. All existing options will remain intact.


* If you're running s2Member Pro, repeat steps #3 and #4 for the /s2member-pro directory.

s2Member is different than most plugins, in that, s2Member is capable re-activating itself automatically. So even with a manual upgrade, everything will load back up safely after the upload is completed.

* It is always a good idea to take your site offline during an upgrade.
We use this plugin for that: http://wordpress.org/extend/plugins/wp- ... ance-mode/


= Why would I get memory errors during automatic upgrade? =
This depends on your hosting provider and/or server configuration. Some web hosting companies impose very low limits on the amount of memory available to WordPress® during the execution of a single script. Since s2Member is a larger plugin, WordPress® may exceed conservative limits set forth by shared hosting companies. The solution is to upgrade manually. Memory limits only affect the WordPress® auto-installation/upgrade routine, not the actual functionality of WordPress® or s2Member.
~ 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: Upgrading to the latest version ( instructions )

Unread postby hapke » July 21st, 2011, 9:10 am

Can I use the automatic upgrade function within WordPress plugins?
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Upgrading to the latest version ( instructions )

Unread postby Jason Caldwell » July 21st, 2011, 3:30 pm

Thanks for the excellent question.
hapke wrote:Can I use the automatic upgrade function within WordPress plugins?

Absolutely. It's still a good idea to follow steps 1 and 2 though.
1. Backup files and database ( always a good idea ).
2. Enable De-Activation Safeguards ( as instructed above ).
~ 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: Upgrading to the latest version ( instructions )

Unread postby hapke » July 21st, 2011, 3:48 pm

Thank you, I will do so.
User avatar
hapke
Registered User
Registered User
 
Posts: 38
Joined: October 5, 2010

Re: Upgrading to the latest version ( instructions )

Unread postby Cristián Lávaque » July 21st, 2011, 4:28 pm

Another tip for Step 4 above:

Instead of uploading the directories via FTP, you can upload the s2Member zip file using WP's form. WP Admin -> Plugins -> Add New -> Upload

After uploading s2Member, activate it. After uploading s2Member Pro, don't activate it, s2Member will do it automatically.
Cristián Lávaque http://cristianlavaque.com
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: Upgrading to the latest version ( instructions )

Unread postby tokyoterri » August 20th, 2011, 10:23 pm

Hi Jason:

Hope this finds you well - I am trying to upgrade s2member pro via ftp as it's too large to upgrade automatically via my WP dashboard.
the site I'm working on is: express yourself-japan.com
I'm getting prepared to actually use the site, so I have installed s2. I've done this before - I usually delete both folders and download the free and the paid modules to re-instal.
Usually it goes without a hitch, but this time, I'm getting a 'Some files could not be deleted' error when I try to delete s2member.

Please see the attached screenshots. What do I need to do?

thanks,

best,
Terri
Attachments
Screen Shot 2011-08-21 at 12.08.37 PM.png
ftp results when I try to upgrade to s2member pro
Screen Shot 2011-08-21 at 12.08.37 PM.png (75.12 KiB) Viewed 5072 times
Screen Shot 2011-08-21 at 12.10.46 PM.png
ftp results when I try to delete the s2 folder
User avatar
tokyoterri
Registered User
Registered User
 
Posts: 11
Joined: August 20, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Jason Caldwell » August 21st, 2011, 12:09 am

Thanks, hope you're doing well also.

Is that a hosting control panel you're working in? If so, try deleting all of the files inside the /images/ directory and *then* delete the images directory once it's empty. Either that, or log in via FTP and delete the folder. In some cases, you may need to modify the settings in your FTP client to allow the deletion of non-empty directories. In either case, this limitation has to do with server configuration and/or client/control panel limitations. The ability to delete non-empty directories needs to be allowed, otherwise you'll work yourself to death trying to delete the files inside each directory and sub-directory. In the case of Linux/Unix, the command line function is: rm -r, for a recursive deletion.
~ 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: Upgrading to the latest version ( instructions )

Unread postby tokyoterri » August 21st, 2011, 2:49 am

Hi Jason:

Okay, I was able to delete both folders after following your advice. I've ftp'd them both into the plugin folder, and I do have S2Member wiring on the site, but I still have the pink upgrade message.

Is there anything else I can do?

thanks,

Terri
User avatar
tokyoterri
Registered User
Registered User
 
Posts: 11
Joined: August 20, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Jason Caldwell » August 21st, 2011, 11:26 am

Thanks for the follow-up.
What does the upgrade message say exactly?

If you're still getting notices about needing to update s2Member Pro, make sure that you've got the proper directory structure. For instance, I've seen some site owners do this by mistake:

These are bad:
Code: Select all
/wp-content/plugins/s2member/s2member/s2member.php
/wp-content/plugins/s2member-pro/s2member-pro/pro-module.php
( notice the double nesting of s2member, not good )

This is how it should be:
Code: Select all
/wp-content/plugins/s2member/s2member.php
/wp-content/plugins/s2member-pro/pro-module.php
~ 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: Upgrading to the latest version ( instructions )

Unread postby tokyoterri » August 21st, 2011, 1:30 pm

Hi Jason:

It's the same error message I've gotten all along (see screenshot)
No, my file structure seems normal (see screenshot). Also, S2 member is working as well. It's just the updating that isn't.

Thanks for your fast responses!

best,
Terri
Attachments
Screen Shot 2011-08-22 at 3.28.44 AM.png
Screen Shot 2011-08-22 at 3.26.45 AM.png
User avatar
tokyoterri
Registered User
Registered User
 
Posts: 11
Joined: August 20, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Jason Caldwell » August 22nd, 2011, 12:43 pm

Thank you for the follow-up.
Those screenshots show /plugins/s2member/ and /plugins/s2member-pro/.
Do you have: /plugins/s2member-pro/pro-module.php

You might also want to be sure that all files were uploaded in ASCII and/or Auto mode via FTP. Be sure not to upload PHP files in binary format, ASCII format only when you upload via FTP 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: Upgrading to the latest version ( instructions )

Unread postby markzdemetrez » August 25th, 2011, 4:55 am

Thank you for this informative discussion.
User avatar
markzdemetrez
Registered User
Registered User
 
Posts: 1
Joined: August 25, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby tokyoterri » August 31st, 2011, 7:27 pm

Hi Jason:

Hmm, not sure why, but I deleted and reinstalled both folders again, and it works. Which rocks!

Thanks,

Best,
Terri
User avatar
tokyoterri
Registered User
Registered User
 
Posts: 11
Joined: August 20, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Cristián Lávaque » September 1st, 2011, 1:33 pm

That's great, Terri! :)
Cristián Lávaque http://cristianlavaque.com
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: Upgrading to the latest version ( instructions )

Unread postby rainbowsurfer » September 28th, 2011, 12:00 pm

Hi Jason

I've just tried upgrading to v 119027, thought I done everything ok and when going back to the plugins page got this message:

"The plugin s2member/s2member.php has been deactivated due to an error: Plugin file does not exist."

The whole of the s2 plugin has gone from my dashboard. Is there a way to recover my settings and any ideas why this might have happened.

Thanks
User avatar
rainbowsurfer
Registered User
Registered User
 
Posts: 42
Joined: May 25, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Jason Caldwell » October 1st, 2011, 9:37 pm

Thanks for your inquiry.
rainbowsurfer wrote:Hi Jason

I've just tried upgrading to v 119027, thought I done everything ok and when going back to the plugins page got this message:

"The plugin s2member/s2member.php has been deactivated due to an error: Plugin file does not exist."

The whole of the s2 plugin has gone from my dashboard. Is there a way to recover my settings and any ideas why this might have happened.

Thanks
Hmm, this looks like you may have uploaded s2Member before decompressing the ZIP file, or perhaps you decompressed s2Member's ZIP file distribution into a separate sub-folder. In either case, your settings should be fine, you just need to get the files back in the right location.

Be sure you have this:
/wp-content/plugins/s2member/s2member.php
and NOT this by mistake: /wp-content/plugins/s2member/s2member/s2member.php
( notice the extra sub-directory? )
~ 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: Upgrading to the latest version ( instructions )

Unread postby rainbowsurfer » October 2nd, 2011, 10:06 am

Thanks for getting back Jason.

I think the problem was caused by a Mailchimp update because once I deleted the Mailchimp plugin I was able to do an automatic update of s2 member pro. Luckily I'd followed your advice and done backups so all data remained intact.
User avatar
rainbowsurfer
Registered User
Registered User
 
Posts: 42
Joined: May 25, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Drakensberg Express » October 3rd, 2011, 8:39 am

Jason Caldwell wrote:Thanks for your inquiry.
rainbowsurfer wrote:Hi Jason

I've just tried upgrading to v 119027, thought I done everything ok and when going back to the plugins page got this message:

"The plugin s2member/s2member.php has been deactivated due to an error: Plugin file does not exist."

The whole of the s2 plugin has gone from my dashboard. Is there a way to recover my settings and any ideas why this might have happened.

Thanks
Hmm, this looks like you may have uploaded s2Member before decompressing the ZIP file, or perhaps you decompressed s2Member's ZIP file distribution into a separate sub-folder. In either case, your settings should be fine, you just need to get the files back in the right location.

Be sure you have this:
/wp-content/plugins/s2member/s2member.php
and NOT this by mistake: /wp-content/plugins/s2member/s2member/s2member.php
( notice the extra sub-directory? )


Hi everybody,

Thanks for the lovely plugin. Now here is the thing, I have the same error as quoted with some slight exception. I saw that there was an update so I auto updated the s2member plugin without knowing about the instructions to De-activate the fail-safe thingy-majig. So all I was getting is a very bright white screen that almost destroyed my eyesight due to the fact of my LED screen on the Dashboard and on any page of my blog. So cleaver as I thought to be, I opened my FTP client and renamed the s2folder to something other than s2member. So now I was stuck the the above dilemma and had an error. Tried to reactivate the **** thing and was blinded again. Now you see, I like to think of myself as a bight spark and I deleted all s2member plugin content from my server. And by now I used Google to confirm my know-how and found out about the fail-safe stuffs. Thinking, well I deleted everything, I can just install a fresh copy and I should be sorted. Ha but no, I was fooled by my ignorance and was force to ask the pros what I am doing wrong.

1. So in short I upgraded without De-activating the step in the above instructions.
2. Re-named the s2member folder to gain access to my dashboard and received an error due to my renaming.
3. I deleted all s2member folders from the plugin folder.
4. I installed a fresh copy of s2member
5. Renamed it again to have access to my entire blog.
6. Posted this :)

So if any of you kind coders out there have a solution to me endeavor, please let me know.
It will be gracefully appreciated.

PS. I have my files all in the correct locations. Not like above.
Drakensberg Express
Your Guide to the Drakensberg.
http://drakensbergexpress.com
User avatar
Drakensberg Express
Registered User
Registered User
 
Posts: 2
Joined: October 3, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby SocialCowgirl » October 3rd, 2011, 11:49 am

Got a fatal error when upgraded to v111002. Then when I downgraded to the previous version now I get a new error "In order to load the s2Member Pro Module, you need the s2Member Framework, v111002+". In the meantime my membership site is not functioning. Anyone else a Pro member or getting this?
User avatar
SocialCowgirl
Registered User
Registered User
 
Posts: 9
Joined: October 3, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Jason Caldwell » October 3rd, 2011, 3:53 pm

Thanks for these reports everyone.

s2Member v111003 will be released shortly, for the sole purpose of correcting this fatal error.
* (s2Member v111003) **Bug fix**. Fatal `eval()` error inside: `/includes/classes/no-cache.inc.php` due to an inappropriately placed call to PHP's eval() function.
Fixed in this release of s2Member v111003.
You should receive a notice to upgrade inside your Dashboard. If not, you can grab the latest release here. s2Member Pro customers can access the latest versions of both s2Member and s2Member Pro inside their accounts at s2Member.com. See: http://www.s2member.com/

* Our sincerest apologies for this inconvenience and possible down time.
~ 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: Upgrading to the latest version ( instructions )

Unread postby SocialCowgirl » October 3rd, 2011, 3:57 pm

Awesome Jason!!! Thanks!
User avatar
SocialCowgirl
Registered User
Registered User
 
Posts: 9
Joined: October 3, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Drakensberg Express » October 4th, 2011, 2:35 am

Thanks so much for attending to the errors in you wonderful peace of software.
I am back in the world of members. mow all I need is a few more of them I then I'll get the Pro version
Drakensberg Express
Your Guide to the Drakensberg.
http://drakensbergexpress.com
User avatar
Drakensberg Express
Registered User
Registered User
 
Posts: 2
Joined: October 3, 2011

Re: Upgrading to the latest version ( instructions )

Unread postby Cristián Lávaque » October 4th, 2011, 2:46 am

Glad you got it back to work. Thanks for the kudos! :)
Cristián Lávaque http://cristianlavaque.com
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: Upgrading to the latest version ( instructions )

Unread postby Jason Caldwell » October 7th, 2011, 8:00 pm

SocialCowgirl wrote:Awesome Jason!!! Thanks!

Thank you, and we ARE very sorry for the issue. We'll try very hard not to let this happen again.
~ 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: Upgrading to the latest version ( instructions )

Unread postby luthimir » October 31st, 2011, 5:19 pm

Edit:

I couldn't find a spot to just delete my post so I'll just say that I was victim of uploading s2Member to
Code: Select all
wp-content/plugins/s2member/s2member
e.g. I had the folders listed twice in my FTP directory. It's an easy mistake to make when installing manually, as the folders unzip to s2member/s2member/etc.

Feel free to delete this post if you see fit, I was perplexed before, but now I have solved my own problem.
Last edited by luthimir on October 31st, 2011, 5:42 pm, edited 2 times in total.
User avatar
luthimir
Registered User
Registered User
 
Posts: 10
Joined: June 2, 2011

Next

Return to Common Questions/Problems/Tips

Who is online

Users browsing this forum: No registered users and 4 guests