latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Losing s2Member options after domain change

Home Forums Community Forum Losing s2Member options after domain change

This topic contains 0 replies, has 1 voice. Last updated by  Frederic Potvin 3 years, 1 month ago.

Topic Author Topic
Posted: Friday Nov 22nd, 2013 at 12:36 pm #61289

Hi, we have a s2member blog farm on http://altitude5.net

The problem
When we copy our Production virtual server to our Development virtual server we replace all URLs in the database from altitude5.net to our dev domain name via Linux sed command.

Turns out that we loose all of our s2Member options. They reset to default on our DEV server.

What I think is the problem
Turns out that in the table ‘wp_options’ in field ‘ws_plugin__s2member_options’ there is a checksum saved there with the options => s:16:”options_checksum”;s:32:”90894d0fff5068bc285ce97e0776a14a”;
Furthermore the code http://www.s2member.com/codex/stable/source/s2member/includes/syscon.inc.php/ confirm that a checksum is saved with the options.

That probably make our option checksum fail, since we change the URLs via the database.

Finding a solution
We need our migration process to be automated so there’s no way we can go in and change configs manually.
What would be awesome is a way to deactivate this check on our DEV server or regenerate the checksum before loading WordPress again.

Thanks for the help!

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.