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

I applied one theme and a Database error occurred.

+1 vote
141 views
asked Jul 3, 2016 in Q2A Core by CusatXpress

I tried to upload the DUDE theme by Rahul Aryan in my q2a website https://forum.cusatxpress.com and

  1.  it asked for Database Intiliz. 
  2. I clicked start Database Intiliz. and a database error occured Database intiliz failed see error log. message shown and there was no way to access my website. 

    [02-Jul-2016 07:17:16 Etc/GMT] PHP Question2Answer MySQL query error 1146: Table 'cusatrhk_forum.qa_builder' doesn't exist - Query: INSERT INTO `qa_builder` (`name`, `content`) VALUES('home', '<div style="display: block;" class="ra-row parent ui-draggable"> <div class="config"> <button class="tools remove btn btn-default btn-xs btn-danger"><i class="icon-trashcan icon-white"></i></button><span style="display: inline-block;" class="tools drag btn btn-default ..........
    trashcan"></i></button><span class="tools drag btn btn-default btn-xs"><i class="icon-move"></i></span><button class="tools param btn btn-default btn-xs btn-danger"><i class="icon-wrench"></i></button><div style="display: none;" class="param-field"> <div class="param-wrap"> <input name="limit" placeholder="Limit" type="text"> <button class="btn btn-small icon-checkmark"></button> </div> </div> </div> <div data-type="ra_widget" data-name="Ra Answers List" data-limit="5" class="item-content widget-c">[ra_widget name="Ra Answers List" limit="5"]</div> </div></div></div></div></div> </div> </div>');

    Quite long error

     
  3. Then i went to theme folder via FTP and renamed the Dude theme folder and the site was accessible.
  4. Now i have snowflat theme.when someone clicks to upvote it says Database error occured.
  5. Please Guide me to remove the error. If possible how can i switch to DUDE theme : the installation folder is here https://github.com/rahularyan/dude-theme
Thanks for the replies.
Q2A version: 1.7.0
commented Jul 9, 2016 by Cusatxpress
Please help me now i am getting database error even on Classic theme.
When upvoted

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.
commented Jul 10, 2016 by arjunsuresh
Any error report after restoring the theme? I do not think you can use that theme in latest Q2A - but I'm not sure.

Please log in or register to answer this question.

...