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™

Settings disappear after change from IP to domain name

s2Member Plugin. A Membership plugin for WordPress®.

Settings disappear after change from IP to domain name

Postby njprrogers » May 14th, 2011, 10:29 am

Hi,

I've set up my s2member installation and got my wordpress up and running on my IP address.

Using SQL I have changed occurrences of my ip address htttp:\\444.44.44.44 to www.myaddress.com.

When I do this and upload the resulting SQL, my s2member settings disappear although the site is functional.

What should I do?

Thanks!

Nick
User avatar
njprrogers
Registered User
Registered User
 
Posts: 5
Joined: October 26, 2010

Re: Settings disappear after change from IP to domain name

Postby Cristián Lávaque » May 14th, 2011, 11:47 am

Did you update every instance of your address in the database? Also, if that is in a serialized array, you'll need to update the string's length too.
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: Settings disappear after change from IP to domain name

Postby njprrogers » May 16th, 2011, 3:40 am

Hi Cristian,

Thanks for the reply!

I have done a global search / replace to change the string from the IP address to the domain name.

I'm not too sure about serialized arrays though... does s2member serialize the domain before storing it in the database? Would it even be possible for me to find this in SQL output if it did?

What tables / records should I be looking at?

Thanks!

Nick
User avatar
njprrogers
Registered User
Registered User
 
Posts: 5
Joined: October 26, 2010

Re: Settings disappear after change from IP to domain name

Postby njprrogers » May 16th, 2011, 3:50 am

Hi Christian,

Just as an added suggestion, it's nothing to do with the security encryption or anything like that? The domain is not used?

Thanks,

Nick
User avatar
njprrogers
Registered User
Registered User
 
Posts: 5
Joined: October 26, 2010

Re: Settings disappear after change from IP to domain name

Postby njprrogers » May 16th, 2011, 6:14 am

Resolved! Serialized arrays were the cause of the issue.

thanks again for your help.
User avatar
njprrogers
Registered User
Registered User
 
Posts: 5
Joined: October 26, 2010

Re: Settings disappear after change from IP to domain name

Postby Cristián Lávaque » May 16th, 2011, 11:54 am

Thanks for reporting back! I'm very glad you solved it. :)
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: Exabot [Bot], Google [Bot] and 1 guest

cron