Erro with WHMCS templates

Hi I have whmcs set up with default portal template
http://whmcs.agilityweb.co.uk

I have a wordpress instance set up at http://client.agilityweb.co.uk/whmcs

however I get this message

"Sorry this doesn't look like a WHMCS site at [http://whmcs.agilityweb.co.uk/] Make sure your WHMCS Integration settings are pointing to the correct URL and that the WHMCS site is set for the Portal template in Setup | General."

It was working until I changed some edits in the portal theme, however remains like now een though I have repleced portal with the original files.

Can you think of any reasons for this?
Do we have to use an unedited version or portal?

Thanks