WordPress.org

Ready to get started?Download WordPress

Forums

Fast Secure Contact Form
Site move, all contact form options are lost (5 posts)

  1. XCTrails
    Member
    Posted 1 year ago #

    Hi,

    I just found out that it appears as if all configured options are lost if I move my site from one domain to another. I usually do this when I deploy from a development/staging server to a live server by dumping the entire database, global search&replace on the base url in the DB dump and then re-upload the patched DB to the new server. So far, this always worked. There is one site now which uses FSCF and I just saw that all the configurations I mad on the development server get lost with the above process. What am I missing ?

    Thanks,
    Armin

    http://wordpress.org/extend/plugins/si-contact-form/

  2. converting2wp
    Member
    Posted 1 year ago #

    Do you know if the configuration data for the plugin is stored in a "serialized" format (several options put into one wp_options entry)?

    If so, and if the base url is part of the options, then what may help is

    http://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    that handles the search and replace correctly even in serialized data.

    That script is referenced as a recommendation in the codex entry Moving WordPress.

    Best wishes.

  3. Mike Challis
    Member
    Plugin Author

    Posted 1 year ago #

    You should have used the form backup tool on the form edit page to back up all your forms, then on the new site, restore them. After that, just edit each form making sure the redirect URLs are correct.

  4. converting2wp
    Member
    Posted 1 year ago #

    ?? I'm sure that would work, but if a plugin needs to have its data backed up separately, moving a site from one domain to another quickly becomes quite cumbersome. Yes, actually changing a domain name may be rare, but moving from development to test to production isn't -- and having to repeat a series of manual steps just seems odd and error prone. Is that really the only way to backup the forms?

    Your discussion http://www.fastsecurecontactform.com/backup-restore-forms talks about the dangers of editing the database because some data is serialized. The script above does, however, claim to handle that.

    But maybe there's something specific to this plugin that means its own backup/restore is preferable. Thanks for the tip.

  5. XCTrails
    Member
    Posted 1 year ago #

    Thanks Mike, I suspected something like this, but obviously I was blind and didn't see the backup button.

    And also thanks for pointing out the potential dangers of s&r on the DB dump - I wasn't aware of that ! Seems so far I always got lucky.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic