Dec 21, 2012 ·
2 minute read
linux mint
As part of increasing my swap space in order to hibernate (my previous setup had 4GB of swap but 8GB of RAM) I had deleted and recreated my swap partition. There was no change in the partition’s device files - it was still /dev/sda2, however my new swap partition seemed to be nonfunctional. This is down to the device’s UUID having changed. Finding your new UUID To find the new UUID, issue: $ ls -l /dev/disk/by-uuid/ You’ll get this output.
Read On →
Dec 19, 2012 ·
2 minute read
magento
OK so you love Magento’s shell scripts! They are great for quickly putting together bulk processes that have full access to the Magento ORM. These kinds of shell scripts will often require above normal amounts of RAM for the kind of heavy lifting they lend themselves well to. If you are finding your script is banging against some mysterious memory limit that really shouldn’t be there then perhaps this is your answer: You might see an error message such as this: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20 bytes) The reason this might be happening is that one of the things the abstract shell class does is parse the .htaccess file and apply any PHP configuration it finds.
Read On →
Dec 17, 2012 ·
1 minute read
php
When you’re uploading multiple files (HTML5 feature - remember IE as yet STILL does not support this), it may not be the fact you’re uploading multiple files that’s actually causing the problem. The problem often is actually caused by the various php memory limits in play, one way to avoid getting caught by this is using the following snippet in the form’s php to remind you which restrictions are in
Read On →
Dec 15, 2012 ·
4 minute read
css
I can’t remember where I got these from (if you know please tell me so I can credit accordingly) This is a collection of CSS classes that provide a nice easy way to add colour to buttons, messages etc. I’m posting them up here purely for my own ease of access, if you get some usage out of it as well then great :) /* color styles ---------------------------------------------- */ /*
Read On →
Dec 13, 2012 ·
1 minute read
phpstorm
All developers love code completion, but sometimes the minimalist info that can come up in PHPStorm can be not quite enough. Netbeans gave an excerpt that gave plenty of information from the docblock, and PHPStorm can do too, it just defaults to off. The setting is under Editor->Code Completion and is “Show full signatures”. The good news is it is an “IDE Setting” so it persists for all projects, the bad news is that that means the setting will be forgotten about before you next reinstall and want it again.
Dec 12, 2012 ·
2 minute read
magento
I’m really happy to announce that two of our team have now taken and passed the Magento Certified Developer exam. This means that they are now officially “Magento Certified Developers”. What that means for you is that you can be assured that we have the in house skills and experience to work the right way with Magento and really help you get the most out of the platform. The reason we finally put them forward for the exam is that, after working with the platform for a few years now, we have decided to go down the official Magento partner route and get all the qualification and assurance that you could ask for by becoming an Silver Magento Partner and employing developers who are not only Zend Certified Engineers - a PHP qualification - but also Magento Certified Developers.
Read On →