Killednloading MeteorJS Issue When deploying my meteor app to a new server I ran into a weird issue that didn’t seem to come back with any helpful errors. Running: `` meteor would get stuck on Download [email protected] which would eventually exit with a “killednloading”
fix SailsJS 0.9.8 and Bootstrap 3.0.3 LESS While trying to setup a starter project I hit a bit of a snag. Turns out the latest less files don’t want to play nice with the grunt-contrib-less (0.5.2) that comes with SailsJS (0.9.8). parse error: failed at &
fix Wordpress Admin - Insufficient Permissions Run into a strange issue today. Was setting up a new blog using the cpanel worpress add-on and everything was fine until I tried to login as admin into the backed. Sure enough the details were accepted, but instead of the dashboard I was
code Text file busy - db/test.sqlite3 Sometimes things are just too obvious… When trying to setup the test database for my new rails app I kept getting stuck with this error message: <b>$ rake db:test:prepare</b> rake aborted! Text file busy - db/test.
fix Quick fix for the Social Counter Widget plugin I’ve been doing some charity work recently and as they will have a social presence the blog was in need of some social media buttons. I thought the Social Counter Widget plugin looked quite nice (after the slightly prettier Social Impact Widget decided
bios Edit BIOS in Lenovo ThinkPad x220t As it’s changed from the previous model it had me scratching my head for a few minutes. To enter the BIOS setup just use F1 during laptop startup.
fix Wordpress update permission issues WordPress can often be such a pain to deal with… Recently I was trying to get an installation updated as well as some of the plugins. What should have been a straightforward task, turned out to be several hours of messing around with permissions
code Top Level Cookies in Opera for Custom Domain Names For our local development at work we all use the same fake domain – helps with setting API keys and other things across the board and isn’t hard to setup whatever system any new developer might have. It also happens to be not a
code jQuery Multiple Events Without Default Behaviour Sometimes you trip over the little things. With several people working on the same page while we were recreating some JS functionality from scratch I’ve noticed one of my buttons suddenly stopped working. Scratched my head a bit, and for a minute thought
classes Enable delayed messages in Zend_Queue The default Zend_Queue DB implementation unfortunately does not allow you to pass a timeout value when saving a message on the queue. However not all is lost and you can easily extend the standard Zend classes to add that functionality. All you need
php Zend Application Resource Plugin Loading Issues Admittedly thinking while feeling feverish is slightly impaired, but it took me a little while to figure this one out… Trying to integrate ZF 1.11 with Doctrine2 to as per this article, I was trying to be a smart-ass and use TS_Resource_
fix Installing Windows 7 Guest on VMWare 7 on OpenSuse 11.3 Host Maybe this will help anyone else stuck on the installation. For a long while my Windows 7 install inside VMWare 7 would get stuck at “expanding files 0%”. I kept thinking it was my machine and setup that was causing issue, after all a
authentication PHP_AUTH_USER and PHP_AUTH_PW is null Ok, so you’re trying to setup password protection on your website using HTTP authentication. Unfortunately despite the request for password working your authentication keeps failing. If you check the output of your script and the password and username variables are not populated as
css Using TextMate for easier CSS3 Over the past couple of years Webkit has popularised many fancy new CSS tricks. Amongst these the ability to rotate an element is certainly one of the most useful. Fortunately it’s also widely supported in other browsers, even in lowly old IE right
code Multiple changes and a delete on same object in doctrine If you want to make several different changes to a doctrine record object you might find yourself slightly puzzled when it comes to deleting related objects. $user['Address']->delete(); $user['Address']->state(Doctrine_Record::STATE_LOCKED); (...) $user->save();``` It
gmt Zend_Date time part and GMT If you live in the UK you might have a surprise waiting in store for you if you use Zend_Date for the time part only. For a while I even thought this was a bug, however digging deeper has shown that actually it’
code PHPUnit & Selenium - screenshot path problem PHPUnit_Framework_Exception: Response from Selenium RC server for testComplete(). ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)
autload Autloading modular forms & models in Zend Framework 1.8 It’s not really obvious with the error messages you get, but using a thing like Form_Login does not work out of the box with a modular structure. Which is slightly surprising considering that it’s inside the default module. I have found
plugin Redirect in controller plugin - Zend Framework 1.8 If you need to redirect while inside a controller plugin, for example in preDispatch() here is a quick way to do it: $redirector = Zend_Controller_Action_HelperBroker::getStaticHelper('redirector'); $redirector->gotoUrl('/login/');
bind Hitch. Object-oriented event handlers with jQuery Moving to jQuery from YUI has been a 99% positive experience. Probably the only thing I’ve really missed was the ability provided by YUI Event to control the object scope that an event handler was executed in. When you attach an event to
code Doctrine Many To Many With Extra Fields Recently I have started using Doctrine with Zend Framework. Most of the time it is great, but sometimes I get stuck on this or that issue. Most of my problems so far have been connected with the Many to Many relationship. Here are a
code Zend_Db_Select multiple table joins explained It sounds like a simple task – retrieve the result from a join SQL query. Unusually you can even find documentation on the official Zend Framework site explaining how to put together a query that will return the results from a JOIN query. Unfortunately when
lookaround Regex for Autolinking URLs For a recent project I was wanting to perform an exceptionally common task. Converting things that look like URLs in the text into clickable links. However wherever I’ve seen this implemented before I’ve always encountered the same annoying problem, namely the links
css Firefox ignores tabs but not spaces in a pre tag Sometimes HTML can be so frustrating. I love tabs in my code, however while styling the new blog theme I run into a Firefox only problem – despite being in a tag tabs would be ignored. I found references to this werid behaviour, however it
article Improving Design by Using a Grid System When I first heard of grids for design (and frameworks for CSS as a matter of fact) I was quite sceptical. Why limit yourself to a predefined outline? Mathematical precision in a creative process? Well needless to say I was surprised with the outcome.