April 2012
1 post
Apr 18th
November 2011
1 post
Nov 23rd
September 2011
3 posts
Sep 22nd
Sep 15th
Sep 13th
August 2011
1 post
Aug 11th
July 2011
4 posts
Jul 19th
New Site Launch! Little Engineering Ltd →
This is our latest client project that we’re just wrapping up now. We made a custom Stock Management System in CakePHP 1.3 that we’re really proud of, and we think we’ve created a really nice look and experience for the user! http://littleengineering.co.uk
Jul 15th
Jul 5th
2 tags
How to fix "Item was not deleted" in CakePHP 1.3...
When attempting to delete a record that has related records, for example a User hasMany Comments, CakePHP 1.3 would not delete the item in my baked application. It was giving me this error: Item was not deleted The problem is caused by the fact that there are related records. Some Comments still belongTo a User, so you can not delete the User without deleting the Comment. A simple edit to the...
Jul 2nd
11 notes
June 2011
3 posts
Jun 30th
Jun 14th
Send multiple records AND any related controllers...
This isn’t something particularly hard to figure out, but I was using the wrong search terms to help me figure this one out so it took me longer than it should have. Hopefully this will be of use to someone else, if just to explain it slightly differently. Recognise this snippet: function index() { $this->Controller->recursive = 0; $this->set('controllers',...
Jun 13th
May 2011
7 posts
A better terminal window than Cygwin and Windows... →
I’ve been using Cygwin for ages, and while it has some great features it has some simple failures in its interface and integration with Windows. You can’t simply full screen it, and copy and pasting requires messing with cmd.exe settings. But I’ve just discovered mintty and it’s a joy to use. Here’s the list of features copied from it’s Google Code page. ...
May 26th
reCaptcha and table based layouts
What based layouts? Table based layouts. I’ve been doing a small job making some modifications to a very old system that uses table layouts and non object oriented PHP. Frankly it’s a mess, and table layouts don’t just make it difficult to make layout changes. They were also the source of a problem installing reCaptcha that had me stumped for well over 2 hours! Basically, if you...
May 19th
4 notes
Link: Change Apache’s document root to make... →
I’ve written a new blog post over at cenix.co.uk. Check it out. I just started on a job to make some changes to a really badly made PHP job board system and came up with this solution. I had originally thought it could be done by using Window’s “hosts” file but that only supports IP addresses, so I couldn’t add a sub dir.
May 19th
May 11th
May 6th
May 5th
May 4th