Thank you so much, it is working now. A beautiful app you built!
I looked in the apache error log and found an undefined json error, so learnt that I had to install the php5-json package. After an apache restart, it worked.
Many Thanks again for the swift reply.