Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vote count displayed is always zero #121

Open
dinapolis opened this issue Jul 12, 2024 · 4 comments
Open

Vote count displayed is always zero #121

dinapolis opened this issue Jul 12, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@dinapolis
Copy link

dinapolis commented Jul 12, 2024

Bug Report

Current Behavior
Vote count is always zero in the discussion list

Steps to Reproduce

  1. Open discussion list - all discussions, or any tag, sorting method doesn't matter. Refreshing doesn't make a difference - all posts show '0' regardless of the amount of votes.
  2. Click on any post: the amount of votes is displayed correctly
  3. Go back to the list (back button on browser or keyboard shortcut): the amount of votes for that post will now be the correct number.
  4. Refresh the discussion list page and all votes go back to zero again.
  • Webserver: apache
  • Hosting environment: shared
  • Browser: Chrome, Safari, both desktop and mobile latest versions
  • Flarum core: 1.8.5
  • PHP version: 8.2.16
  • MySQL version: 10.6.16-MariaDB
    Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, json, iconv, SPL, pcntl, random, readline, Reflection, session, standard, mbstring, shmop, SimpleXML, tokenizer, xml, i360, bcmath, dom, fileinfo, gd, gmp, igbinary, imagick, imap, intl, exif, PDO, mysqlnd, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, redis, soap, sockets, sodium, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader
+-----------------------------------+---------+--------+
| Flarum Extensions                 |         |        |
+-----------------------------------+---------+--------+
| ID                                | Version | Commit |
+-----------------------------------+---------+--------+
| flarum-tags                       | v1.8.0  |        |
| flarum-mentions                   | v1.8.3  |        |
| flarum-subscriptions              | v1.8.0  |        |
| flarum-suspend                    | v1.8.1  |        |
| fof-follow-tags                   | 1.2.3   |        |
| flarum-flags                      | v1.8.0  |        |
| v17development-seo                | v1.8.1  |        |
| litalino-title-content-length     | 1.0.0   |        |
| fof-user-bio                      | 1.4.0   |        |
| fof-sitemap                       | 2.2.1   |        |
| fof-mason                         | 1.2.1   |        |
| fof-ignore-users                  | 1.2.1   |        |
| fof-gamification                  | 1.6.7   |        |
| fof-best-answer                   | 1.4.4   |        |
| fof-anti-spam                     | 1.1.2   |        |
| flarum-sticky                     | v1.8.0  |        |
| flarum-statistics                 | v1.8.0  |        |
| flarum-markdown                   | v1.8.0  |        |
| flarum-lock                       | v1.8.0  |        |
| flarum-likes                      | v1.8.0  |        |
| flarum-lang-english               | v1.8.0  |        |
| flarum-extension-manager          | v1.0.2  |        |
| flarum-emoji                      | v1.8.0  |        |
| flarum-com-tags-under-discussion  | 1.0.0   |        |
| flarum-bbcode                     | v1.8.0  |        |
| datlechin-signup-button           | v0.1.1  |        |
| clarkwinkelmann-create-user-modal | 1.3.1   |        |
| blomstra-spam-prevention          | 1.6.0   |        |
+-----------------------------------+---------+--------+
@dinapolis dinapolis added the bug Something isn't working label Jul 12, 2024
@dinapolis
Copy link
Author

2024-07-18-flarum.log
attached storage/logs flarum log file

@luceos
Copy link
Contributor

luceos commented Jul 23, 2024

@dinapolis can you share a screenshot of your gamification settings. I tried to reproduce this and upon refreshing the index, my upvotes did correctly show on the index..

@dinapolis
Copy link
Author

settings-1 rankings permissions

@luceos
Copy link
Contributor

luceos commented Jul 24, 2024

I'm unable to reproduce this. Someone else should probably test this on their instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants