Menu

Player Import Fix

alexpsu88
2004-09-08
2013-04-16
  • alexpsu88

    alexpsu88 - 2004-09-08

    Try this it worked for the downloading ALL the NFL players.

    >Its really simple - I fixed it with in five minutes of downloading the script today.
    >
    >
    >Line 840 of players.php
    >old
    >list($beforetable, $tableandafter) = explode("<font class=\&quot;head2\&quot;>", $teamstring, 2);
    >
    >new
    >list($beforetable, $tableandafter) = explode("<div class=SLTables1>", $teamstring, 2);

    >
    >thats all it takes.
    >
    >Zach

    Good Luck.  Thank you ZACH!!!!

    Kevin

     
    • alexpsu88

      alexpsu88 - 2004-09-08

      OPPs

      Change also:

      Line 1003 of players.php
      old
      list($beforetable, $tableandafter) = explode("<font class=\&quot;head2\&quot;>", $teamstring, 2);

      new
      list($beforetable, $tableandafter) = explode("<div class=SLTables1>", $teamstring, 2);

       
    • Laberdere

      Laberdere - 2004-09-08

      I know nothing about SQL, but the friends I have who DO know something about it say there are no changes between the old and new.

      I'm admittedly ignorant- what am I missing (my friends too)???

       
    • alexpsu88

      alexpsu88 - 2004-09-08

      this was passed on to me, it works I believe by looking a changed syntax by the www.nfl.com programmers, view the page source at http://www.nfl.com/teams/rosters/BAL and search for <div class=SLTables1> this may explain it.

      Loading the tables in SQL hasn't changed.

      I also know little about SQL and PHP, just trying to help.

       
    • Brad Schwie

      Brad Schwie - 2006-08-13

      I believe this issue was patched back in OFFL version 0.1.7 and should no longer be an issue.

       

Log in to post a comment.