Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
1.4k views
in Q2A Core by
closed by
My site wont let my questions go through in moderation it keeps saying: Please click again to confirm.

Please help!
Q2A version: 1.6
closed with the note: Solved
by
It sounds like something is caused the CSRF protection not to work. Anything relevant in your server's error_log file? Any non-core plugins?
by
Arr yes you are right a user put some odd code into their question causing the error. I deleted this question from the php admin and now everything is back to normal. Thanks
by
That should not happen either. Can you tell me what the code was?
by
Shoot sorry I deleted it but it was some kind of google code for tracking marketing or something like that not too sure sorry.
by
edited by
In my case this behaviour was triggered through a missing line in my modified qa-theme function:
function q_view_main($q_view){....}

I had to change

if (isset($q_view['main_form_tags']))
                $this->output('</FORM>');

to

if (isset($q_view['main_form_tags'])) {
                $this->form_hidden_elements(@$q_view['buttons_form_hidden']);
                $this->output('</form>');
            }

Just for info...


EDIT

For all voting, buttons and favorite forms which one has in his custom qa-theme.php , the closing part needs to be reviewed, as in 1.6.1  these forms are closed differently like the example above, which is for buttons only
...