Archive for the ‘Work’ Category

Fixing MySQL / PDO error 2014

Wednesday, September 9th, 2009

The following error on my current project at work really gave me lots of headaches today: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. So, yes, ...

Useful Gotcha #27

Thursday, April 9th, 2009

If you get this error ssl_error_rx_record_too_long when browsing an SSL-secured virtual host and wonder what the heck is going on (hey, it worked the day before), ensure that you've noticed that your admins have changed the IP address of the machine and that you have to adapt the IP-based VHost ...

Change svn:externals quickly

Monday, January 5th, 2009

If you've worked with external repository definitions and branches before, you probably know the problem: If you create a new branch off an existing one or merge one branch into another, subversion is not smart enough to update svn:externals definitions which point to the same repository, but rather keep them ...

Global AJAX responders in Prototype

Thursday, October 30th, 2008

I encountered a small, but ugly problem in our Symfony-driven project today: Unauthenticated AJAX requests, which f.e. may happen when the session timed out on the server, but the user hasn't reloaded the page in the meantime, are also forwarded to the globally defined login module / action. This of ...

New server setup

Friday, September 19th, 2008

I finally got sick of my SuSE 9.3 V-Server when a good friend of mine pointed me to this really fancy and sexy IMAP web frontend called RoundCube last week. Written entirely in PHP 5 there was no real chance that I could get this easily working on my oldish ...

Qt Framework introduction

Thursday, August 14th, 2008

I did a small workshop on Qt today in my company, mainly to introduce the framework to my fellow developers. I think I did a good job, because I've seen the glow in their eyes while presenting the graphics view demos and the 2d paint engine amongst many other things. Anyways, ...

Life and everything

Wednesday, June 27th, 2007

So this was one of those mediocre days, you wake up far too early in the morning because your little son thinks its a good time to be awake. You do the usual things, like get awake yourself somehow in the bathroom, put on some clothes (while picking those ones ...