• Hi IM using 2.7 and version 2.5.2 of the leaguemanager plugin. I had used the latest one but nothing would display correctly with this version so i referred to the older one. I have got my tables displaying ok but no matches will show up. they are listed on the database ok but dont appear on the admin panel or on the posts when i use the necessary tags. When i used the new version, i had added league tables etc but when i used the tags my posts wouldnt finish displaying on the main page, they just froze when loading as if a php error had occured.

Viewing 15 replies - 16 through 30 (of 47 total)
  • Thread Starter aidanmcg33

    (@aidanmcg33)

    No, still doesnt work. I dont mean to knock you but what sort of testing are you carrying out on this plugin? I know it’s a lot of work trying to maintain these things and id love to offer my services but im flat out at the minute myself, but there does seem to be more testing needed.

    I have a problem with 2.6.4

    Fatal error: No parent class available in /home/sites/LOCALHOST/public_html/wp-content/plugins/leaguemanager/view/standings.php on line 51

    I also had to edit the database,I think I’m also missing the plain old
    wp_leaguemanager table

    All I have is
    wp_leaguemanager_leagues
    wp_leaguemanager_matches
    wp_leaguemanager_teams

    Also where would you set the new sports up, i.e snooker,pool etc

    Thanks in advance

    Updated to 2.6.4 and in the admin program I have these errors:

    WordPress database error: [Unknown column ‘points_plus’ in ‘field list’]
    SELECT title, short_title, logo, home, points_plus, points_minus, points2_plus, points2_minus, done_matches, won_matches, draw_matches, lost_matches, league_id, id FROM wp_leaguemanager_teams WHERE league_id = “1” ORDER BY id ASC

    WordPress database error: [Unknown column ‘post_id’ in ‘field list’]
    SELECT home_team, away_team, DATE_FORMAT(date, ‘%Y-%m-%d %H:%i’) AS date, DATE_FORMAT(date, ‘%e’) AS day, DATE_FORMAT(date, ‘%c’) AS month, DATE_FORMAT(date, ‘%Y’) AS year, DATE_FORMAT(date, ‘%H’) AS hour, DATE_FORMAT(date, ‘%i’) AS minutes, match_day, location, league_id, home_apparatus_points, away_apparatus_points, home_points, away_points, winner_id, post_id, id FROM wp_leaguemanager_matches WHERE league_id = “1” ORDER BY date ASC

    Hopefully this helps. Also, if you can provide the table structures I can compare and see if there are any other differences.

    I don’t understand this. OK, it’s all about the database that the columns are for some reasons not created. I have tested 2.6.5! If you update and reload the page there should come a message that your database is out-of-date and needs updating. After doing the upgrade there should be the following fields (among others):

    points_plus, points_minus, points2_plus, points2_minus, done_matches, won_matches, draw_matches, lost_matches

    All int( 11 ). For me it worked perfectly fine, so i really hope I got it right now.

    Updated to 2.6.5 and works perfectly !!!!
    Thanks ??

    I’m really happy to hear that 2.6.5 works now. ?? I was so confused…

    I forgot to mention something. The team points etc are now stored in the database (previously were calculated on the fly). This made it possible to implement a function to manually save the team standings. Just update the match results once and it should be fine.

    I upgraded to 2.6.5 and still have the same error. I do not see any message about upgrading my database. How do I get that message to show? What I’m doing is going to the wp-admin -> league -> choosing league 1 and then I see the error.

    the upgrade screen should be shown if you visit any leaguemanager admin site… Could you put the following code into functions.php of your theme and post the output:

    echo $options[‘dbversion’].”, “.LEAGUEMANAGER_DBVERSION

    What WordPress and PHP version do you have?

    before that do:

    <?php $options = get_option(‘leaguemanager’); ?>

    Thread Starter aidanmcg33

    (@aidanmcg33)

    the front end is still not working for me. ive put in them 2 lines also that you listed before and i get 2.6.5 and 2.6.5
    Ive updated to the latest version of the plugin and wordpress and have php5.

    Thread Starter aidanmcg33

    (@aidanmcg33)

    Just completely removed the plugin and added it again and now the front end shows but the league tables dont. i just get plain text [leaguestandings=1] etc

    Looking in my wp_options they are 2.6.5 and 2.6.5. I tried deactivate the plugin, remove it, manually edit wp_options to be 2.6.4 and 2.6.4 and then installed 2.6.4, then upgrade to 2.6.5 and the database was still missing the new columns. wp_options become 2.6.5 and 2.6.5 after the upgrade.

    @yukataninja: looking in the wp_options table doesn’t help, because these two numbers are the leaguemanager version and dbversion. The first is the plugin version whereas the second checks if there are any changes to the database (and should then display an upgrade screen on a leaguemanager admin page).

    You can do the following. In admin/admin.php look for function display(). Change

    if( $options[‘dbversion’] != ‘2.6.5’ ) {

    into

    if( $options[‘dbversion’] != ‘2.6’ ) {

    Then go to the leaguemanager admin page or reload the page if you are already there. There should be an upgrade page displayed, telling you that your database is out-of-date. Do the upgrade.

    @aidanmcg33: use

    [leaguestandings league_id=x mode=extend|compact]

    where x is the league ID you want to display. mode is either extend or compact

    if the change of the if-clause does not work, you can simply comment it out:

    //if( $options[‘dbversion’] != ‘2.6.5’ ) {
    include_once ( dirname (__FILE__) . ‘/upgrade.php’ );
    leaguemanager_upgrade_page();
    return;
    //}

    Then reload a LeagueManager Admin page. This should definetely work and the upgrade screen should be shown. Afterwards remove the comments or delete this whole part.

Viewing 15 replies - 16 through 30 (of 47 total)
  • The topic ‘[Plugin: LeagueManager] No Fixtures Showing’ is closed to new replies.