I first ran into this issue after installing a local copy of Mautic to develop som custom Email templates.
Everything looks fine until you open up the email builder and images added in the Email Twig template don’t show.
The fix is pretty simple if a little counter intuitive.
Continue reading “Fixing Broken Email Template Images When Running Mautic in a Folder”
If you are following the official documentation to use the symfony installer on Windows then it is very likely that you will run into the error:
'symfony' is not recognized as an internal or external command,
operable program or batch file.
Here’s how to fix it.
Continue reading “Using the Symfony Installer Command Line On Windows”
How to fix fatal errors related to JSON decoding when updating you Joomla core version.
Continue reading "Fixing JSON Data Errors After Updating to Joomla 3.6.3"
I recently bought a new pc, and was a bit quick to install Windows, create a backup drive and remove the disk to install the larger ssd from my previous computer.
The upshot of that was that, after installing the operating system on the new drive, it wouldn’t activate Windows as I didn’t fully activate it on the first install before making the recovery drive.
In the end, I got in contact with a Windows support person who recovered the activation key from the computer hardware. Which is pretty simple when you know the commands.
To get your key:
Right click on the start menu and select “Command prompt (admin)”
wmic path SoftwareLicensingService get OA3xOriginalProductKey
You should then get your key in the console output.
WordPress allows the upload of different filetypes to posts through custom fields, but it only understands certain file types by default.
As an example, if you wanted to allow the upload of ebook formats like epub and mobi, you need to tell WordPress how to understand those filetypes.
Continue reading “Adding Custom Mime Types for WordPress Uploads”
I was asked to find a list of posts in a WordPress install where the body text contained a certain string. Subsequently, I discovered how bad the search is in the post listing screen and decided it would be easier to find them in the database.
To just grab the useful information, I used the following SQL:
Continue reading “Selecting WordPress Posts That Contain a String in PhpMyAdmin”
I recently ran into an issue whilst trying to change the nameservers for a German (.de) domain name. When I tried to point the domain to a whm/cpanel install I got the error ‘Failed to Modify Domain Nameservers: The domain DNS check has failed’.
The reason for this is specific to .de domains.
Continue reading “Issues Assigning Nameservers to .de Domain Names”
Sometimes, for whatever reason, I need to find out the exact version of Joomla a site is running without being able to access the administration area.
Here’s where to find the version number in the file system.
Continue reading “How to Find the Full Joomla Version in the Site Files”
There are many articles out there on how DNS prefetching works so I will keep it brief.
It works by adding a link to the head of your web page with a relationship of ‘dns-prefetch’ and the url of a domain which holds assets needed for the page to load. That could be a cdn for the site, a social plugin or anything else.
Without prefetching, a browser will render the page top to bottom and when it gets to an asset which needs to be loaded from another domain it performs a dns lookup to find the location of the host and then downloads the assets. By adding prefetching links we are letting the browser know that these domains will be used before the assets are requested. Browsers can then loook up the hosts whilst rendering the rest of the page, cutting out this step when the assets are needed leding to a shorter download time.
This process is non-blocking and will only be performed when possible. For example, on a small page requesting an asset from another site high in the head of the document, it’s likely that the asset will be loaded before there is a chance to prefetch the dns.
The point of this article is to list domains used by common services for easy future reference.
Continue reading “Standard URLS Called by Websites for DNS Prefetching”
I’ll first start by saying that the title of this book can be somewhat misleading. The author (Mathieu Nayrolles) has written a previous book with the title ‘Instant Magento Performance Optimization How-to’ and from his personal website it looks like the original title for this book was to be ‘Magento Performance Optimization Volume II’ which followed on from that book.
Whilst the optimization techniques in the book are tested on a Magento installation, the same techniques could generally be used on any PHP/MySQL application.
Continue reading “Magento Site Performance Optimization: Book Review”