Support » Plugins » [Plugin: LeagueManager] No teams during match create

  • Resolved aidanmcg33

    (@aidanmcg33)


    Im trying to set up matches but no teams appear in the drop downs. I have created teams already and these are listed in the database table.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Dasselbe Problem bei mir. Eine neue Liga lässt sich anlegen, aber die eingetragenen Teams tauchen einfach nicht in der Tabelle auf. In der Ligenübersicht steht zwar die Anzahl der Teams die man angemeldet hat, aber sonst sind keine Einträge zu sehen. Natürlich kann man dann auch keine Wettkämpfe starten.

    Thread Starter aidanmcg33

    (@aidanmcg33)

    Can you translate that to english?

    Thread Starter aidanmcg33

    (@aidanmcg33)

    Ah i got it ok. Yea but ive no idea how to fix it.

    I have the same problem, but with WordPress 2.7. Looking through phpMyAdmin, the teams are being entered into the database, but they do not appear on the show league page, nor on the add match page (although the correct number of teams is showing on the league manager page for that league).

    Additionally, the league settings are not being updated when I click save and remain at the default.

    Thread Starter aidanmcg33

    (@aidanmcg33)

    Add a field ‘logo’ to the database table for teams.

    Thread Starter aidanmcg33

    (@aidanmcg33)

    also for the points option. i hard coded the points values in leaguemanager.php -> calculatepoints function.

    $points['plus'] = $num_win * 2 + $num_draw * 1 + $num_lost * 0;

    aidanmcg33, thank yo for your tips.
    Adding a field “logo” its possible to add the macth!

    Bul you can explain a few how set the point system. The preferences page dont save the settings

    This code secuence is correct?

    $points[‘plus’] = $num_win * 2 + $num_draw * 1 + $num_lost * 0;
    $points[‘plus’] = $num_win * $this->preferences->forwin + $num_draw * $this->preferences->fordraw + $num_lost * $league_settings->forloss;
    $points[‘minus’] = $num_draw * $this->preferences->fordraw + $num_lost * $this->preferences->forwin;
    return $points[$option];

    I’m sorry for the inconvenience. There was a bug that the database tables for leagues and teams were not correctly created. I just released 2.4.1 which fixes this bug. After deactivating and re-activating the plugin it sould work.

    It still doesn’t work for me. Can’t save settings, teams don’t appear on the table.

    Sorry to hear this. Did you de- and re-activate the plugin? Can you try to uninstall the plugin? Make sure the database tables are deleted. There still my be a bug in creating them since for me it works fine. Otherwise, if you are willing to grant me access to your database, via phpMyAdmin, I would check if everything was created correctly.
    If you want you can mail me access data to

    kolja [dot] schleich [at] googlemail [dot] com

    I deactivated the plugin, deleted the old database tables from 2.4 and activated 2.4.1 again. Now it works fine! Thanks for the update!

    OK, so there obviously is an error in the upgrade process. I’m glad it works now 🙂

    Same problem

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: LeagueManager] No teams during match create’ is closed to new replies.