Unable to migrate multisite
-
While working on my local server, I have been able to work with WP MS easily (using subdirectories). Upon trying to migrate my site to the live server (hosted by IPower.com), I am running into problems. The main problem is “Error establishing database connection.”
All the db settings are correct in wp-config, the user has all priveleges, and a test script shows an easy successful connection to the db with the same credentials. After some tinkering, I found the if I keep the following lines in wp-config, I get the error. Without these lines, I am able to connect to the main site AND back end without issue. The lines are:
define(‘WP_ALLOW_MULTISITE’, true);
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘/’;
define( ‘DOMAIN_CURRENT_SITE’, ‘www.site.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );With the all the lines removed except the first, I logged in and tried to recreate the network. Of course, I got a warning: “Warning: An existing WordPress network was detected.”
At this point I am not sure what to do to recreate or restart my network without getting the database error again. I have a feeling it’s a simple fix I am overlooking.
Thank you for any help!
- The topic ‘Unable to migrate multisite’ is closed to new replies.