Getting ImageMagick running on MAMP

•22/01/2012 • Leave a Comment

Having spent several days fighting with Lion, compilers, missing libraries and generally messing up my laptop beyond sensible use I have finally got ImageMagick running.

I will attempt to get together all the steps I went through to get ImageMagick running on MAMP on MAC OS Lion. I have had to update things, for some reason I have one laptop that allows you to load a binary that isn’t universal, and another machine that requires things to be compiled as a universal binary.

Firstly I had to get a bunch of things installed:

  • Install MAMP
  • download “MAMP Components”
  • Install XCode
  • Install Macports

Once you have spent several hours installing that lot you can begin to get to the command line.

Continue reading ‘Getting ImageMagick running on MAMP’

Advertisements

Sample Zend Modular Application

•22/08/2011 • Leave a Comment

Zend Framework 1.11.9 + Doctrine 2.1 integration

I had uploaded a sample application to allow you use Doctrine 2.1 at the top of Zend Framework 1.11.9 to my github page. Since its a public repository I encourage you to have a play. I wanted to test the integration of Zend 1 and Doctrine 2.1, the latest stable releases at the time I started development. I decided to add the back-ported ZF2 Autoloader classes for Zend Framework 1 because Doctrine 2.1 is name spaced and requires php 5.3. I have also added Gediminas Morkevicius’ DoctrineExtensions to the library since I like the library so much I just HAD to utilise it within the example application.

I have setup the application in a slightly different way than the standard Zend Application, however it should run with the default Zend Application setup with a few path’s tweaked. As a modular application it is a little bare, I have a default module that contains an error controller and index controller. I have also started a basic blog module, containing a simple index controller to output the Articles entity.

Checkout the github repository here

Happy Coding!

Magento + Phoenix_Worldpay Extension

•17/06/2011 • Leave a Comment

Oh the trouble I have had getting Worldpay to work nicely with Magento. After following several threads on forums, various posts on blogs I managed to discover what I was missing!

The Worldpay docs state that the “Payment Response URL” should not be a plain url, like http://magento.store/worldpay/processing/response/, but be in the following format:

<wpdisplay item=MC_callback-ppe empty="<wpdisplay item=rawAuthCode-ppe pre='http://magento.store/worldpay/processing/success/' empty='http://magento.store/worldpay/processing/cancel/'>">

That information was the missing info from the original tutorial I read. However since then I have discovered that the forums have a better tutorial that refers to the alternative method containing only the response url (http://magento.store/worldpay/processing/response/).

I hope this saves you time and effort! 🙂

Reference:
Phoenix_Worldpay
Fix for Magento 1.4.2+
Extension Setup

boot!

•19/04/2010 • Leave a Comment

Welcome curious visiter, this is the personal blog of mrhelly. Someday there will be more here.

20110611-063501.jpg