Thanks for your suggestion. Unfortunately it hasn't made much difference. You can still log in and check.
I understand about losing the changes, but I have copied the theme and I am using the copy to make and test changes. However, this problem happens with the the un-modified theme which is the one in use at the moment.