6 Commits 329d58d379 ... 60d6fc68e8

Author SHA1 Message Date
  windhamdavid 60d6fc68e8 house log 3 weeks ago
  windhamdavid 95d2bb8c1e contractors 3 weeks ago
  windhamdavid d4256d4fa9 now 3 weeks ago
  windhamdavid 8bb36840a2 gwcal 3 weeks ago
  windhamdavid 412bc7bea8 gwcal 3 weeks ago
  windhamdavid a92779ec36 house bath 3 weeks ago
6 changed files with 338 additions and 27 deletions
  1. 301 0
      docs/gwcal.md
  2. 1 1
      docs/srh.md
  3. 1 0
      lists/now/now.md
  4. 13 14
      notes/house/bath.md
  5. 7 12
      notes/house/helene.md
  6. 15 0
      notes/house/house.md

+ 301 - 0
docs/gwcal.md

@@ -0,0 +1,301 @@
+# Greenwood Calendar
+
+## Log 
+
+- **25/05/28** 
+  - accepted tech admin account on bluehost
+  - modified existing user to administrator
+  - inventoried site
+  - inspected logs
+  - installed query monitor to inspect performance and errors
+  - billed two(2) hours
+
+:::danger[Fault Summary]
+
+The slowness on the front and backend is a combination of these factors:  
+```15+ sec pages loads on back and 6+ on front```
+- database is bloated with unused tables
+- PHP errors on all pages including the admin areas 
+  - mostly coming from plugins and theme
+- mis-configured W3 Cache plugin
+  - many of the slow database queries are coming from ```\W3TCCache_WpdbNEW```
+- Cloudflare is not configured but activated
+- low powered host
+
+
+Other items:
+- unused files scattered in the ```http``` directory
+- FTP users (37)?
+- unused databases (14)?
+- formatting and display errors on site
+  - broken links/images - would need to put a crawler on it to find all and repair. 
+- slow page performance
+  - Lighthouse Core Vitals fail ( 47 ) in majority of tests - https://pagespeed.web.dev/analysis/https-greenwoodcalendar-com/risk18pcla?form_factor=mobile
+
+**NO changes were made because I'd want to get a full backup beforehand.**
+
+:::
+
+
+
+:::tip[Recommendations]
+
+Since you mentioned that you installed w3 total cache as the last step before the noticeable slowdown, I would recommend disabling it as a good start. You're also likely seeing slowness from the shared hosting downgrade. You might consider rebuilding the database using imports and reversing out all existing plugins to eliminate errors. Considering your budget and the lifespan of the project, but for now you could start backing out some of the unused plugins and database tables as a more simple method of improving performance. 
+
+I could test some some minor changes in about ```5``` **hours**, but it would take me ```20+``` **hours** to get it tuned up. The database cleanup is mostly manual and I'd need to run a localhost version to test the plugin and theme dependencies as I clean them. Your site theme is also no longer available via [Envato](https://themeforest.net/item/the-issue-most-versatile-magazine-theme/23448818) -  [(author)](https://themeforest.net/user/fuelthemes/portfolio) which means it's not being updated and will likely incure more errors. To have it back in tip top shape with a new theme it's likely ```40+``` hours of work. 
+
+
+
+:::
+
+You can now inspect the load times, errors, and performance on each page using the query monitor tool.  
+![greenwood-calendar](/img/gwcal.jpg)
+
+### Overview 
+
+CPanel is also very slow which indicates that you've got memory issues. The solution is to lesson your memory usage or increase the memory on your host. I'm getting a consistent 6.78s load time on the home page. A load time of more than 2 seconds is considered bad both from a user experience perspective and crawlers. Search engine results are also affected by performance. 
+
+### Errors
+
+Backend:
+- W3-Total Cache has a misconfigured CDN engine ( nothing set ) 
+- Deprecated	Creation of dynamic property TheIssue_plugin::$plugin_name is deprecated	+ wp-content/plugins/theissue-plugin/plugin.php:43
+- Deprecated	Constant FILTER_SANITIZE_STRING is deprecated	+
+wp-content/themes/theissue/inc/admin/welcome/fuelthemes.php:788
+- Deprecated	Constant FILTER_SANITIZE_STRING is deprecated	+
+wp-content/plugins/theissue-plugin/inc/one-click-demo-import/inc/OneClickDemoImport.php:536
+- Deprecated	strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated	+
+wp-content/plugins/theissue-plugin/inc/one-click-demo-import/inc/OneClickDemoImport.php:537
+- Deprecated	strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated	+
+wp-includes/functions.php:7360
+1	Plugin: the-events-calendar
+- Deprecated	str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated	+
+wp-includes/functions.php:2195
+1	Plugin: the-events-calendar
+- Deprecated	Constant FILTER_SANITIZE_STRING is deprecated	+
+wp-content/plugins/theissue-plugin/inc/misc.php:5
+- Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the js_composer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. (This message was added in version 6.7.0.)	+
+_load_textdomain_just_in_time()
+Plugin: js_composer
+- Function register_sidebar was called incorrectly. No id was set in the arguments array for the "" sidebar. Defaulting to "". Manually set the id to "" to silence this notice and keep existing sidebar content. (This message was added in version 4.2.0.)	+
+register_sidebar() Theme
+
+
+Frontend:
+```sh
+Deprecated	Creation of dynamic property TheIssue_plugin::$plugin_name is deprecated	+
+wp-content/plugins/theissue-plugin/plugin.php:43
+1	Plugin: theissue-plugin
+Deprecated	Creation of dynamic property thb_ShareCount::$raw_url is deprecated	+
+wp-content/themes/theissue/inc/framework/thb-social-shares/social-share-api.php:32
+17	Plugin: theissue-plugin
+Deprecated	Automatic conversion of false to array is deprecated	+
+wp-content/themes/theissue/inc/framework/thb-social-shares/social-share-functions.php:25
+1	Plugin: theissue-plugin
+```
+
+
+## Host
+- BlueHost ( shared )
+- Pin ********
+
+### FTP/SSH
+
+user@ ***.***.***.***  
+user / @greenwoodcalendar.com    
+pass ******************  
+wp-user: ********/******* *******  
+ID: 3197
+
+### User
+
+wp-user: *****/*****************  
+ID: *****
+
+
+
+## Server
+
+- IP ( shared ) - 162.241.216.248
+- Linux Kernal - 4.19.286-203.ELK.el7.x86_64
+- Apache - 2.4.59
+- MySQL -	5.7.23-23
+- CPanel - 110.0 (build 68)
+- 37 FTP accounts 
+  - vast majority are random strings e.g. - ss-91a264361fe511e6@greenwoodcalender.com
+- Logs
+  - last logs stored are from 2023??
+
+### Database
+
+- db: greenwx6_greenwood_calendar2013
+- prefix: wp_Gc13_
+- size: 1.12GB
+- Majority of tables are formatted with MyISAM --> Need to be converted to InnoDB
+- Duplicated sets of tables: other prefix wpstg0, 
+- unused tables - old gravity forms, BuddyPress, IG contacts, MLW quizzes, totalsoft, etc. 
+- unused databases: 
+
+slow queries:
+```sql
+SELECT P.ID
+FROM wp_Gc13_posts AS P
+WHERE P.post_type IN ('post', 'page', 'attachment', 'eventbrite_events', 'facebook_events', 'tribe_events', 'jetpack-portfolio', 'jetpack-testimonial')
+AND P.post_status NOT IN ('auto-draft')
+AND P.ID not in (
+SELECT I.object_id from wp_Gc13_yoast_indexable as I
+WHERE I.object_type = 'post'
+AND I.version = 2 )
+LIMIT 2	+
+W3TC\DbCache_WpdbNew->default_query
+0.1298
+SELECT COUNT(P.ID)
+FROM wp_Gc13_posts AS P
+LEFT JOIN wp_Gc13_yoast_indexable AS I
+ON P.ID = I.object_id
+AND I.link_count IS NOT NULL
+AND I.object_type = 'post'
+LEFT JOIN wp_Gc13_yoast_seo_links AS L
+ON L.post_id = P.ID
+AND L.target_indexable_id IS NULL
+AND L.type = 'internal'
+AND L.target_post_id IS NOT NULL
+AND L.target_post_id != 0
+WHERE ( I.object_id IS NULL
+OR L.post_id IS NOT NULL )
+AND P.post_status = 'publish'
+AND P.post_type IN ('post', 'page', 'attachment', 'eventbrite_events', 'facebook_events', 'tribe_events', 'jetpack-portfolio', 'jetpack-testimonial')
+```
+
+duplicate queries
+```sql
+3	0.0015	W3TC\DbCache_WpdbNew->default_query
+3 calls
+wfUtils::getIPAndServerVariable
+1 call
+wordfence::veryFirstAction
+1 call
+wordfence::admin_menus
+1 call
+SELECT *
+FROM wp_Gc13_wfNotifications
+WHERE new = 1
+AND ctime > 0
+ORDER BY priority ASC, ctime DESC	2	0.0018	W3TC\DbCache_WpdbNew->default_query
+2 calls
+wordfence::admin_menus
+1 call
+wordfence::admin_menus_20
+1 call
+SELECT name, val, autoload
+FROM wp_Gc13_wfConfig
+WHERE name = 'onboardingAttempt3'	10	0.0054	W3TC\DbCache_WpdbNew->default_query
+10 calls
+wfOnboardingController::shouldShowAttempt1
+5 calls
+wfOnboardingController::shouldShowAttempt2
+5 calls
+SELECT name, val, autoload
+FROM wp_Gc13_wfConfig
+WHERE name = 'onboardingAttempt2'	5	0.0016	W3TC\DbCache_WpdbNew->default_query
+5 calls
+wfOnboardingController::shouldShowAnyAttempt
+3 calls
+wfOnboardingController::_enqueue_scripts
+1 call
+wfOnboardingController::_pre_plugins
+1 call
+SELECT autoload
+FROM wp_Gc13_options
+WHERE option_name = 'wpseo'
+LIMIT 1	4	0.0013	W3TC\DbCache_WpdbNew->default_query
+4 calls
+Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Type_Archive_Indexation_Action->get_total_unindexed
+1 call
+Yoast\WP\SEO\Actions\Indexing\Indexable_General_Indexation_Action->get_total_unindexed
+1 call
+Yoast\WP\SEO\Actions\Indexing\Abstract_Indexing_Action->get_total_unindexed
+2 calls
+SELECT option_value
+FROM wp_Gc13_options
+WHERE option_name = 'home'
+LIMIT 1	3	0.0055	W3TC\DbCache_WpdbNew->default_query
+3 calls
+Automattic\Jetpack\My_Jetpack\Product::get_site_features_from_wpcom
+1 call
+Automattic\Jetpack\Current_Plan::refresh_from_wpcom
+1 call
+Automattic\Jetpack\My_Jetpack\Wpcom_Products::get_site_current_purchases
+1 call
+SELECT option_value
+FROM wp_Gc13_options
+WHERE option_name = 'siteurl'
+LIMIT 1	3	0.0013	W3TC\DbCache_WpdbNew->default_query
+3 calls
+Automattic\Jetpack\My_Jetpack\Product::get_site_features_from_wpcom
+1 call
+Automattic\Jetpack\Current_Plan::refresh_from_wpcom
+1 call
+Automattic\Jetpack\My_Jetpack\Wpcom_Products::get_site_current_purchases
+```
+
+## WordPress
+
+### User
+
+### Plugins
+
+I think you could get rid of the Bakery, Boost, W3 Cache, Social Settings, Cloudflare, Jetpack, wp-Optimize, & image optimizer without sacrificing functionality or impacting performance. 
+
+- deleted
+  - admin-block-country
+  - wfcache
+- MU
+  - Endurance page/browser cache
+  - SSO
+  - wp-staging optimizer
+  - ai1wm-backups
+  - boost-cache
+  - envato-backups
+  - ewww
+  - flagallery
+  - infinitewp
+  - jefpack-waf
+- askimet
+- cloudflare
+  - don't have account
+- events-calendar
+- ewww-image-optimizer
+- flagallery-skins
+- import-eventbrite-events
+- import-facebook-events
+- jetpack
+- jetpack-boost
+- js_composer
+- pdf-embedder
+- theissue-plugin
+- w3-total-cache
+  - disk cache 
+- wordfence
+- wordpress-seo
+- wp-optimize
+
+
+### Theme
+
+- theissue
+
+
+### Content
+
+#### Pages 
+
+26 Total 
+
+#### Posts
+
+3829 Published
+
+
+
+

+ 1 - 1
docs/srh.md

@@ -548,7 +548,7 @@ location / {
 location ~ ^/MySelfRegional/(.*)$ {
 	set $subpath $1;
 	if ($http_accept ~* "text/html") {
-		return 302 https://mychart.et1235.epichosted.com/MySRH/$subpath$is_args$args;
+		return 302 https://mychart.selfregional.org/MySRH/$subpath$is_args$args;
 	}
 	rewrite ^ /MySRH/$subpath break;
 	proxy_pass https://mychart.et1235.epichosted.com;

+ 1 - 0
lists/now/now.md

@@ -13,6 +13,7 @@ Adding this list as a way to pull info for my main now page @ https://davidawind
 
 ## Log
 
+- **25/07/01** - summer ๐Ÿฅต - halfway through the [master ๐Ÿ›/๐Ÿ›๏ธ reno](https://davidawindham.com/wha/glenridge/#bath) .
 - **25/04/17** - last week of ๐ŸŽพ, [studio](https://davidawindham.com/den-studio/) + [stu](/docs/computers/stu) ๐Ÿ–ฅ๏ธ done, & new [roof](https://daw.stu/wha/glenridge/#helene-repairs)๐Ÿก .
 - **25/02/28** - 70ยฐ & Jonquils are blooming ๐ŸŒท - [roof](/notes/house/helene), [studio](/notes/house/studio) & [bath](/notes/house/bath) projects.
 - **25/01/07** - ๐Ÿฅถ is good for [work](/docs/data/machine) and typical [year-end](https://davidawindham.com/twenty-twenty-four/) ๐Ÿ“– bookwork 

+ 13 - 14
notes/house/bath.md

@@ -5,6 +5,7 @@
 
 ## Log
 
+- **25/07/02** - Drywall up [๐Ÿ“ท](https://davidawindham.com/wha/glenridge/#bath)
 - **25/06/26** - Electrician/GC on site
 - **25/06/24** - Framer finishing out layout ( 1 day )
 - **25/06/17** - Plumbers on site reworking layout ( 3 days )
@@ -28,28 +29,18 @@
 
 We want to stay 'true' to the original house. The style is a contemporary craftsman built in 1979. The current bathrooms use hexagonal tiles, bulb makeup style vanity lighting, and contemporary hardware. Both showers/tubs are fiberglass insets but we'd like to move to a lipless tiled glassed shower and a freestanding tub. A second vanity/sink addition was made sometime during the 80s which we'd like to remove. 
 
-## Dressing Room
-
-Leaning more into the custom walk in cabinetry instead of framing in additional closets but would like the majority of them them to have doors - e.g.
-
-<div style={{maxWidth:600}}>
-![glenridge-bathrooms](/img/glenridge-bath-dressing.jpg)
-</div>
-
+![glenridge-bathrooms](/img/glenridge-bath-cabinets.jpg)
 
 ## Materials
 
 Selected the cabinetry color and tiles ( note the wall tiles are hexagon and not square )
 
+![glenridge-bathrooms](/img/glenridge-bath-materials.jpg)
+
 <div class="responsive-image-right" style={{maxWidth:370}}>
 ![glenridge-bathrooms](/img/glenridge-bath-counter.jpg)
 </div>
 
-<div style={{maxWidth:400}}>
-![glenridge-bathrooms](/img/glenridge-bath-materials.jpg)
-</div>
-
-
 
 We've decided to switch over to Moen hardware after hearing some feedback from others especially regarding their warranty and replacement policies. We've also decided to go with chrome over brushed nickel because it's easier to match up other hardware and vary between brands. **MOEN - Voss line**
 
@@ -79,4 +70,12 @@ https://www.mohawkflooring.com/shop/Carpet/detail/3J52/Casual_Elegance/759/Bare_
 - **Lighting** - dimmable led ceiling and bulb vanity
 - **Cabinets** - white/light/wood colored
 - **Mirror** - single mounted - no frame
-- **Sliding Glass Door** - Anderson Fiberglass
+- **Sliding Glass Door** - Anderson Fiberglass
+
+## Dressing Room
+
+Leaning more into the custom walk in cabinetry instead of framing in additional closets but would like the majority of them them to have doors - e.g.
+
+
+![glenridge-bathrooms](/img/glenridge-bath-dressing.jpg)
+

+ 7 - 12
notes/house/helene.md

@@ -15,15 +15,7 @@ image: https://davidawindham.com/wha/helene-1.jpg
 
 ## Log
 
-- 6/18 - Upstairs plumbing
-- 6/17 - Sewer Main Repair
-- 6/02 - **Master** Demo ( 4.5 days 2,3,4,10,11 )
-- 4/16 - **Gas** lines installed
-- 4/10 - **Roof** replaced - 7am -> 6pm - finished 
-- 4/10 - **Roof** replaced - 7am -> 6pm - finished 
-- 4/02 - **windows** replaced (+ sunroom/office)
-- 3/26 - CPW marked utility lines for gas 
-- 3/36 - [studio](/notes/house/studio.md) cabinets installed
+- main log @ [/notes/house/](/notes/house)
 - 3/25-26 - Ferqueron & Sons - remove two side pines and rear leaning oak ๐ŸŒณ
   - grind two stumps and keep woodchips as mulch
 - 3/25 - WCTel on site to reroute fiber optic line
@@ -103,10 +95,13 @@ Met with an assortment of contractors and got third party reviews from others be
     - โœ… (sub) Framer - Robbie Sudduth - 864-344-4299 - https://www.facebook.com/SudduthsConstructionAndRemodel/
   - โœ… (sub) Top Coat Painters - John Coates - 864-910-0293 - https://www.linkedin.com/in/john-coates-b4438343
   - โœ… (sub) All Things Electric - Brian Shirley - 864-554-5949 - 116 Townsend Rd W, Hodges, SC, 29653 - gas generator
-  - โœ… (sub) Sneads Building Supply - Andrew Snead - Carpet, flooring, doors
-  - โœ… (sub) Emerald Plumbing - Harley Cobb
-  - โœ… (sub) Drywall - Kenny Cole 
+  - โœ… (sub) Sneads Building Supply - Andrew Snead - Carpet, tile, flooring, doors
+  - โœ… (sub) Emerald Plumbing - Harley Cobb ( Austin )
+  - โœ… (sub) Drywall - Kenny Cole ( finishing ) / Wall to Wall Drywall - David Strickland ( hanging )
   - โœ… (sub) Mountz Glass Company - https://mountzglass.com - 864-229-1545
+
+--- 
+
 - โœ… Ferqueron & Sons Tree Services - Lee Ferqueron - 864-223-4125/cell 864-980-5104 lee@ferqueronsons.com - http://www.ferqueronsons.com
 - JMP Construction - https://jmpconcretesc.com - John Parramore
   - โœ… R&G Landscaping - https://randgtreeservices.com - Kolby Gantt - 864-992-5766

+ 15 - 0
notes/house/house.md

@@ -11,6 +11,21 @@
 
 ## Log
 
+- 24/7/02 - [**Master**](/notes/house/bath) drywall
+- 25/6/30-7/1 - [**Master**](/notes/house/bath) electrical
+- 25/6/17-20 - [**Master**](/notes/house/bath) plumbing
+- 25/6/02 - [**Master**](/notes/house/bath) Demo ( 4.5 days 2,3,4,10,11 )
+- 25/4/16 - **Gas** lines installed
+- 25/4/10 - **Roof** replaced - 7am -> 6pm - finished 
+- 25/4/02 - **windows** replaced (+ sunroom/office)
+- 25/3/26 - CPW marked utility lines for gas 
+- 25/3/36 - [studio](/notes/house/studio.md) cabinets installed
+- 25/3/25-26 - Ferqueron & Sons - remove two side pines and rear leaning oak ๐ŸŒณ
+  - grind two stumps and keep woodchips as mulch
+- 25/3/25 - WCTel on site to reroute fiber optic line
+- 25/3/19 - Mountz glass to measure rear, office, and sun room windows
+- 25/3/18 - GC meeting ( painter, carpet, doors, plumbing, tankless, gas line )
+- 25/3/10-19 - Framing crew - trusses installed / siding repaired
 - 25/03/13 - [trusses installed](/notes/house/helene)
 - 25/03/05 - second [insurance adjuster](/notes/house/helene-ins-adjust.md) met with general contractor
 - 24/12/10 - added Helene [Insurance Claim](/notes/house/helene-ins-adjust.md)