Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
562 views
in Q2A Core by

My q2a website got infected with some kind of malware.
i can see it when I log in>admin>moderate> and after a few seconds the page show some text with download notice (you can see it in this video).
i can see it also with a malware scan > https://sitecheck.sucuri.net/results/www.lamakama.co.il
Can you advise me what to do? how to get rid of this thing?
i have more problem which might be related to this. I can't write anything on the editor box for answering a question.
I can't tell when this happens first and I can't restore from the previous backup.
what do you think i should do?
Q2A version: 1.8.0

1 Answer

+1 vote
by

It is false detection of malware. fix for this will be available in next release.

https://github.com/q2a/question2answer/pull/607/files

You can fix now by doing below changes.

replace below function in qa-include/qa-theme-base.php file with this code.

    public function body_hidden()
    {
        $this->output('<div style="position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:0;width:0;margin:0;padding:0;border:0;">');
        $this->waiting_template();
        $this->output('</div>');
    }

or you can just download below zip and update q2a.

https://github.com/q2a/question2answer/archive/bugfix.zip

by
thank you for the answer.
did you see the video link i added?
is this fix supposed to fix this too?
by
yes, that is caused by ad running on your site. disable ads and check again.
...