Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

solve error database please the website do not open the user profile

0 votes
693 views
asked Sep 7, 2014 in Q2A Core by mhamadvc

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
commented Sep 7, 2014 by maxjtechno
Was it working before or it never worked ?
Are you using a badge plugin ? If you disable it, do you still have the error ?
commented Sep 7, 2014 by mhamadvc
its was working but when i use a theme called dude its give me this error
commented Sep 7, 2014 by maxjtechno
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
answered Sep 11, 2014 by Ami
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
...