TheNAF / naflm

NAFLM - NAF League Manager
Other
35 stars 34 forks source link

Question about register #292

Open algomu opened 4 years ago

algomu commented 4 years ago

When I try to register a new user without login, Leagues are not displayed: image

When I try to modify a League with League Preferences Administration: image

And finally, I try to save changes: Oh Noes! The league administration module has failed the ptid!=stid check. Please alert your administrator!

I created a League and one division, Tournament will be created when coaches register. Can all be caused due that tournament wasn't created? I want to create a RR Tournament with schedule matches but, to do that we need that teams were created, if coaches, can't register, can't create teams.

I miss something? Can be related with #246?

Thanks for your help...

P.D.: Release in use, the last.

algomu commented 4 years ago

Although League Preferences Administration problem was solved when tournament was created. Register don't work yet. As the image I attached, no league is show to choose.

byrnesvictim commented 4 years ago

I created a League and one division, Tournament will be created when coaches register. Can all be caused due that tournament wasn't created?

Yes I get the same error. The League Preferences Administration page cannot accept changes if the Primary Tournament field is blank. (This is not intentional and we will need to look into why). Coaches are not required to be added to a tournament when it is created, only when selecting them to schedule matches.

Workaround; Create any tournament, this will allow in League Preferences Administration page it to be selected and OK field to work as planned.

byrnesvictim commented 4 years ago

Although League Preferences Administration problem was solved when tournament was created. Register don't work yet. As the image I attached, no league is show to choose.

I'm assuming during all this you may have deleted or created leagues trying to get this sorted out? If that is the case you will need to run the Admin - > OBBLM Core Panel tasks (4 in total). Alternatively check the troubleshoot.php and check the leagueID is the default one now? settings.php -> $settings['default_visitor_league'] = 1; (change 1 to whatever is default)

algomu commented 4 years ago

It was a new install, although may be I created or deleted but I can't remember so, I run all OBBLM Core Panel Tasks but doesn't work. With troubleshoot.php we can see that we have to leagues, and are numbered as 1 and 2.

byrnesvictim commented 4 years ago

Can you try change default league in settings.php I believe to 2. This is a fresh install right? Can you try delete the Database and reinstall from scratch?

On Mon, 24 Aug 2020 at 5:05 PM, algomu notifications@github.com wrote:

It was a new install, although may be I created or deleted so but I can't remember so, I run all OBBLM Core Panel Tasks but doesn't work. With troubleshoot.php we can see that we have to leagues, and are numbered as 1 and 2.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TheNAF/naflm/issues/292#issuecomment-679004984, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCIGNLZSZSI5NSNRBLWGATSCIUMHANCNFSM4P6QCCKA .

algomu commented 4 years ago

I tried to change default league to 2 and no league appears in the select input. About fresh install... it was until a few days ago :D just now we begun our league because this error didn't seems critical. We have 2 leagues, BBB with 22 coachs and Dreadnougth with about 60 coachs, I'm trying to avoid to create all users :D

I not protected page yet, you can see at www.bloodbowl.com.es, but probably in a few days a will protect with .htpasswd due we receive a lot of spam and url attacks.