Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18722

    Hi,

    Our development environment and production environment are on separate hosts and we need to migrate our app between these hosts frequently.

    As previously noted, and as noted by many others, a standard WP migration is not migrating the Avia theme settings. This is a reported problem and a continuation of a previous thread that was just closed.

    http://www.kriesi.at/support/topic/documentation-migration-of-theme-settings

    I tried following Kriesi’s instructions to create a dummy.php file to clone our settings from one host to another. Unfortunately this did not work either. Our site is complex and it takes a full day to apply all of the custom settings manually. Clearly, this is not a practical migration solution.

    Please advise. Thank you.

    Michael

    #100611

    Unfortunately we haven’t found a fix for the issue yet. It seems like it occurs on some servers and but not on all servers (I could reproduce it on my dev server but Kriesi couldn’t). Some users reported that backupbuddy: http://ithemes.com/purchase/backupbuddy/ works and transfers all settings flawlessly. You can also try a free backup plugin like: http://wordpress.org/extend/plugins/backupwordpress/

    #100612

    Thanks. I will checkout these plugins as a short-term solution. But I really need to get this problem resolved so that I can do a proper migration with SQL import/export. If you can reproduce the problem on your dev server I don’t understand why you are unable to troubleshoot it. Is it possibly a permissions issue?

    #100613

    I debugged the loading process now and I think I found the issue. It seems like following line in frameworkphpclass-superobject.php doesn’t work:

    $database_option = get_option($this->option_prefix);

    and WP returns no settings/data. The funny thing is that I can select the data with following code from the database:

    if(get_option($this->option_prefix) === false){
    global $wpdb;
    $avia_result = $wpdb->get_results("SELECT * FROM $wpdb->options WHERE option_name = 'avia_options_propulsion'");
    $avia_result = $avia_result[0]->option_value;
    }

    print_r($avia_result);

    and this is very weird especially because the get_option() function works with other options and the $this->option_prefix variable contains a valid string. I sent Kriesi a mail and he’ll look into it.

    #100614

    Excellent detective work! Thanks for pursuing this.

    I installed BackupBuddy and am impressed. Thanks for recommending this plugin.

    #100615

    Hi michaelspencer,

    Glad that Peter helped you. :)

    Cheers,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Migrating Theme Settings’ is closed to new replies.