Jan 10, 2017 ·
1 minute read
networking
Creating an IPv6 tunnel in Fedora Recently I had to access a server that only had an IPv6 address. As I am one of the over 80% of the UK without IPv6 access I needed to set up a tunnel on my machine to do this. After looking through the different ways of doing this I concluded that the easiest way to do this was to use Tunnel Broker which offers a free tunneling service.
Read On →
Jan 9, 2017 ·
11 minute read
magento2
Contents Introduction What is a UI Component Structure Important to Note Technologies You Need to Understand XML, XHTML and XSD KnockoutJS RequireJS Pestle Javascript, KnockoutJS + Magento and UI Components What is a Javascript (JS) Component? What is a KnockoutJS + Magento component? What’s the difference between the three? UI Component Process Flow The Players Process Flow Chart Video Magento Core UI Component Examples Form Listing Introduction Over the course of this article I will give you a whistle stop tour of UI Components.
Read On →
Dec 12, 2016 ·
5 minute read
linux
Recently we had one of our Proxmox machines suffer a failed disk drive. Thankfully, replacing a failed disk in a ZFS zpool is remarkably simple if you know how. In this example, we are using the ZFS configuration as per the Proxmox installer which also creates a boot partition which is not part of the zpool. Seems like a pretty sensible idea to me. Here is how we can look at the status of our zpool and see that it has a failed disk: root@cluster1 zpool status -v pool: rpool state: DEGRADED status: One or more devices could not be used because the label is missing or invalid.
Read On →
Nov 29, 2016 ·
1 minute read
magento2
We recently came across a recurring (and annoying) problem with some of our Magento 2 modules. The issue was that when ever composer install/update was called the module would be copied to app/code and thus cause class name conflicts with the canonical module in vendor. The fix for this was hard to find and it turns out the Magento 2’s documentation needs updating. To fix the problem, look to your module’s composer.json and find the extra field.
Read On →
Nov 25, 2016 ·
2 minute read
magento
Magento Site Being Flooded with Buyers, Struggling with Server Load? If your Magento site is currently being flooded with orders and visitors and the server is struggling to cope then I have one simple and easy to action tip for you: Do as little as possible in the admin Did you know that every time you update product details and other wise change things in the admin then you are likely to cause one or both of the indexes and caches to require a flush?
Read On →
Nov 8, 2016 ·
1 minute read
magento2
When trying to update a Magento 2 database recently using: php bin/magento setup:upgrade I also tried: php bin/magento setup:upgrade --keep-generated I got the following error: [Exception] Warning: file_get_contents(.../var/di/setup.ser): failed to open stream: No such file or directory in .../vendor/magento/framework /App/ObjectManager/ConfigLoader/Compiled.php on line 28 It looks like a regression was introduced in 2.1.0 that stops you running setup:upgrade after running setup:di:compile. A temporary fix for this is to remove all contents from var/di and var/generation, run the update and then re-compile.
Read On →