Web Design Brief

Wordpress Install/Update Plugins etc Locally via Admin

If you like the admin functionality to manage plugins, themes and other updates that wordpress features and would like to have this working when you are developing locally then you might find that you need to set up an FTP server locally just for this purpose. Perhaps a better solution, especially if you use a *nix based desktop such as Linux is to try this extension: http://wordpress.org/extend/plugins/ssh-sftp-updater-support/ This will extend the FTP functionality to also use SFTP or SSH for the updates. Read On →

How to get a list of all modules in Magento

I was recently asked to generate a list of all of the modules in a copy of magento. To this I put together this quick one-line bash command to go through the modules folder and output the content cat /path/to/magento/app/etc/modules/* | grep -B 1 “<.*active” | grep -v “<.*active” | sed ’s/<//g’ | sed ’s/>//g’ | awk ‘{print $1}’ | sort | uniq > /path/to/file If you just the active Read On →

Magento Rounding Errors (1.6.0+)

The latest version of Magento has a fairly major issue that mostly affects UK and EU businesses, in the way it calculates taxes. One of the most obvious situations is if you sell something worth £24.99 (inc. tax) and enter that as the price in Magento. The thread on the Magento forum is here. On the front end (if you have left the standard price templates alone) you will in 1.6.2+ see a price of £24.98. Read On →

Magento Security Patch Script

We are currently offering a free service to apply the security patches for any Magento store. You can read all about that here. For those of you who are comfortable SSHing into your server and running things manually but would like this to be as easy as possible, you can use our bash script to automatically determine which Magento security patch you require and then apply it. Simply run the following command: wget -qO- http://www.edmondscommerce.co.uk/stuff/applysecuritypatch.sh | /bin/sh For information, this is the source of the above file. Read On →

Magento Security Vulnerability + Free Assistance

The magento platform is based on a PHP framework called Zend Framework. Recently a bug was found in Zend Framework which potentially allows attackers to read any file on your server. This could mean they could gain access to your mysql server credentials for example. You can read the full details here. The actual bug details for Zend Framework are in this security advisory. Free Security Patching Service In a nutshell this represents a serious security hole that you need to plug as soon as possible. Read On →