Page 1 of 1
deactivate s2member customizations gone?
Posted:
December 6th, 2011, 7:05 pm
by aehageman
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
Re: deactivate s2member customizations gone?
Posted:
December 6th, 2011, 7:18 pm
by Eduan
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.
Re: deactivate s2member customizations gone?
Posted:
December 6th, 2011, 7:22 pm
by aehageman
is there anyway to get them back... IE database restore from yesterday?
Re: deactivate s2member customizations gone?
Posted:
December 7th, 2011, 5:13 pm
by aehageman
database restore does not help..
where are the setting stored?
I have many complete backups, they must be somewhere?!!
Re: deactivate s2member customizations gone?
Posted:
December 7th, 2011, 9:30 pm
by Raam Dev
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
Re: deactivate s2member customizations gone?
Posted:
December 7th, 2011, 10:01 pm
by aehageman
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.
Re: deactivate s2member customizations gone?
Posted:
December 8th, 2011, 12:59 pm
by Cristián Lávaque
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?
Re: deactivate s2member customizations gone?
Posted:
December 8th, 2011, 7:16 pm
by aehageman
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
Re: deactivate s2member customizations gone?
Posted:
December 9th, 2011, 5:11 pm
by Cristián Lávaque
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).
Re: deactivate s2member customizations gone?
Posted:
December 9th, 2011, 9:48 pm
by Raam Dev
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.
Re: deactivate s2member customizations gone?
Posted:
December 10th, 2011, 9:38 am
by aehageman
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.
Re: deactivate s2member customizations gone?
Posted:
December 10th, 2011, 9:39 am
by aehageman
Thanks for your help. It is really nice to have support!
Re: deactivate s2member customizations gone?
Posted:
December 10th, 2011, 5:01 pm
by Raam Dev
You're welcome, Alan! Let us know if you have any other questions.
Re: deactivate s2member customizations gone?
Posted:
December 10th, 2011, 8:44 pm
by aehageman
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
Re: deactivate s2member customizations gone?
Posted:
December 11th, 2011, 2:02 am
by Cristián Lávaque
Glad you sorted it out! Thanks a lot for reporting back.