From 1fef1e5446d1e22894ceb91fa99a82f04c82a35e Mon Sep 17 00:00:00 2001 From: gregory-p Date: Wed, 27 Mar 2019 15:44:39 +0300 Subject: [PATCH 1/3] LAW-2608 --- environments/qa/wp-config-local.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environments/qa/wp-config-local.php b/environments/qa/wp-config-local.php index 98ea958..da2e00d 100644 --- a/environments/qa/wp-config-local.php +++ b/environments/qa/wp-config-local.php @@ -2,7 +2,7 @@ define( 'DB_NAME', 'WordPress' ); define( 'DB_USER', 'wpuser' ); -define( 'DB_PASSWORD', '9cL?at5gPB6Ejr&t' ); +define( 'DB_PASSWORD', '?aeB366Er81t9Fc4' ); define( 'DB_HOST', 'localhost' ); define('DOMAIN_CURRENT_SITE', 'qa.lawcarta.net'); From 355ea6108bd2ef864812555066a85ce6ed9e2f78 Mon Sep 17 00:00:00 2001 From: gregory-p Date: Fri, 5 Apr 2019 16:12:37 +0300 Subject: [PATCH 2/3] LAW-2594 --- htdocs/wp-content/themes/lawcarta/footer.php | 4 ++-- htdocs/wp-content/themes/lawcarta/page_fac.php | 2 +- .../wp-content/themes/lawcarta/single-fac_category_answer.php | 2 +- htdocs/wp-content/themes/livecarta/footer.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/wp-content/themes/lawcarta/footer.php b/htdocs/wp-content/themes/lawcarta/footer.php index 98caf92..abdae8b 100644 --- a/htdocs/wp-content/themes/lawcarta/footer.php +++ b/htdocs/wp-content/themes/lawcarta/footer.php @@ -14,7 +14,7 @@ require_once 'inc/walker-nav-menu.php'; Privacy Policy Terms of Use Contact Us - FAQ + FAQs
Product
@@ -29,7 +29,7 @@ require_once 'inc/walker-nav-menu.php';
Contact
Contact Us - FAQ + FAQs
Follow Us
diff --git a/htdocs/wp-content/themes/lawcarta/page_fac.php b/htdocs/wp-content/themes/lawcarta/page_fac.php index 24883ba..b91ba10 100644 --- a/htdocs/wp-content/themes/lawcarta/page_fac.php +++ b/htdocs/wp-content/themes/lawcarta/page_fac.php @@ -45,7 +45,7 @@ if ($tIds !== false) {
diff --git a/htdocs/wp-content/themes/lawcarta/single-fac_category_answer.php b/htdocs/wp-content/themes/lawcarta/single-fac_category_answer.php index e91e020..462c5ad 100644 --- a/htdocs/wp-content/themes/lawcarta/single-fac_category_answer.php +++ b/htdocs/wp-content/themes/lawcarta/single-fac_category_answer.php @@ -23,7 +23,7 @@ $post = $posts[0];
diff --git a/htdocs/wp-content/themes/livecarta/footer.php b/htdocs/wp-content/themes/livecarta/footer.php index 2ef0c44..2272318 100644 --- a/htdocs/wp-content/themes/livecarta/footer.php +++ b/htdocs/wp-content/themes/livecarta/footer.php @@ -8,7 +8,7 @@ Privacy Policy Terms of Use Contact Us - FAQ + FAQs
Product
@@ -23,7 +23,7 @@
Contact
Contact Us - FAQ + FAQs
Follow Us
From 36c559882a7b00e845c6456a28df0c942dee0314 Mon Sep 17 00:00:00 2001 From: gregory-p Date: Fri, 5 Apr 2019 16:12:57 +0300 Subject: [PATCH 3/3] db fix instruction --- devops/domain_db_fix.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 devops/domain_db_fix.txt diff --git a/devops/domain_db_fix.txt b/devops/domain_db_fix.txt new file mode 100644 index 0000000..06a9f56 --- /dev/null +++ b/devops/domain_db_fix.txt @@ -0,0 +1,22 @@ + +Update wp domain names in 5 db tables: + +wp_options +wp_2_options +wp_blogs +wp_domain_mapping +wp_site + + +update wp_options set option_value = "https://qa.lawcarta.net" where option_id = 1 limit 1; +update wp_options set option_value = "https://qa.lawcarta.net" where option_id = 2 limit 1; + +update wp_2_options set option_value = "https://qa.livecarta.com" where option_id = 1 limit 1; +update wp_2_options set option_value = "https://qa.lawcarta.net/livecarta" where option_id = 2 limit 1; + +update wp_blogs set domain = "qa.lawcarta.net" where blog_id = 1 limit 1; +update wp_blogs set domain = "qa.lawcarta.net" where blog_id = 2 limit 1; + +update wp_domain_mapping set domain = "qa.livecarta.com" where blog_id = 2 limit 1; + +update wp_site set domain = "qa.lawcarta.net" where id =1 limit 1; \ No newline at end of file