MultiSite local install problems
-
Have a live production wordpress site that I am trying to install locally to troubleshoot some errors for a client.
Here is the list of steps that I have taken,
1. to copy the database i dumped a sql file from the wordpress admin panel.
2. Here is my wp-config file define(‘SUNRISE’, ‘on’);
define(‘WP_ALLOW_MULTISITE’, true);
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
$base = ‘/’;
define(‘DOMAIN_CURRENT_SITE’, ‘www.my-local.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);define(‘WP_HOME’,’www.my-local.com’);
define(‘WP_SITEURL’,’www.my-local.com’);’3. Have changed the following tables in the database to have a home URL and path relevant to my wp-config –
wp_options
wp_site
wp_sitemeta
wp_blogs
wp_#_optionsI basically have changed every instance i could possibly find by using a search and replace sql query or manually digging through the database and changing what i could.
My local site kind of works, but its incredibly slow and is missing a bunch of features… I allowed a table repair option and also when i turn on debugging mode i get a ton of errors that say
Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder.When I look for where this is called I have a wildcard ‘%’ as an argument. What could be going wrong? Thank you for reading this.
- The topic ‘MultiSite local install problems’ is closed to new replies.