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

Version: 1.8.0


After updating the Q2A 1.8.0 files replacing the 1.7.5 ones, 

1) view counts are stuck at "1"

2) Upgrade database ends up with the following error

Fixes tried:

Rolling back to 1.7.5 & > below versions does fix the View count error, but it brings up other problems like -

1) Logging in problems - It simply doesnt let you log in (I have an old account which somehow logs in just fine)

2) SMTP Emails stop working - (Fatal error) 

One way or the other I'm facing issues. Any help will be much appreciated. 

Q2A version: 1.8.0

1 Answer

0 votes

count view considers ip_address. So, when you create 2 users on same ip address and view the question with both users. the count view will be still 1.

Find function function qa_db_increment_views($postid)

in a-include/db/hotness.php.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.