Auto Update not working
Auto Update not working
I tried to use the score auto update last night and it did not work. any ideas?
- raider_nation
- Posts: 34
- Joined: Mon Aug 26, 2013 8:10 pm
Re: Auto Update not working
You beat me to it. See my post.
Re: Auto Update not working
Auto Update also does not work if there are any games in progress. The code just hangs. I think that this not a bug but a feature to ensure that only complete games are updated.
Re: Auto Update not working
This is how it was last year as well, it wouldn't update until all games for a given day were completed.
I don't know enough about the code to try and fix it or point it toward a different site, I am just not that good with code to update it.
I was hoping someone would have found a work around for this, but still doesn't appear that there is one.
I know there are other sites out there that have scores on them, but again I just don't know how to alter the code so I don't screw it all up.
Phil
I don't know enough about the code to try and fix it or point it toward a different site, I am just not that good with code to update it.
I was hoping someone would have found a work around for this, but still doesn't appear that there is one.
I know there are other sites out there that have scores on them, but again I just don't know how to alter the code so I don't screw it all up.
Phil
Re: Auto Update not working
OK, had a friend (Doug K from Turbo Tourney) help me fix this issue, and I now have it working, here is the fix:
Find the updateScores.asp file in your root directory
Find:
Replace with:
Again a huge thanks to Doug for helping fix this issue!!
Here was his explanation:
The problem is with in-progress games this value is null and so the comparison to the "final" is failing (not being handled by error handling). This will cause the code to skip the game if the value is null.
Phil
Find the updateScores.asp file in your root directory
Find:
Code: Select all
if (s.toLowerCase() == "final") {
Code: Select all
if ((s != null) && (s.toLowerCase() == "final")) {
Here was his explanation:
The problem is with in-progress games this value is null and so the comparison to the "final" is failing (not being handled by error handling). This will cause the code to skip the game if the value is null.
Phil
Re: Auto Update not working
Works like a champ. Thanks for the update.
-
- Posts: 7
- Joined: Thu Sep 05, 2013 9:37 am
Re: Auto Update not working
WOW! Thankyou for this fix! For 7 years now I have been updating these manually, never could get that auto-update to work. Woohoo! Whats your paypal? Id like to donate a few bucks as a thanks!
Re: Auto Update not working
Honestly I am just as thankful to have it fixed. Just spread the word to use this board for support on the program so we can get as much knowledge on here as possible.
And all the thanks goes to my friend, Doug, if you need basketball software check out his site ([click]www.turbotourney.com[/click]).
Phil
And all the thanks goes to my friend, Doug, if you need basketball software check out his site ([click]www.turbotourney.com[/click]).
Phil
Re: Auto Update not working
One of the other things was that 2012 was still in my updatescores.asp, so I had to update that as well. Great work!
Anyone ever figured out how to get spreads to update like the scores??
Anyone ever figured out how to get spreads to update like the scores??
Re: Auto Update not working
There was another thread about the 2012 issue, and Mike had actually updated that and posted it on his site as well.
I don't use spreads so I never look at that to be honest.
Phil
I don't use spreads so I never look at that to be honest.
Phil
Re: Auto Update not working
One other benefit is now that if you leave it on the scoring page and have the "Auto-Update" checked it will updates games on an interval and you don't even have to monitor it!!
-
- Posts: 15
- Joined: Wed Aug 28, 2013 9:19 am
Re: Auto Update not working
YES!!!!! Thanks for getting this working!!!!
-
- Posts: 9
- Joined: Fri Oct 30, 2015 11:08 pm
Re: Auto Update not working
checked it will updates games on an interval and you don't even have to monitor it!!
สล็อตออนไลน์
สล็อตออนไลน์
Re: Auto Update not working
Thanks for posting, that has been known since it was working. If you notice that post was from over 2 years ago.
Glad you found it for you, but just to be clear this isn't a new feature is all.
Phil
Glad you found it for you, but just to be clear this isn't a new feature is all.
Phil
Re: Auto Update not working
Interesting... I can never get this to work automatically. My browser always times out.
My set up is a Windows Server 2012 R2 machine always on (media server, etc) that I log in as the admin. Then I go to update scores and check the box. The first scores update no problem but then I can't get it to update again automatically due to logging itself out (timeout). Is it possible to set the timeout differently so it doesn't on this one IP? I don't all users to have infinite timeout as thats a security problem...
My set up is a Windows Server 2012 R2 machine always on (media server, etc) that I log in as the admin. Then I go to update scores and check the box. The first scores update no problem but then I can't get it to update again automatically due to logging itself out (timeout). Is it possible to set the timeout differently so it doesn't on this one IP? I don't all users to have infinite timeout as thats a security problem...
Re: Auto Update not working
I have not had that problem, but I really don't have any idea if it can be done or not. Is there a setting in the main config file for timeouts? I don't recall off hand.
- Stutgrtguy
- Posts: 167
- Joined: Sun Oct 20, 2013 3:54 pm
- Location: Colorado
Re: Auto Update not working
I remember finding the script somewhere where you could change the time between "auto update" to say 5 mins to 10 mins. But ive never had a problem timing out, I can let the script run 4-5 hours and it still pulls the correct info. Havent had it time out...server error?
Re: Auto Update not working
I have it running from Thursday through Monday and it never times out on me.
Re: Auto Update not working
Hmmm- happened again this week. I open a browser on the machine (Chrome) and log in as the admin. Check the auto-update box and it'll load the first time but thats it. Then I refresh the page and it makes me log back in as the admin.
Oh well, seasons over so time to make the tweaks for next year (who am I kidding... I'll wait till the 11th hour before week 1 and not test them before putting into production).
Oh well, seasons over so time to make the tweaks for next year (who am I kidding... I'll wait till the 11th hour before week 1 and not test them before putting into production).
Re: Auto Update not working
Do you refresh each time? If you do that could be the problem, you need to just leave it alone after you check it.
Do you have any other altered code that you've done? If so maybe that is causing a problem.
Do you have any other altered code that you've done? If so maybe that is causing a problem.