Witty and insightful observations on the world? Sorry to disappoint, this is a techie blog purely for self reference - published online in the hope it will help others!

Enable SOAP on Media Temple DV Managed

Media Temple's knowledgebase has a good article on how to enable SOAP on a DV Managed server; https://kb.mediatemple.net/questions/1947/Configure+PHP+with+SOAP#dv_managed However, when you get to the section that says NOTE: If you receive an error similar to the following, you will need to install libxml2: You might also encounter the following error (as I did); no acceptable C compiler found in $PATH The answer to this is lies in the comments section of this Stackoverflow answer. Basically you need to install a precomiled version of gcc, so if you are using a Fedora based OS like me that would be; I then got the libxml2 issue, solved as pe the Media Temple docs with; yum ... Read more

Magento URL Rewrites – custom url redirect for CMS page

OK, so why this post? Well there just wasn't very much (or indeed anything at all) on this in Google when I looked. There is loads on how to use Magento's built in url rewrite system from teh backend. And there's loads on Stackoverflow and Alan Storm's blog on how to create a custom controller to over ride the PageController and IndexController. Nothing on how to just create a custom redirect for a cms page though. I needed to do this because I am doing a project with Peter Warren at Synoptive (Magento product configurators) on a Magento multistore. It is for United Carports (custom built carports), I've made ... Read more

Enabling and using ImageMagick in PHP on Plesk 11

I am currently building a configurator in Magento - it's a native configurator using Magento's custom options on a simple product coupled with some javascript which I've coded up on separate custom product/view-custom.phtml and product/view/media-custom.phtml templates (applied to a specific product using this technique -> http://prattski.com/2010/11/04/magento-use-different-template-files-for-specific-products/). The concept is simple enough but I have had to create a script to generate all the images. I've used PEAR Math Combinatorics to handle all the images configurations but that involved enabling ImageMagick on the server. What a struggle that's been. Honestly, I couldn't be a server admin, desperate stuff. Anyway..... Maybe this might help some other poor unfortunate like myself a few frustrating hours. Read more

Setting up WordPress Subdomain Multisite in Hetzner Plesk 11

For anybody using a Hetzner VPS running Plesk 11 who needs to install Wordpress Multisite in wildcard subdomain mode - this post is for you :) (and indeed me, when I come to do it again and can't remember how I got it working in the first instance). There is quite a well written and extensive post in the Codex about getting the wordpress multisite setup; http://codex.wordpress.org/Configuring_Wildcard_Subdomains_for_multi_site_under_Plesk_Control_Panel First of all you need your DNS setup on the main domain being used for the install. I'll be honest here, I've never quite got my head around the Hetzner robot and it's relationship with the DNS records set in Plesk so I tend to go for a belt and braces approach to things and ... Read more