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™

deactivate s2member customizations gone?

s2Member Plugin. A Membership plugin for WordPress®.

deactivate s2member customizations gone?

Postby aehageman » December 6th, 2011, 7:05 pm

I was having an issue with the s2member paypal buttons. I deactivated all my plugins, including s2member. I activated them all again and s2member paypal buttons started working.. kinda strange i thought.

now all my customizations for the members login, paypal setting, everything is done, it is like it is a fresh install..
very few plugins erase your setting when you deactive.. is there a way to restore my settings.
What can I do to fix this?

Suggestions please!!!!


Alan
Alan Hageman
DomainMaster
501-513-3733
Currently working on www.OnlineHelpServices.com
User avatar
aehageman
Registered User
Registered User
 
Posts: 10
Joined: December 31, 2010
Location: 100 Acre Woods Arkansas

Re: deactivate s2member customizations gone?

Postby Eduan » December 6th, 2011, 7:18 pm

Under WP Admin -> s2Member -> General Options -> De-activation Safeguards, did you set this to Yes?

If you didn't then it's probable it was because of this that you lost your settings.
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: deactivate s2member customizations gone?

Postby aehageman » December 6th, 2011, 7:22 pm

is there anyway to get them back... IE database restore from yesterday?
Alan Hageman
DomainMaster
501-513-3733
Currently working on www.OnlineHelpServices.com
User avatar
aehageman
Registered User
Registered User
 
Posts: 10
Joined: December 31, 2010
Location: 100 Acre Woods Arkansas

Re: deactivate s2member customizations gone?

Postby aehageman » December 7th, 2011, 5:13 pm

database restore does not help..
where are the setting stored?

I have many complete backups, they must be somewhere?!!
Alan Hageman
DomainMaster
501-513-3733
Currently working on www.OnlineHelpServices.com
User avatar
aehageman
Registered User
Registered User
 
Posts: 10
Joined: December 31, 2010
Location: 100 Acre Woods Arkansas

Re: deactivate s2member customizations gone?

Postby Raam Dev » December 7th, 2011, 9:30 pm

Alan,

By default s2Member does not erase the settings when disabling the plugin. This option can be changed in WP Admin -> s2Member -> General Options -> De-activation Safeguards. If at some point you changed this option to No (i.e., don't save settings when disabling), then that would explain why your s2Member settings were erased when you disabled the plugin.

However, if the option was set to Yes (i.e., do save settings when deactivating) and you still lost your s2Member settings upon deactivating the plugin, then it's likely you have something else wrong with your WordPress installation (e.g., problems writing data to the database, strange issues with the server, etc.).

If you have full backups of the WordPress database from when your s2Member settings were in place, then restoring that database should restore your s2Member settings. If it doesn't, then it's likely that your backed up database doesn't contain the s2Member settings that you had configured.

If you'd like to search your database for the s2Member settings, you can run an SQL query like the one below:

Code: Select all
SELECT *
FROM  `wp_options`
WHERE  `option_name` LIKE  '%s2member%'
LIMIT 0 , 30
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: deactivate s2member customizations gone?

Postby aehageman » December 7th, 2011, 10:01 pm

So, if for some reason it was set to NO. Which I will assume it was set to NO. (It is now set to YES and in my notes to verify upon every install that it is.)
The data still had to be stored somewhere, if not in the database where would it have been stored?

I have my tech searching the database for the information as you suggested. We restored to the database the day before we noticed the issues. Which was the paypal buttons not showing up on the site. The code was there just no buttons. I think this issue was resolved, but in resolving it the configuration was lost. ;)
Alan Hageman
DomainMaster
501-513-3733
Currently working on www.OnlineHelpServices.com
User avatar
aehageman
Registered User
Registered User
 
Posts: 10
Joined: December 31, 2010
Location: 100 Acre Woods Arkansas

Re: deactivate s2member customizations gone?

Postby Cristián Lávaque » December 8th, 2011, 12:59 pm

Alan, if the buttons weren't showing, only the shortcode, it could be because the shortcode parser wasn't working for some reason. Even losing all the s2Member data from the db would not cause the buttons to not be parsed. You can check the parsing changing to the default parsing or deactivating other plugins one by one, until parsing works normally again, since it's normally caused by one of them mucking with the parser in some way.

About the data being lost, when you were looking for it, where were you looking? The admin area while having s2Member deactivated? If s2Member wasn't active, then the s2Member would not be shown even if it was in the database. With your backup in place, and with s2Member active, are you still not seeing s2Member's data? Then it's not in the database most probably.

What data was lost? Custom registration fields? s2Member user roles? Restriction options?
Cristián Lávaque http://s2member.net
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: deactivate s2member customizations gone?

Postby aehageman » December 8th, 2011, 7:16 pm

The button issue is not an issue an more.. Fixed that. Thanks at least so it seems.

I am going through the settings one by one. I restored the database and the directories from a previous backup.

my tech said.

"

SELECT * FROM `wp_options` WHERE `option_name` LIKE '%s2member%' LIMIT 0,30;

produces the same 6 rows of result data that it produces in the restore of the database I did yesterday; so there is data in there, but only six rows of data. Perhaps something else is wrong? Do I need to restore the wp-content/plugins/s2member directory perhaps?
"

The following is missing.
Email configuration is set back to default
open registration set to NO was YES
Membership levels set to default
Login/egistration design set to default
Login Welcome page set to default
Membership Options page set to default
etc etc
paypal account details set to default (empty)
Sign up confirmation email set to default
tracking codes are blank
modification notification urls are blank
Paypal buttons for levels are set to default

Okay pretty much everything I changed is set to default or blank.
It is like a fresh s2member install.

Even with the Deactivation Safeguards off the information is required to be saved somewhere. That is the nature of websites.

Thus I can find the data and I can restore it.

Maybe I just need to go back a few more days in the backup restore of the database?

thanks
Alan Hageman
DomainMaster
501-513-3733
Currently working on www.OnlineHelpServices.com
User avatar
aehageman
Registered User
Registered User
 
Posts: 10
Joined: December 31, 2010
Location: 100 Acre Woods Arkansas

Re: deactivate s2member customizations gone?

Postby Cristián Lávaque » December 9th, 2011, 5:11 pm

OK, yeah go back a little more. If you have Deactivation Safeguards off, all s2Member data will be removed when you deactivate s2Member (that includes an update because WordPress first deactivates the plugin to remove the old version, upload the new one and then activates that).
Cristián Lávaque http://s2member.net
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: deactivate s2member customizations gone?

Postby Raam Dev » December 9th, 2011, 9:48 pm

Alan, all of the options are stored within those six rows (each row has a field that contains a ton of data inside, it looks garbled together, but that's how WordPress stores options). So even after customizing s2Member, you'll still only have those six rows.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: deactivate s2member customizations gone?

Postby aehageman » December 10th, 2011, 9:38 am

Went back in the backups to before when I knew the site was correct , restored the database and the site still looks like default s2member.

Guess I have to set aside two days to do it all over again.
Alan Hageman
DomainMaster
501-513-3733
Currently working on www.OnlineHelpServices.com
User avatar
aehageman
Registered User
Registered User
 
Posts: 10
Joined: December 31, 2010
Location: 100 Acre Woods Arkansas

Re: deactivate s2member customizations gone?

Postby aehageman » December 10th, 2011, 9:39 am

Thanks for your help. It is really nice to have support!
Alan Hageman
DomainMaster
501-513-3733
Currently working on www.OnlineHelpServices.com
User avatar
aehageman
Registered User
Registered User
 
Posts: 10
Joined: December 31, 2010
Location: 100 Acre Woods Arkansas

Re: deactivate s2member customizations gone?

Postby Raam Dev » December 10th, 2011, 5:01 pm

You're welcome, Alan! Let us know if you have any other questions.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: deactivate s2member customizations gone?

Postby aehageman » December 10th, 2011, 8:44 pm

figured it out.
Found the data in a really old backup, after creating a test database.

after doing this
SELECT *
FROM `wp_options`
WHERE `option_name` LIKE '%s2member%'
LIMIT 0 , 30

i went into
ws_plugin__s2member_options
copied out the
option_value
and paste it into the current database, same location. saved and it works now.

back to the issue of the paypal buttons not working
first thing clicked yes on safeguards. doh!
second thing deactivated all plugins
turned them on one by one until I found this plugin conflicting, so I turned it off, till I can figure out why they conflict.



Select SEO WordSpinner SEO WordSpinner
Activate | Edit | Delete


SEO WordSpinner is an SEO plugin for WordPress that can be used to 'spin' the content in your blog. Spinning content allows you to create SEO-friendly variations of articles. The idea is to avoid content such as excerpts or page titles being seen as duplicate content when seen on various archive pages. Includes a SEO WordSpinner text widget.
Version 2.0.4 | By Katz Web Services, Inc. | Visit plugin site
Alan Hageman
DomainMaster
501-513-3733
Currently working on www.OnlineHelpServices.com
User avatar
aehageman
Registered User
Registered User
 
Posts: 10
Joined: December 31, 2010
Location: 100 Acre Woods Arkansas

Re: deactivate s2member customizations gone?

Postby Cristián Lávaque » December 11th, 2011, 2:02 am

Glad you sorted it out! Thanks a lot for reporting back. :)
Cristián Lávaque http://s2member.net
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


Return to s2Member Plugin

Who is online

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

cron