WordPress WooCommerce SagePay Form extension https://woocommerce.com/products/sage-pay-form/ requires the PHP mcrypt extension to operate.
If your site uses this extension and one day stops going through the full checkout process be aware of the following:
mcrypt has been deprecated as of PHP 7.1.0 and will be moved to PECL as of PHP 7.2.0 – this is because it relies upon libmcrypt which is dead and unmaintained since 2007 http://php.net/manual/en/intro.mcrypt.php.
Your host may have disabled the mcrypt extension.
I’ve heard that the WooCommerce SagePay Form extension is currently being updated to use openssl_encrypt so there may be an update soon to rectify this.
Ubuntu provides phpMyAdmin as a package so it is very easy to get this installed on a server. The config file is stored in /etc/apache2/conf-enabled/phpmyadmin.conf.
If you are running Ubuntu 16 with PHP 7 then the PHP directives contained in this config file may not be working. This is a known bug: https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/1637911.
Continue reading “Ubuntu 16.04 phpMyAdmin config bug”
MailCatcher is a Ruby gem that acts as a sendmail/postfix replacement and displays outgoing emails in a friendly web GUI. It is useful if you want to run someone else’s code and be sure of what emails are being sent.
Here’s how to use it with PHP and Laravel Homestead.
Continue reading “Installing MailCatcher in Laravel Homestead”
When sizing HTML table columns I used to use the colgroup and col tags to give a table column a specific width. I’ve learned this is not best practice with HTML5 although you will still see plenty of articles recommending this approach.
Continue reading “CSS table column width with HTML5”
If you’ve used my tyre fuel saving calculator you may want to find the best deal on tyres with good ratings for fuel efficiency (rolling resistance) and wet grip. I’ve looked at some of the most popular websites for the UK and rated them for the tyre search features they provide. Filtering for tyres that are run flat and have rim protectors were also important for me.
Continue reading “Best website to buy fuel efficient tyres”