amiyasahu / Donut

Modern and Responsive theme for Question2Answer ( Q2A ) websites
GNU General Public License v2.0
113 stars 55 forks source link

Donut theme breaks with site with single signon. #117

Open akashiisc opened 4 years ago

akashiisc commented 4 years ago

The Q2A website which uses a single sign-on, Donot theme doesn't work with it.

amiyasahu commented 4 years ago

Do you get any error on screen? or in the PHP error log?

akashiisc commented 4 years ago

Error on apache error log : PHP Question2Answer MySQL query error 1146: Table 'xyz_db.qa_users' doesn't exist - Query: SELECT qa_users.userid, passsalt, HEX(passcheck) AS passcheck, passhash, email, level, emailcode, handle, UNIX_TIMESTAMP(created) AS created, sessioncode, sessionsource, flags, UNIX_TIMESTAMP(loggedin) AS loggedin, loginip, UNIX_TIMESTAMP(written) AS written, writeip, BINARY avatarblobid AS avatarblobid, avatarwidth, avatarheight, points, wallposts FROM qa_users LEFT JOIN qa_userpoints ON qa_userpoints.userid=qa_users.userid WHERE qa_users.userid='11'

Error on Browser: 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.

If your site is configured with the single sign-on, there will not be a qa_users table.

counterpoint commented 3 years ago

Is there any hope of a solution for this? I have exactly the same problem with the Joomla sign on integration from https://github.com/SFWLtd/plg_q2a_integration. It works with the built in themes, but fails with Donut. Shame, because I really like Donut! Problem is database error, as reported above.

maegras commented 3 years ago

Same here