Forums

LeagueManager
League calculates results wrongly (3 posts)

  1. kumquat_s
    Member
    Posted 5 months ago #

    I'm having some trouble getting the league to show correctly. Specifically it doesn't seem to recognise draws.

    I imported both teams and matches succesfully and everything seems to be fine.

    Here is a screengrab of some matches: http://i.imgur.com/4KaoK.png (Notice there are some draws)

    Here is a screengrad of the table it has then calculated: http://i.imgur.com/Z8QLj.png

    There seems to be a few issues. Firstly, it doesn't seem to recognise draws, secondly the goal count (both for and against) seems to be stuck on 4. Thirdly no points have been calculated.

    I assumed there was something awry with the league preferences (screengrab here: http://i.imgur.com/scMlR.png). Any help would be greatly appreciated.

    http://wordpress.org/extend/plugins/leaguemanager/

  2. Guillermo Sabbatella
    Member
    Posted 4 months ago #

    you have a mistake defining the point rule. If it's soccer you should select "Three Point Rule" (that's 3 points for a win, 1 for a draw, 0 for a lost) in League Preferences.
    If you want another system, let me know how it would be anda I can help you.

  3. kumquat_s
    Member
    Posted 4 months ago #

    I thought it was that so changed it to the Three Point Rule but still it fails to calculate any draws.

    When I import matches I also get this error msg:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' away_points = NULL, winner_id = 574, loser_id = 561, custom = 'a:3:{s:8' at line 2]
    UPDATE wp_leaguemanager_matches SET home_points = , away_points = NULL, winner_id = 574, loser_id = 561, custom = 'a:3:{s:8:"halftime";a:2:{s:4:"plus";s:0:"";s:5:"minus";N;}s:8:"overtime";a:2:{s:4:"home";s:0:"";s:4:"away";N;}s:7:"penalty";a:2:{s:4:"home";s:0:"";s:4:"away";N;}}' WHERE id = 4798

    The matches do get imported but there a couple of issues. It doesn't recognise my dates or times and as mentioned before doesn't acknowledge draws. Everything else seems to work.

Reply

You must log in to post.

About this Plugin

About this Topic