Upgrading WordPress 3.2.1

So this is the journey to update WordPress 3.2.1 to 5.3 I’ve taken a copy of the site and set it up on a temporary URL and set the following within wp-config.php I’ve also had to drop the PHP version to 5.6 to be able to run the site. Step 1 – Getting to a … Read more

Deploying Ubuntu 18 Guest on Ubuntu 18 Host DomU

TLDR; Head to the bottom and you can update the shipped version of xen-tools 4.7 to 4.8 via the xen-tools GitHub repo. There’s a dpkg available under the releases tab. Currently, the only available version of Ubuntu available to deploy using xen-create-image (xen-tools 4.7-1) on Ubuntu 18 is Ubuntu 16.04 (Zenial) If you want to … Read more

Windows 10, ZSH, Putty, Powerline Fonts and Screen

I recently was setting up my Windows 10 desktop machine with Putty so I could access some servers. I use the ZSH shell with OMZ and the Powerline9k theme. I use the following article to set up Putty and grab the appropriate fonts for Windows 10 that were patched. http://mschulte.nl/posts/using-powerline-in-PuTTY.html There were some additional options … Read more

Improve WordPress Comments Load time when using Akismet: Adding an index to wp_comments

A customer of mine was seeing a 15 second load time on their WordPress site when clicking on “Comments”. I installed Query Monitor and saw that the Akismet plugin was running the following SQL command on each comment. SELECT COUNT(*) FROM wp_comments WHERE user_id = 1820 AND comment_approved = 1; This query was to show how many comments the user had previously … Read more

WHMCS and Hexonet ISPAPI Registrar Module “Missing Required Attribute; X-CA-LEGALTYPE” Issue

If you’re running WHMCS and the Hexonet ISPAPI Registrar Module, you might have issues registering .ca domain names. An error will show up when you click on register, here’s a screenshot of the error. Invalid attribute value; INVALID Contact [OWNERCONTACT] (Missing required attribute; X-CA-LEGALTYPE)] This is due to the .ca registry requiring all registrations require … Read more