Error message

  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1901 of /home1/rholroyd/drupal/drupal-7.12/includes/database/query.inc).

May 2011

Reset root user password for Webmin

After updating my home server to the latest Ubuntu release (Natty / 11.04) I found almost everything worked properly apart from the the MDADM Raid 1 and Webmin refused to let me login. After some investigation, I found that my normal user was deleted. I reset the password via SSH using an included script.

How to enable Google Analytics Site Speed in Drupal 7

In the new Beta version of Google Analytics an interesting new feature has been added that gives a report on the speed pages take to load for end users. By default, this feature is not enabled and all page loads are shown with a speed of zero. Enabling the new feature requires a change in the tracking code. 

Google provided a nice how to regarding the change required to setup Site Speed in their help documentation which explains the required change in the Google Analytics tracking code. If you're using the excellent Google Analytics module for Drupal 7 then you can enable the new Site Speed code very easily from the Drupal Admin interface.

Getting Ubuntu Unity to work in VirtualBox

I was disappointed after installing Ubuntu Desktop 11.04 (Natty) because the new Unity interface didn't load when booting the fresh install in VirtualBox. On first logging in Ubuntu raised a notification that my hardware was not compatible with Unity. Reading a few Ubuntu forums it seemed like a common problem and there were quite a few different solutions being thrown around.

After a couple of tries, here are the steps that worked for me:  

iTunes failing to backup iPhone before iOS upgrade

When trying to upgrade to the latest iOS version (4.3.3) today I hit a rather annoying problem - itunes couldn't backup my iPhone and consequently wouldn't go ahead and run the upgrade.

I got a warning when connecting the iPhone via USB saying "iTunes was unable to load data class information from Sync Services. Reconnect or try again". But after dismissing the notification everything seemed to be working fine including syncing content to and from iTunes. However when trying to kick off the iOS upgrade it failed and advised to reconnect the iPhone. I did the reconnect, but the same happened. I rebooted both iPhone and MacBook but still the same problem.