WordPress.org

Ready to get started?Download WordPress

Forums

XCloner - Backup and Restore
Old issue, dublicated lines in config.php in clone (1 post)

  1. Jonas Lundman
    Member
    Posted 10 months ago #

    Hi,

    This problem has been around for a year or so but its easy to fix so I didnt have time to mention or ask about it. Data below is example from localhost, but behaviour is the same on live servers.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'wp-clean-acf-testdrive');#wp-clean-acf');
    
    /** MySQL database username */
    define('DB_USER', 'root');#root');
    
    /** MySQL hostname */
    define('WP_SITEURL','http://localhost/wp-clean-acf');
    define('WP_HOME','http://localhost/wp-clean-acf');
    define('RELOCATE',true);
    define('WP_SITEURL','http://localhost/wp-clean-acf-testdrive');
    define('WP_HOME','http://localhost/wp-clean-acf-testdrive');
    define('RELOCATE',true);
    define('DB_HOST', 'localhost');#localhost');

    Some lines get dublicated and its not possible to access the site properly without edit the config.php and delete the original rows from the source of the clone.

    There is also som left-overs, like define('DB_USER', 'root');#root'); BUT it works without cleaning up. But it follows with the next clone of clone...

    I need to provide unneccessery info to all my clients about this, and it would be nice if this problem could be fixed, so once the database is populated, just click on EVERYTHING IS DONE... and go...

    Thanks for any suggestions.

    http://wordpress.org/extend/plugins/xcloner-backup-and-restore/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 10 months ago by Jonas Lundman
  • This topic is not resolved
  • WordPress version: 3.5.1