williamleonard / obblm

Automatically exported from code.google.com/p/obblm
1 stars 0 forks source link

checking coach access error #342

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When checking the access of a coach, I get the following:

Notice: Undefined offset: 2 in www/admin/admin_usr_man.php on line 256
Global

Original issue reported on code.google.com by funnyfin...@hotmail.com on 2 Feb 2010 at 7:48

GoogleCodeExporter commented 9 years ago
This is because you manually changed folks global rings before I wrote the 
proper
upgrade code. The upgrade query from upgrade.php makes sure that rings are set 
to
either of the to permitted ones: global admin or none global access.

Do this to correct you coach rings:

UPDATE coaches SET ring = 0 WHERE ring != 5;

Ie. sets all coaches to "no global access" except those already marked global 
admins.

Original comment by Nimda...@gmail.com on 2 Feb 2010 at 9:49

GoogleCodeExporter commented 9 years ago
Actually it looks like it is due to the registration code.  I think I am setting
everyone to 2.  All old coaches work properly.  I'll upload a fix shortly.

Original comment by funnyfin...@hotmail.com on 3 Feb 2010 at 2:45

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r572.

Original comment by funnyfin...@hotmail.com on 3 Feb 2010 at 2:55

GoogleCodeExporter commented 9 years ago
Important bug catch!

Original comment by Nimda...@gmail.com on 3 Feb 2010 at 11:23