Closed BinaryFissionGames closed 6 years ago
Okay so where I'm at with this right now: set up database calls(they seem to be working), and working on using that to filter people out if they aren't registered for the current time. It is successfully blocking people from entry but it's blocking everyone right now with out writing out any error as to why they're getting blocked...
So, I changed how logging works a bit; Errors log in info.log for right now, because i think the [Error] tag is enough to differentiate messages.
There are errors printing to that file related to SQL. Might want to look into those errors?
yeah i restarted my computer and got those to show up too I'm wondering if it has something to do with the nested SQL statements? I tested the statements themselves and they seem to be working correctly.
It looked like it was maybe some small problem with passing the ID. I've changed it, and it doesn't seem to be throwing SQL errors anymore. I don't know if it works though, didn't test with a good timeslot.
Cool I can test that part. Thanks for taking a look at it
Did everything regarding the original issue done unless there's more to add with this
Sounds good, let's close this issue then.
Currently, any user can view the control panel, so long as there is a free arm. We want to change this so that users can only go on during their approved timeslot. In order to do this, the /ControlPanel.html route will have to be edited substantially. Essentially, though, these steps need to be taken (at a high level view).