On first visit to my forum the "Log in" button returns "error" in a small window.
If I click "Sign up" it turns yellow and the Registration agreement displays.
After that the "Log in" button works properly.
Did you get any entries in the error log after that?
Theme? Mods?