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

Hi There I was unable to find an answer to this question so:

Having installed Q2A I have an error log containing the following within my root directory:

Question2Answer MySQL query error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Q'&-_~0%\\@^*()=!()][`\';:|\".{},?50 π§½Жש' LIMIT 1) AND type=$ ORDER BY ' at line 1

I'm not so good with SQL debugging

Also the editor isn't loading in any version of FireFox!.

1 Answer

+1 vote
by
 
Best answer
That will be due to the URL test in the admin panel (where it shows OK for URL schemes that work) - don't worry about it.
by
Thank you for your answer gidgreen, do you know which bit of script I would have to @$script to suppress the errors on for that ?
by
This error log entry is explicitly created by the following line in qa-db.php:

@error_log('Question2Answer MySQL '.$type.' error '.$errno.': '.$error);

So you could choose to comment that out.
by
Thank you gidgreen :D
I commented out that line, the accumulating error log was starting to slow down my page load times.
...