Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
5.0k views
in Q2A Core by
hello, every one. I used to install q2a on my pc with xammp, and everything was ok. But when I install it on the server whitch has been running a php+mysql+apache website, I  got a problem.

When I answer a question or vote one, the browser will popup an alert "unexpected response from server - please try again or switch off javascript". Ask a question is ok.

I have searched for answers of the same problem, but no one works.

by the way, I don't get where is this alert comming from. I even delete the qa_ajax_error() function in

               \question2answer-latest\question2answer\qa-content\qa-page.js

but  this alert still appear.

Is this problem related with the previous website ? How can I solve this?
Q2A version: latest version
by
It seems like your other website may be intercepting the Q2A requests, but I really can't be sure without trying it myself from here.
by
Hi, I uninstalled the apache and use xampp, then everything goes ok! thank you all! But I still don't know the why. Maybe the config of apache.
by
I have been facing the same error notification. I have installed Q2A site along with WordPress. When I have disabled the Wordfence Firewall protection. Then error too disappeared. However, it may harmful to disable Wordfence firewall. So currently searching another viable option.

2 Answers

+1 vote
by
No sweat posting questions but I can hardly answer any. The alert keeps popping up.  I have tried some of the suggestion proferred here but its either I don't get it, or they are simply not working for me. I need help!
0 votes
by
reshown by

The alert keeps popping up.  I have tried some of the suggestion proferred here but its either I don't get it, or they are simply not working for me. I need help!

by
Did you check with different browser? Is it any browser specific issue? Or try to check by disabling plugin if you are using. Also check this answers give by Gideon..
http://www.question2answer.org/qa/13860/question-unexpected-response-server-please-switch-javascript
http://www.question2answer.org/qa/2636/unexpected-response-from-server-please-try-again
...