Tuesday 17 January 2012

phpunit and PEAR

Back on the php unit tsting buzz today but when i ran 'phpunit' is got this

    assure@snapdragonubuntu:~/bhaa/zend/trunk$ phpunit PHP Warning:   require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38 PHP Fatal error: require_once(): Failed opening required 'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/bin/phpunit on line 38 

The first solution is to include the php code coverage tool

http://stackoverflow.com/questions/1528717/phpunit-require-once-error 

Once installed, try again but

assure@snapdragonubuntu:~$ phpunit --help PHP Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39

It seems that the version of phpunit was fairly old so i followed

http://superuser.com/questions/55055/how-to-install-an-updated-version-of-pear-phpunit-on-ubuntu

and updated PEAR and phpunit

assure@snapdragonubuntu:~$ pear list -c phpunit
Installed packages, channel pear.phpunit.de: ============================================ Package Version State File_Iterator 1.3.1 stable PHPUnit 3.6.7 stable PHPUnit_MockObject 1.1.0 stable PHP_CodeCoverage 1.1.1 stable PHP_Invoker 1.0.1 stable PHP_Timer 1.0.2 stable PHP_TokenStream 1.1.2 stable

I also added the phpunit to the include_php in my php.ini file

Friday 30 December 2011

Dec 30th 2011

There will be one blog from now on so i merged the content of cycleaustralia.blogspot.com adventurtures-of-a-slite-300.blogspot.com to emeraldjava.blogspot.com, it was quite easy once i found the blogspot import export tool. Added the next 7 bhaa event and story details to glfusion. Having some trouble trying to create a function on the mysql instance on the mac. And the Rover decided it didn't want to start this evening, so the plan evening run in dublin had to be cancelled.

Monthly Km's

Details of the monthly km's ran in 2011. The plan is to update the 2012 details here. September sticks out like a sore thumb with the madness of wisdom tooth removal.

Thursday 29 December 2011

RaceTec Registration File Import Mapping

A list of the possible Athlete and Event mappings that RaceTec allows

Saturday 24 December 2011

Marathon Time Progression

Stockholm 2002 1/7/2002 3:30:00
Zurich 2003 1/5/2003 3:01:09
Berlin 2004 1/8/2004 3:00:00
Rotterdam 2005 1/4/0205 2:44:44
Zurich 2006 1/5/2006 3:02:20
Dublin 2006 31/10/2006 2:56:38
Cork 2007 1/6/2007 3:00:00
Dublin 2008 31/10/2008 3:52:53
Dublin 2009 31/10/2009 2:57:05
Dublin 2011 31/10/2011 2:43:02

Friday 23 December 2011

Racetec Event Setup

Racetec Event Setup Tutorial
A guide to setting up and configuring an event and races in Racetec.


  1. Event Basics
  2. The event name and date, with the number range.
  3. Event Advanced

  1. Step 3

Monday 19 December 2011

Barcodes

C39
the barcode printer: free barcode generator

C128A
the barcode printer: free barcode generator

C128B
the barcode printer: free barcode generator

C128C
the barcode printer: free barcode generator