Hi Mark,
I guess you are using ReCaptcha and have an incorrect key entered under Administration Menu > Site Settings > Security > Anti Spam. The keys are host name specific so if you originally got a key for test.somedomain.com and later changed to use www.somedomain.com you would need to obtain a new key pair from the ReCaptcha site.
Hope it helps,
Joe