• Resolved elmariachi09

    (@elmariachi09)


    Hi,
    I have problem with points calculation. When I add scores and hit save the points are saved but ranking still shows zeros.

    This is what I have when I update scores:
    https://imgur.com/a/JIaq4iY

    I wen to HELP page and added line to wp-config.php (and hit force calucation button).
    This is what I get now:
    https://i.imgur.com/pUMEVXL.png

    This is message I have in debug.log

    [15-Jun-2024 07:50:42 UTC] PHP Fatal error: Football Pool => default ranking with ID 1 is missing in the pool_zeck_rankings table in /home/ambimport/domains/typerek.com.pl/public_html/euro2024/wp-content/plugins/football-pool/admin/class-football-pool-admin-score-calculation.php on line 1090

    • This topic was modified 9 months, 1 week ago by elmariachi09.
    • This topic was modified 9 months, 1 week ago by elmariachi09.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AntoineH

    (@antoineh)

    you can fix this by executing the following query:

    INSERT INTO pool_zeck_rankings (id, name, user_defined, calculate) 
    VALUES (1, 'default ranking', 0, 1);
    Plugin Author AntoineH

    (@antoineh)

    “Forbidden” as an error message indicates a permission problem (403 status code). At first I would advice to check with your web host to check if this is caused by server config.

    Thread Starter elmariachi09

    (@elmariachi09)

    Your solution worked for me. Thank you @antoineh

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calculation Problem in Ranking’ is closed to new replies.