Just curious if there is going to be an update for the 2005 schedule. I loaded the 2003 that was in with the package. When i goto the Admin > Schedule and click on the "Download NFL Schedule" all the dates show 1969 year. not sure what is going on with that. Any info would be appreciated. If not I can just manually change the schedule to reflect 2005.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was wondering the same thing.
I get the currect schedule for the 2005 season but the games are dated for the year 1970?
will this change at the start oft he season or will there be a patch for this or do I need to edit something?
Thank you?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The date, as parsed by offl, is probably not a recognizable one. More than likely, nfl.com changed the html slightly on schedules page thereby breaking the offl parser. (I dunno the best way to fix the problem, but that is likely the cause.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to take a look at the code. I could not pin down the problem. It's a bit above my knowledge level. Is there anyone planning on taking a crack at fixing this in the next few weeks?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
NFL.com probably changed it's format. I don't know PHP but I ripped the schedule via perl and got it in the db. Leave a ftp or email and I'll send it.
webmaster.footballkb.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have applied the patch, datat is output to the browser just fine but nothing is stored in the DB? I'm not very good with PHP but from what I can tell there is no place for the DB insert...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The patch works okay for the most part. Week 17 of the NFL schedule is a little jacked up, as most of the games are listed as Jan 1 2005 instead of 2006, but most fantasy seasons are over by then anyway.
It displays the games as they are parsed, when you run the schedule import. The games are saved in the database as well. This is done in the code where you see the line: $thisGame->save();
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you want to fix the week 17 games, go into php myAdmin and run the following query on the nflgames table (after you've run the schedule import, of course):
SELECT * FROM `nflgames` WHERE `gametime` LIKE '%2005-01-01%'
edit all the resulting records at once, and change the gametime field from 2005-01-01... etc to 2006-01-01
That will get most of them. All except the Dallas-St Louis game, which you'll need to do separately.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you looked in the database to see if it is saving the changes? I imagine the data is there. I found that OFFL doesn't display the NFL schedule on your website until you've created your league's fantasy schedule structure. You don't have to actually enter all the matchups to get it to show up on the website, you just need to create the structure for your schedule in the admin area under "Schedule" (i.e. 13 weeks of regular season games followed by 3 weeks of playoffs)...
Brad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oddly enough, I looked at the schedule on my server from last year and this same problem started in Week 8. Even more odd, I don't remember noticing this or remember there being a problem...
I'm not sure what to tell you at this point. I'll probably be looking into this to figure out what's up.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I patched "games.php" in the main CVS using the jdiver patch. Thanks John!
I don't believe I have project permissions to update OFFL to 0.2.3 at this time. In the interim, you can replace "games.php" in your www directory with the fully patched version, available here:
I've tried the patched version of the games.php and I still can't get the schedule to populate. When I click yes to download the schedule it says 2005 Schedule, Week 1, Week 2, etc and not games end up in the database table. Thoughts??
Thanks for your help.
Jason.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you say that no games appear "in the database table", are you actually opening the database in MySQL or an equivalent to view the database file, or are you just looking for the imported games on the website?
If you're just looking for the newly imported games on the website, you must ALSO go into the "Admin" menu and add a new schedule for your fantasy teams. Once both schedules have been created, you'll see the real NFL games show up on the Schedule link.
Brad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just curious if there is going to be an update for the 2005 schedule. I loaded the 2003 that was in with the package. When i goto the Admin > Schedule and click on the "Download NFL Schedule" all the dates show 1969 year. not sure what is going on with that. Any info would be appreciated. If not I can just manually change the schedule to reflect 2005.
I was wondering the same thing.
I get the currect schedule for the 2005 season but the games are dated for the year 1970?
will this change at the start oft he season or will there be a patch for this or do I need to edit something?
Thank you?
The date, as parsed by offl, is probably not a recognizable one. More than likely, nfl.com changed the html slightly on schedules page thereby breaking the offl parser. (I dunno the best way to fix the problem, but that is likely the cause.)
I tried to take a look at the code. I could not pin down the problem. It's a bit above my knowledge level. Is there anyone planning on taking a crack at fixing this in the next few weeks?
NFL.com probably changed it's format. I don't know PHP but I ripped the schedule via perl and got it in the db. Leave a ftp or email and I'll send it.
webmaster.footballkb.com
moose_linville@hotmail.com
please send.
thank you.
There is a patch to fix the date issue on the sourceforge site. You can download it here - you'll need to cut and paste this into the correct file.
http://sourceforge.net/tracker/index.php?func=detail&aid=1185450&group_id=116526&atid=675117
big thanks to the guy who wrote the patch, some guy named jdiver
adam
I have applied the patch, datat is output to the browser just fine but nothing is stored in the DB? I'm not very good with PHP but from what I can tell there is no place for the DB insert...
The patch works okay for the most part. Week 17 of the NFL schedule is a little jacked up, as most of the games are listed as Jan 1 2005 instead of 2006, but most fantasy seasons are over by then anyway.
It displays the games as they are parsed, when you run the schedule import. The games are saved in the database as well. This is done in the code where you see the line: $thisGame->save();
If you want to fix the week 17 games, go into php myAdmin and run the following query on the nflgames table (after you've run the schedule import, of course):
SELECT * FROM `nflgames` WHERE `gametime` LIKE '%2005-01-01%'
edit all the resulting records at once, and change the gametime field from 2005-01-01... etc to 2006-01-01
That will get most of them. All except the Dallas-St Louis game, which you'll need to do separately.
where do you apply the patch?
which file needs editing?
http://sourceforge.net/tracker/index.php?func=detail&aid=1185450&group_id=116526&atid=675117
Open the file in Word, and it gives you instructions on where to cut/past the code.
I finally got it working but cant seem to get week 17 to save after editing in php myadmin.
Mooseman3527,
Have you looked in the database to see if it is saving the changes? I imagine the data is there. I found that OFFL doesn't display the NFL schedule on your website until you've created your league's fantasy schedule structure. You don't have to actually enter all the matchups to get it to show up on the website, you just need to create the structure for your schedule in the admin area under "Schedule" (i.e. 13 weeks of regular season games followed by 3 weeks of playoffs)...
Brad
I'm in the pacific time zone, and my server (debian) is also in the pacific time zone, and set as such, my game times are all wrong: like week one:
oak @ NE 11:00 PM, Sep 8, 2005
ten @ PIT 3:00 PM, Sep 11, 2005
tb @ MIN 3:00 PM, Sep 11, 2005
sea @ JAC 3:00 PM, Sep 11, 2005
nyj @ KC 3:00 PM, Sep 11, 2005
no @ CAR 3:00 PM, Sep 11, 2005
hou @ BUF 3:00 PM, Sep 11, 2005
den @ MIA 3:00 PM, Sep 11, 2005
cin @ CLE 3:00 PM, Sep 11, 2005
chi @ WAS 3:00 PM, Sep 11, 2005
stl @ SF 6:15 PM, Sep 11, 2005
gb @ DET 6:15 PM, Sep 11, 2005
dal @ SD 6:15 PM, Sep 11, 2005
ari @ NYG 6:15 PM, Sep 11, 2005
ind @ BAL 10:30 PM, Sep 11, 2005
phi @ ATL 11:00 PM, Sep 12, 2005
is this something I should worry about? Everything looks correct otherwise...
thanks!
Oddly enough, I looked at the schedule on my server from last year and this same problem started in Week 8. Even more odd, I don't remember noticing this or remember there being a problem...
I'm not sure what to tell you at this point. I'll probably be looking into this to figure out what's up.
I'm not overly worried about it - even less so if you don't think it will pose any issues
Schwie - you rock, by the way.
I patched "games.php" in the main CVS using the jdiver patch. Thanks John!
I don't believe I have project permissions to update OFFL to 0.2.3 at this time. In the interim, you can replace "games.php" in your www directory with the fully patched version, available here:
http://cvs.sourceforge.net/viewcvs.py/\*checkout*/offl/offl/www/games.php?rev=1.6
Brad
Schwie, I don't know if you saw it, but I posted a patch for parsing defense yards allowed which you may also want to include:
https://sourceforge.net/forum/forum.php?thread_id=1327057&forum_id=398382
mtvaill,
I had to tweak the code a little, but its working. I updated the CVS too. Thanks for submitting the patch.
Brad
Just out of curiosity, what did you have to tweak? It worked fine for me, but then I've made many modifications to my version of OFFL...
I copied the code from the link you sent to me.
In the first line I was getting parse errors, so I had to remove the semi-colon after:
NFL_";
Further down in the code, I believe I added some formatting to the last "echo" command before things would work...
Nice work! Many people have asked for this feature in the past, so hopefully it goes to good use...
Brad
Hi guys -
I've tried the patched version of the games.php and I still can't get the schedule to populate. When I click yes to download the schedule it says 2005 Schedule, Week 1, Week 2, etc and not games end up in the database table. Thoughts??
Thanks for your help.
Jason.
Jason,
When you say that no games appear "in the database table", are you actually opening the database in MySQL or an equivalent to view the database file, or are you just looking for the imported games on the website?
If you're just looking for the newly imported games on the website, you must ALSO go into the "Admin" menu and add a new schedule for your fantasy teams. Once both schedules have been created, you'll see the real NFL games show up on the Schedule link.
Brad
The database table in phpMyAdmin only shows entries from the 2003 season. There are 256 records in the nflgames table with no 2005 entries.