Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
2.3k views
in Q2A Core by

i had an error 

A Question2Answer database query failed when generating this page.

A full description of the failure is available in the web server's error log file.

 

PHP Question2Answer MySQL query error 1146: Table 'ask.qa_options' doesn't exist - Query: (SELECT 'options' AS selectkey, title, content FROM qa_options) UNION ALL (SELECT 'time', 'db_time', UNIX_TIMESTAMP(NOW()))

and

PHP Question2Answer MySQL query error 1146: Table 'ask.qa_userbadges' doesn't exist - Query: SELECT badge_slug as slug, object_id AS oid FROM qa_userbadges WHERE user_id=1 and its for all my users

 

all pages of the users its not working please i need help check this for example

http://ask.unis-online.net/user/Administrator

Q2A version: 1.6.3
by
Was it working before or it never worked ?
Are you using a badge plugin ? If you disable it, do you still have the error ?
by
its was working but when i use a theme called dude its give me this error
by
That's a commercial theme, I think you should ask to the developer of that theme.
It could be just an issue with the install process of the theme.

1 Answer

0 votes
by
I think this problem will be fixed after you install the badge plugin . I think that is hardcoded in the code .

https://github.com/NoahY/q2a-badges  -- Get the badge plugin here .

 

This should fix issue . If still you have issues please contact the developer .

 

Thanks

--Edit -- Fixed typo
...