Shoal Summit Solutions › Forums › MSTW Bracket Builder Plug-in (FREE & PREMIUM) › Games not generating
Tagged: update games
- This topic has 14 replies, 4 voices, and was last updated 9 months, 1 week ago by ficarro.
-
AuthorPosts
-
July 8, 2017 at 5:51 am #4718
We create a new test tournament with 4 teams. We assigned them to the 1-4 seeds in the tournament. Saved everything… viewed the tournament. We get this on our page “No games found for tourney: test-tournament”
We go to the Update Games navigation link. The page has no games listed. We see our “Test Tournament” in the drop down. We click “Update Tournament Table” just to be on the safe side. Nope, no games. We then clicked “Update Games” thinking that might solve the problem. We are hit with a “No Games Updated” error.
So I watched your video on Vimeo and your games pages has all sorts of games listed but mine doesn’t…
July 8, 2017 at 1:30 pm #4719Hi Ryan,
Thanks for finding the forum and posting here.I’m sure you have double-checked that the tournament slug is “test-tournament” and that the games are in the “test-tournament”. That being the case, this is usually a symptom that your site is running an other version of PHP. Please check your version of PHP against the WordPress Requirements. (You need 7.0.)
Let me know how that works out.
-Mark
BTW, I do NOT recommend using the same tournament title more than once (ever) AND that when you delete a tournament, you also empty the trash. Otherwise it’s slug still exists. WP will handle duplicate slugs in a way that makes sense, but it often causes confusion by admins (me included) because they don’t remember that trashed posts and their slugs still exist in the WP DB.
July 10, 2017 at 3:20 pm #4721I am running:
PHP 7.1.6
Wordpress 4.8
BracketBuilder 1.1This is the first time I have used test-tournament as the slug. As a check, I also create test-tennis-tournament as the slug. Same problem of no games showing up. Slugs are all unique.
The tournaments from the free version are still in the trash. I haven’t deleted them permanently for two reasons. 1) There is no way to bulk delete. 2) Just in case I have to go back to the free version for functionality for our next tournament.
For the first test tournament, I didn’t have any teams to seed prior to creating the tournament. This time with the second test tournament, I published the tournament after I had added the teams to the seeds.
I started with manual scheduling method but no games appeared. I switched to “by seed” but not games are listed on the “Update Games” page.
I regenerated permalinks (more out of boredom than any hope it would do anything.)
No games are shown at all. Not sure what else to test except to start deactivating other plugins but I would prefer not to do that because I would need to setup a dev environment to do so.
Any other thoughts?
July 10, 2017 at 4:04 pm #4722Hummm, I just re-tested and I’m not see this at all. So either (a) it’s something really easy/dumb that I’m missing, or (b) your download is bad (probably my fault) … likely something in the environment that I’m not thinking of/accounting for.
At this point, I think it is unlikely that there’s a plugin conflict. Not saying there isn’t, but I don’t think we need to go there yet.
First, is your debug.log enabled? If not, WordPress debugging (just google it) has simple directions to modify your wp-config.php file and add the environment variables necessary to send all errors, notices, and warnings to the log. It’s not an error, or the site would stop. The notices & warnings may tell me what I need to know. Otherwise, I can send you some instrumented code that will help debug it. [You don’t need to send me a huge file, which you will likely have if you are using a lot of plugins, just delete the file, then load the update games, and send me what’s there.]
Thanks.
-MarkJuly 11, 2017 at 8:55 am #4726Ok, I have been troubleshooting it a bit. It is looking for a tournament that I created and deleted (removed it from the trash.) I had to recreate the tournament with the same slug. Once I do that, it allows all of the games to be viewed for all of the tournaments.
However, I tried updating the tournament and then deleting it (thinking that might solve the problem) but the problem just reoccurred. I had to recreate the same tournament with the same slug.
Then I created a new tournament with a new slug that has never been used before. Everything worked fine until I started adding scores. I don’t know how the IDs work for tournaments and games but when I saved the new tournament games (I enter some fake scores in a few of the games), scores from old games were updated into other fields. It looks like artifacts from the tournament we created using the free version.
I can’t delete the data that it inputted into those fields. If I remove the data or try to overwrite it, it puts the artifact data back in the field.
It appears the more fields I try to fix or enter, the more corrupted the game data becomes, adding more random data into more fields.
July 11, 2017 at 8:57 am #4727The only thing I found in the log file was this:
[11-Jul-2017 15:35:06 UTC] Error: can’t find tourney tennis-open-10u-boys-green-dot-singles^ That is the deleted tournament that I removed from the trash.
[11-Jul-2017 15:35:06 UTC] build_tourney_list: no tourneys found
^ That is what happens when I load the games page without recreating the slug for the tournament above.
July 11, 2017 at 10:08 am #4728First, thanks for your patience in helping me solve this. It will make the plugin better and therefore help all users. This info definitely helps. Here’s what I think are the next steps:
1. Reset you permalinks. Set them to anything. Save. Then reset them to post name. I think you’ve done that, but this is important. It’s worth a double check.
2. I think you are on track, something with the remnants of the free version is causing problems. I’ve got to check that out, but unless a light bulb goes on quickly, (I’m going to take a quick look at my test site DB) I think that either:
(a) I’m going to have to send you a script that cleans out ALL the data from the free version, and maybe the data from the premium version, just to make sure. Or,
(b) One of us will have to go into the WP database and clean out that data using PhPAdmin.
Option (a) is probably safer, but it will take me awhile to get to it. Option(b) is faster, but much more dangerous.
In either case, I would suggest that you deactivate and delete BOTH plugins. And, most importantly, create a good backup of your entire site – DB & files. I haven’t destroyed an installation yet, but I won’t lie to you, it is possible whenever one starts making changes in PhPAdmin.
-Mark
July 11, 2017 at 10:28 am #4729I have daily incremental backups and weekly full server backups. I am fine with either option. I don’t mind rooting through the database, I just need to know what I am looking for.
I’ll deactivate and delete the premium version, reset permalinks, and then re-install the premium plugin. I’ll post any changes in the problem.
Thanks
July 11, 2017 at 8:28 pm #4730Did the above steps with no luck.
July 12, 2017 at 9:58 am #4731Thanks. Yes, that’s not going to fix the issue. Deleting the plugin does not delete the database. (There are arguments for and against doing so.)
As a side question, did the free version work? Was all the previous data still there?
I will have to scrounge through the source code a bit, see where the overlaps are, then provide you instructions on what to delete. In the process, I may send you a patch with some instrumentation. Right now I’m leaning toward a problem with the custom taxonomies, but I don’t have photographic recall of all the code I’ve written. (Thank God!) It may make sense to Skype and share admin screens at some point if you are up for that.
Stay tuned. Appreciate your help on this.
-MarkJuly 26, 2017 at 10:22 pm #4771Haven’t had time to look for a simple way to clean up the DB. Haven’t forgotten you. Just don’t have an answer yet.
-Mark
July 26, 2017 at 10:24 pm #4772Haven’t had time to look for a simple way to clean up the DB. Haven’t forgotten you. Just don’t have an answer yet.
Would you have time to Skype, so we could share screens? Or would you consider giving me admin access?
-Mark
December 15, 2017 at 8:19 am #4901Hello,
What is the resolution to this issue? I am also having the same problem.December 15, 2017 at 7:05 pm #4902Okay, sorry for the (very) delayed response, but I have been looking into this. I tested on my dev box and with a customer for a ‘real’ tournament. You can see it here (if he didn’t move it)
http://summitcitysports.com/z-page/. There were no problems.Let’s go back to basics …
When you created the tournament, what did you enter on the Add Tournament screen? League? (Not necessary) # Teams? Scheduling Method? Elimination?
MOST IMPORTANTLY, did you enter teams in the Teams/Seeds metabox? If you did not, then the Update Games screen will show games with no teams entered. The plugin will default back to the free version, and you will have to enter the team names manually, and you will have to update Winners as games go final manually. There is no auto-update in this scenario. (If you are not using the Teams Database (which is shared with the MSTW League Manager plugin BTW), then you will not get the benefit of all the premium version’s features.) You can also create venues there and assign them as teams’ home venues if you choose, and use them in building the tournament as well.Sorry for any confusion. Let me know.
-Mark
April 16, 2024 at 4:28 pm #7278Mine isn’t auto populating either
Are you saying we have to select the teams in proper ranking order on the tournaments page to get it to populate the first round automatically? I hope not. But I’ve read through this thread and I can’t get it to work.
I was under the assumption that the premium plugin would automatically populate the first round brackets from the prior day game results.
Any clarification and help is appreciated.
-
AuthorPosts
- You must be logged in to reply to this topic.